diff options
Diffstat (limited to 'docs/libxml.dbk')
-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> |