Re: [xml] encoding question



On Tue, Mar 25, 2003 at 08:29:40AM -0500, tonyl/pillarsoftware wrote:
Do the API calls : xmlNewTextChild and xmlNewProp Encode & < > as &amp;
&gt; &lt;?

What other characters need to be escaped out in XML?

  Nothing replace reading the spec !!!
  http://www.w3.org/TR/REC-xml#syntax

When do &amp; sequences get converted back to &, etc.?

  When parsed to the internal form.
  The inverse conversion from & to &amp; is done when the internal format
is saved back.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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