This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Using a variable as an Xpath expression



> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]