[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How to define a custom collation for Saxon8-8J
Hi, I defined a rudimentary German collation in a basicGerman.java file: String simpleRule ="a < C$ < A < C < b < c < d < e < f < g < h < i < j < k < l < m < n < o < p < q < r < s < t < u < v < w < x < y < z"; RuleBasedCollator basicGerman = new RuleBasedCollator (simpleRule); (Please note: It's far from perfect and doesn't cover everything needed for German) Then I wanted to use that collation for sorting in XSLT: <xsl:template match="myroot"> <myroot> <xsl:apply-templates> <xsl:sort select="stich" collation="file://D:/saxonsa8-8j/basicGerman"/> </xsl:apply-templates> </myroot> </xsl:template> When I execute that XSLT I get the following error: Error at xsl:sort on line 10 of file:/D:/saxonsa8-8j/sort.xsl: XTDE1035: Collation file://D:/saxonsa8-8j/basicGerman has not been defined Failed to compile stylesheet. 1 error detected. How is a collation "defined" for XSLT sorting? Many thanks in advance! Wolfgang
|
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
|