This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Using a variable as an Xpath expression
- To: xsl-list at mulberrytech dot com
- Subject: Re: Using a variable as an Xpath expression
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Tue, 8 Feb 2000 11:06:50 GMT
- References: <NDBBIOAAEKLBOLLINCCLAEFPCBAA.jarnose@evitech.fi>
- Reply-To: xsl-list at mulberrytech dot com
> 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