|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Implementing simple XLinks using XSL
> <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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








