Re: [xml] xmlXpathEval and iso8859-1 encoding
- From: Daniel Veillard <veillard redhat com>
- To: Fco . Mario Barcala Rodríguez <barcala dc fi udc es>
- Cc: xml gnome org
- Subject: Re: [xml] xmlXpathEval and iso8859-1 encoding
- Date: Mon, 16 Sep 2002 05:31:28 -0400
On Mon, Sep 16, 2002 at 11:10:30AM +0200, Fco . Mario Barcala Rodríguez wrote:
I have some problems with xmlXpathEval about iso-8859-1 encoding:
1) As i have said, i work with iso-8859-1 encoding. How can i ask about an
attribute value with "special" characters? I mean, when i ask
tag1/tag2/tag3[ attribute='value'], it works well if there isn't characters
like á, é, etc, but with these characters it does return nothing.
the internal format is UTF8, it's the required encoding for all the
libxml APIs, XPath included. transcode your query in UTF8.
http://xmlsoft.org/encoding.html
2) If i use these characters in tag and attribute names, xmlXPathEval prints
"xmlXPathEval:evaluation failed", pointing to these characters as errors.
Same problem, same solution !
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]