[xml] printing the value of a namespace



Hi, I am parsing a document, like the following

<tag1 prop="test">
</tag1>

I have an xmlNodePtr pointed to the root, and I can
printf the value of prop using xmlGetProp, but
for the life of me I can't figure out how to extract
the name of the tag to an xmlChar *. e.g. I want
to get "tag1" into an xmlChar *. 

  











[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]