Subject: Re: Using a variable as an Xpath expression
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 8 Feb 2000 11:06:50 GMT
|
> I am trying to do something quite similar:
> <xsl:apply-templates select="document($uri)$xpointer"
> , you can't do that.
You could do
<xsl:apply-templates select="document(concat($uri,'#',$xpointer))">
If your xsl engine understood URI references using using xpointer
fragments (but I don't think any do yet).
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|