Re: [xml] Retrieve all namespaces
- From: Martin Siggel <martinsiggel+xml gmail com>
- To: Piotr Sipika <piotr sipika gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] Retrieve all namespaces
- Date: Fri, 8 Jul 2016 00:14:36 +0200
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?
Best,
Martin
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.
[1]: http://xmlsoft.org/html/libxml-tree.html#xmlParserCtxt
Best,
Piotr _______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome org
https://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]