[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
RE : -typo- XSLT key() - Saxon UnsupportedOperationExc
Subject: RE : -typo- XSLT key() - Saxon UnsupportedOperationException
From: Philippe Drix <pdrix@xxxxxxxxxxxx>
Date: Fri, 17 Jan 2003 16:03:35 +0100
|
Hi,
sorry again.
I have found a workaround.
Here it is :
<xsl:variable name="theFields">
<fields>
<xsl:for-each select="/">
<xsl:for-each select="
/office:document-content/office:body//text:bookmark-ref/@text:ref-name[
generate-id() =
generate-id(
key('groupesdeFieldsParNom', .)[1]
)
]">
<xsl:copy-of select="parent::*"/>
</xsl:for-each>
</xsl:for-each>
<xsl:for-each select="$styles"> ////// below the variable $styles
does not appear in the select expression, and its OK to compute the value
of key().
<xsl:for-each select="
/office:document-styles/office:master-styles/style:master-page//text:bookmark-ref/@text:ref-name[
generate-id() =
generate-id(
key('groupesdeFieldsParNom', .)[1]
)
]">
<xsl:copy-of select="parent::*"/>
</xsl:for-each>
</xsl:for-each>
</fields>
</xsl:variable>
Regards -- Ph D
==
Philippe Drix
___________
__| OBJECTIVA |___________________
http://www.objectiva.fr
21-23, rue Aristide Briand - 92170 Vanves
tel : +33 1 47 36 60 30
fax : +33 1 47 36 61 93
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
RSS 2.0 |
|
Atom 0.3 |
|
|