diff options
author | TizenOpenSource <tizenopensrc@samsung.com> | 2024-02-15 11:02:19 +0900 |
---|---|---|
committer | TizenOpenSource <tizenopensrc@samsung.com> | 2024-02-15 11:02:19 +0900 |
commit | ce4b3717c547a8747a30be857a4f29b9dccbb9e2 (patch) | |
tree | a926d795f9867f696c0cbd5dfa585714c128f2a1 /docs | |
parent | 9f45becdcc247e15d9308c5adfc4335e2c3a2e6e (diff) | |
download | perl-XML-LibXML-ce4b3717c547a8747a30be857a4f29b9dccbb9e2.tar.gz perl-XML-LibXML-ce4b3717c547a8747a30be857a4f29b9dccbb9e2.tar.bz2 perl-XML-LibXML-ce4b3717c547a8747a30be857a4f29b9dccbb9e2.zip |
Imported Upstream version 2.0209upstream/2.0209upstream
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libxml.dbk | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/docs/libxml.dbk b/docs/libxml.dbk index c7a4208..371c5c0 100644 --- a/docs/libxml.dbk +++ b/docs/libxml.dbk @@ -22,7 +22,7 @@ </authorgroup> - <edition>2.0207</edition> + <edition>2.0209</edition> <copyright> <year>2001-2007</year> <holder>AxKit.com Ltd</holder> @@ -2598,7 +2598,9 @@ print {$out_fh} $doc->toString;</programlisting> </funcsynopsis> <para><emphasis>toStringHTML</emphasis> serialize the tree to a byte string in the document encoding as HTML. With this method indenting is automatic and managed by - libxml2 internally.</para> + libxml2 internally. Note the string must contain + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> (rather than the newer <meta charset="utf-8">), + else all non-ASCII will become entities.</para> </listitem> </varlistentry> @@ -3396,6 +3398,13 @@ my $dtd = $document->createInternalSubset( "foo", "-//FOO//DTD FOO 0.1// has changed in 1.62 in order to be consistent with the DOM spec (in older versions attributes and namespace information was not copied for elements).</para> + <para><emphasis>NOTE</emphasis>cloneNode creates + a copy of the selected node that includes the parent's + defined <emphasis>namespaces</emphasis> that are in + use by the node (or its children) being cloned. That + makes it useful for extracting a fragment of xml that + can be used as a valid xml document. + </para> </listitem> </varlistentry> |