Possible to remove namespaces when parsing

65 views
Skip to first unread message

Billy Newman

unread,
Jan 20, 2015, 4:34:58 PM1/20/15
to libx...@googlegroups.com
Is there an option to remove all namespaces when parsing?

Marco Rogers

unread,
Jan 20, 2015, 8:30:56 PM1/20/15
to libx...@googlegroups.com
We're going to need more information. If you're having a problem, consider filing an issue on the github repo with details.

:Marco

On Tue Jan 20 2015 at 4:34:59 PM Billy Newman <newm...@gmail.com> wrote:
Is there an option to remove all namespaces when parsing?

--
You received this message because you are subscribed to the Google Groups "libxmljs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libxmljs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Billy Newman

unread,
Jan 20, 2015, 11:26:33 PM1/20/15
to libx...@googlegroups.com
I would like to parse a string into a DOM object.  Is there an option to parse without namespaces?  IE when using a java DocumentBuilderFactory you can set setNamespaceAware(false).  I could not find anything in the docs, but does not mean its not there.  Provided this is something that does not exist and should I can certainly file an issue on github.

Marco Rogers

unread,
Jan 20, 2015, 11:41:19 PM1/20/15
to libx...@googlegroups.com

I see. No this option is not available in our library. It's almost certainly supported by the underlying libxml2 though. If you want to open an issue on this, feel free. We may not get to it for a while though. If you want to get your hands dirty with some C/C++ and do a pull request, we would take a look.

Reply all
Reply to author
Forward
0 new messages