Re: [xml] Duplicate PI nodes issue

On Sun, Mar 09, 2008 at 09:09:23PM +1100, Alistair Leslie-Hughes wrote:
"Daniel Veillard" <veillard redhat com> wrote in message 
news:20080308104619 GB8438 redhat com   
On Fri, Mar 07, 2008 at 04:47:31PM -0800, Cory Nelson wrote:
An XML declaration might look like it, but the standard says it is not
a PI and that PIs cant be named "xml" (or any case variant of it).  So
I would say the only bug here is that xmlNewPI is not returning with
an error.


Thanks all your input.

Since its not a PI node, how do I change the encoding of the XML document.

  there is a doc->encoding string, but the best is to use the proper 
primitive, all xmlSave... from
take an encoding input.


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]