You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Evgeniy Strokin <ev...@yahoo.com> on 2002/05/29 18:15:51 UTC

Is it possible to get XPath string from root to node?

Hi,
Is it possible to get XPath string from root to node?
For example:
I have XML:
<root>
<a/>
<b/>
</root>
And XSL:
<xsl:for-each select="/root">
<xsl:value-of select="getXPath(.)"/>
</xsl:for-each>
And I want a result like:
/root/a
/root/b

Thanks,
Jenya


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com