On Thu, Dec 01, 2005 at 09:57:51AM +0100, Samuel Díaz García wrote:
> Any help about this topic?
> 
> Samuel Díaz García escribió:
> 
> >Sorry for this question, but I need to convert ISO string into its 
> >escaped version, replacing "&" with "&" and so on.
> >What are the APIs that allow me this step and the reverse step?
> >Thanks

  http://xmlsoft.org/html/index.html
   encoding: interface for the encoding conversion functions
   points to
  http://xmlsoft.org/html/libxml-encoding.html
    which contains
  http://xmlsoft.org/html/libxml-entities.html#xmlEncodeEntitiesReentrant
    Do a global encoding of a string, replacing the predefined entities and non 
ASCII values with their entities and CharRef counterparts. Contrary to 
xmlEncodeEntities, this routine is reentrant, and result must be deallocated.

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to