|
Subject: RE: [xsl] id Function() Error. From: "Michael Kay" <mhk@xxxxxxxxx> Date: Thu, 24 Apr 2003 10:30:51 +0100 |
>
> 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.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
>
>
> 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] id Function() Error., Bhandari, Ashish | Thread | [xsl] xsd:import and namespaces, Peter Moore |
| RE: [xsl] Confounded by grand-paren, Michael Kay | Date | Re: [xsl] A Question **TO** XSLT Ne, Larry Garfield |
| Month |