OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quick XPath question: finding /a/b/c with a default namespace



[David Carlisle]

> If you really don't want to declare a namespace then
>
> /*[local-name(.)='a']/*[local-name(.)='b']/*[local-name(.)='c']
> will get you there.
>
Unless you were unlucky enough to have another namespace defined (with its
own prefix) that also had an "a", "b", or "c" element.

Cheers,

Tom P