When I use the id() function with the appropriate "id" value
; It gives me the following error:
ERROR: context does not have an owner document.
That looks buggy to me. Which XSLT processor? Try a different one.
Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com
Here is what the usage looks like.:
<xsl:transform>
<xsl:template match="MyRoot">
<xsl:apply-templates select="MyRootChild"/>
</xsl:template>
<xsl:template match="MyRoot/MyRootChild">
<xsl:value-of
select="id('id_of_AnotherMyRootChildNode')"/>
</xsl:template>
<xsl:transform>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list