As far as I know there is
int xmlStrEqual(const xmlChar * str1,
const xmlChar * str2)
function in xmlstring module (and other xmlChar string handling functions). For example, you can convert xml-string to ordinar C-string then use atol to get integer value of attribute - and so on...
I don't use libxml now then can't present ready-to-use code. Look at libxml2 manual...
Reputation Points: 1234
Solved Threads: 347
Postaholic
Offline 2,001 posts
since Jul 2008