From: Don Pellegrino (don@mail.advok.com)
Date: Sun Oct 15 2000 - 15:13:57 EDT
I am using libXML with C++ and I have found that my code is very ugly
due to reinterpret_cast's all over the place. The problem seems to
be that xmlChar is an unsigned char and my c style strings are signed
char's. So for example, to use xmlGetProp my commands look like this:
xmlwidth = xmlGetProp(node,
reinterpret_cast<const unsigned char *>
("width"));
Is there a cleaner way to interact with xmlChar's without doing casts
for all of it's occurances?
Also, is there a way to read and write numerics in the tree with
libXML without using atoi and itoa?
---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 15:43:22 EDT