Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ssax-sxml to ignore namespaces

10 views
Skip to first unread message

Armando Blancas

unread,
May 21, 2012, 11:10:05 AM5/21/12
to
I'm using ssax-sxlm to parse Maven's pom.xml files. Some will have namespaces and the rest just a plain project tag. I'd like to get the sxml with the simple local names even when the namespaces are present but haven't figured out how to use ssax-sxml for doing that.

Alternatively, I defined two aliases, for ns and xsi, but can't get the sxpath function to recognize the aliases (I get "unknown namespace ns") using a string path like "//project/dependencies/*".
0 new messages