xref: /aosp_15_r20/external/apache-xml/test/tests/accept/collation/collation01.xsl (revision 1212f9a0ffdc28482b8821715d2222bf16dc14e2)
1<?xml version="1.0"?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
4  <!-- CaseName: collation01 -->
5  <!-- Author: David Marston -->
6  <!-- Purpose: Test of greek-numeral "traditional" sequence. -->
7  <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[2]/item[3]/p[1]/text()[6]" -->
8  <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[1]/item[3]/p[1]/text()[1]" -->
9  <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(convert)/ulist[1]/item[6]/p[1]/text()[1]" -->
10  <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(convert)/p[5]/text()[6]" -->
11  <!-- Scenario: operation="standard-HTML" -->
12  <!-- Discretionary: number-greek-trad="true" -->
13
14<xsl:output method="html" encoding="ISO-8859-1" indent="no"/>
15
16<xsl:template match="doc">
17  <out>
18    <xsl:apply-templates/>
19  </out>
20</xsl:template>
21
22<xsl:template match="note">
23  <xsl:number level="any" from="chapter" format="&#x03b1;" letter-value="traditional"/>
24  <xsl:apply-templates/>
25</xsl:template>
26
27
28  <!--
29   * Licensed to the Apache Software Foundation (ASF) under one
30   * or more contributor license agreements. See the NOTICE file
31   * distributed with this work for additional information
32   * regarding copyright ownership. The ASF licenses this file
33   * to you under the Apache License, Version 2.0 (the  "License");
34   * you may not use this file except in compliance with the License.
35   * You may obtain a copy of the License at
36   *
37   *     http://www.apache.org/licenses/LICENSE-2.0
38   *
39   * Unless required by applicable law or agreed to in writing, software
40   * distributed under the License is distributed on an "AS IS" BASIS,
41   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42   * See the License for the specific language governing permissions and
43   * limitations under the License.
44  -->
45
46</xsl:stylesheet>
47