...

> >     <one xmlns='asdf'><two three='four'></two></one>
> >
> >     //*[name()='one']/two/@three

...

> We went 'round and 'round on this, and I think we're correct.

...

So, in the case where I really am not sure what the namespace will be,
or if there will even be one, as the spec I am working from is in flux
with regard to the namespaces but not the elements, I have to do:

        //*[name()='one']//*[name()='two']/@three

??? ick, there must be a better way.  XPath-2 will allow *:name, won't
it?  When/if will that be a reality?  Of is there a better way now?
What about xquery things?  I have documents where dom navigation is
ugly, xpath is ugly, what else is there?

-Tom




_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to