[xml] xmlNodePtr properties missing xmlns:xxxx

I have an iXBRL document that I am parsing with LibXml2.  The problem I have
is that I register all the namespaces which are mostly held in the <html>
root node, no problem.  But, there are some namespace declarations in some
of the document nodes as attrbutes of that particular node.  When I get the
attributes of a particular node that has a namespace declaration and I read
the attributes thus:

   xmlAttrPtr pAttr = pCurNode->properties;

I then iterate through all the attributes, and they are all there apart from
the one named 'xmlns:xxxx="blahblahblah" .  Is there anyway I can locate
these namespace declarations, so that I can register them?

Any advice on this problem will be much appreciated.
View this message in context: 
Sent from the Gnome - Lib - Xml - General mailing list archive at Nabble.com.

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