[xml] Getting properties of a tag without their names

Date view Thread view Subject view Author view

From: Thomas Poindessous (poinde_t@epita.fr)
Date: Sat Aug 26 2000 - 17:29:26 EDT


Hi,
I'm trying to build a C xml-parser. I'd like to get properties of a tag
without knowing their names. I have found a way but it's not really clean :
for example :
<Plug-ins name="Ping" />
for getting Ping, I do :
(node->name is Plug-ins)
        xmlNodeGetContent(node->properties->children));
and
        xmlNodeGetContent(node->properties->name));

Is there another way to do it ?

-- 
Thomas Poindessous
EpX asso GNU/Linux de l'Epita
epx@epita.fr && http://www.epita.fr/~epx
----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Aug 26 2000 - 15:43:17 EDT