Altova Mailing List Archives
>comp.text.xml Archive Home
>Recent entries
[Thread Prev]
>Thread Next - Re: get namaspaces for element
get namaspaces for element
To: NULL
Date: 2/6/2004 1:04:00 AM
Hi,
I'm trying to figure out the xpath-expression for getting all relevant
namespaces of an element, but I don't wangle it.
When I have this document:
<A xmlns1>
<B xmlns2></B>
<C xmlns3>
<D>xxx</D>
<E></E>
</C>
</A>
...I need an expression which gives me the namespaces for <D>, that is
xmlns1 xmlns3
or even better, an expression which has the result
<D xmlns1 xmlns2>xxx</D><E></E>
BTW I'm not using xpath within xsl...I just need the plain expression.
Thanks.
Disclaimer
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

