Re: [xml] need correct string function
- From: Lucas Brasilino <brasilino recife pe gov br>
- To: aliban gmx net
- Cc: xml gnome org
- Subject: Re: [xml] need correct string function
- Date: Mon, 01 Mar 2004 07:33:38 -0300
hi.
Hi:
easy question:
what is the function to manage this:
("<"), ("<"));
(">"), (">"));
("&"), ("&"));
("'"), ("'"));
("""), ("\""));
Example:
string = FunctionX("please_convert_me_'_<_>_&_\"");
string2 = "<blah param='";
string2 += string;
string2 += "'/>";
Take a look at:
http://xmlsoft.org/html/libxml-entities.html
maybe:
http://xmlsoft.org/html/libxml-entities.html#xmlEncodeSpecialChars
--
[]'s
Lucas Brasilino
brasilino recife pe gov br
http://www.recife.pe.gov.br
Emprel - Empresa Municipal de Informatica (pt_BR)
Municipal Computing Enterprise (en_US)
Recife - Pernambuco - Brasil
Fone: +55-81-34167078
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]