Re: [xml] Retrieve all namespaces

Thank you for the fast answer.

I am reading the xml file using xmlReadFile. How do I get access to
the parser context?

Or must I read the file using xmlCtxtReadFile instead?


2016-07-07 23:29 GMT+02:00 Piotr Sipika <piotr sipika gmail com>:

07.07.2016 5:12 PM "Martin Siggel" <martinsiggel+xml gmail com> napisaƂ(a):

Is there any function in libxml, to retrieve a list of all namespace
and prefixes used in the xml file?

Hey Martin,

See if the nsTab property of the xmlParserCtxt [1] is what you're after.


Piotr _______________________________________________
xml mailing list, project page
xml gnome org

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