Re: [xml] Escape characters

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?
   encoding: interface for the encoding conversion functions
   points to
    which contains
    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 Veillard      | Red Hat
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]