From: Stefan Bambach (bambach@triplex.de)
Date: Tue Aug 29 2000 - 12:04:12 EDT
Hi,
I wrote a basic libxml wrapper for python (very basic :-) ). I walk
through the DOM tree by myself (child = child->next) and read out the
content. I had access to the TAGs and the values, attributes, ... .
Now with libxml 2.2.2 the DOM tree's content is UTF8 encoded and can't
read out it as simple as it was before. I have to convert the values
to ISO-8859-1.
Is there a Funktion that is equivalent to some kind of ugly code like
printf ('%s', node->name) doing the encoding, too ?
Are there functions to read out the content (value) of a tag, the tag
itself and attribute names with there value ?
I don't want to write it to a file ! I don't want to write it to a
streaming buffer ! What about some functions like 'getName()',
'getAttributeName()', 'getAttributeValue()' or something ? Of course
with the right encoding.
Perhaps you can help me.
ciao. Stefan
---- Message from the list xml@xmlsoft.org Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@xmlsoft.org
This archive was generated by hypermail 2b29 : Tue Aug 29 2000 - 09:43:24 EDT