Jesus M. Salvo Jr. wrote:
Jeff Greif wrote:
That's what I explained in my previous mail. MyPrefixResolver gets a map
that looks like this {"__mm7__" -> "namespace1",
"__ns8__" ->"othernamespace", ...}. You write your xpath using
/__mm7__:foo/__mm7__:bar without any regard for what prefixes are used in
the document. The resolver resolves prefix __mm7__ to namespace1, which
will match to corresponding nodes from namespace1 in the document,
regardless of what prefix is used in the document.
OK ... I misunderstood ....That's the part that I missed. I have to try this to believe it.
Maybe somebody needs to setup an FAQ on how to do this ... because I would probably not be the last one to ask this question.
It actually works! Thanks.
