Re: [xml] Escape characters
- From: Samuel Díaz García <samueldg arcoscom com>
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] Escape characters
- Date: Fri, 02 Dec 2005 21:26:51 +0100
Thks Daniel.
An aditional questions about:
Why "Reentrant"?
Why need I to put a document? I can use a NULL xmlDocPtr?
Because could be called from many threads at the same time?
Daniel Veillard escribió:
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
--
Samuel Díaz García
Director Gerente
ArcosCom Wireless, S.L.L.
CIF: B11828068
c/ Romero Gago, 19
Arcos de la Frontera
11630 - Cadiz
http://www.arcoscom.com
mailto:samueldg arcoscom com
msn: samueldg arcoscom com
Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax: 956 70 34 83
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]