| Subject: RE: [xsl] Implementing simple XLinks using XSL From: Kay Michael <Michael.Kay@xxxxxxx> Date: Tue, 19 Dec 2000 09:50:44 -0000 | 
> <xsl:copy-of select="document(substring-before(@xlink:href, > '#'))//id(substring-after(@xlink:href, '#')) /> You cant use a function call (id()) on the rhs of the "//" operator: the only thing allowed here is a step. You have to split this up: <xsl:variable name="xlink" select="."/> <xsl:for-each select="document(substring-before(@xlink:href, '#'))"> <xsl:copy-of select="id(substring-after($xlink/@xlink:href, '#'))"/> </xsl:for-each> Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] Implementing simple XLink, Eric van der Vlist | Thread | RE: [xsl] Implementing simple XLink, Adam Van Den Hoven | 
| RE: [xsl] creating XML hierarchy wh, Kay Michael | Date | RE: [xsl] Difficulty with an msxsl:, Kay Michael | 
| Month |