1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <xsl:stylesheet version=
"1.0" xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform">
4 <xsl:output method=
"xml" encoding=
"UTF-8" indent=
"no"/>
6 <xsl:template match=
"/">
7 <xsl:text disable-output-escaping=
"yes"><![CDATA[
8 <xsl:stylesheet version=
"1.0" xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
9 xmlns:
data=
"http://www.apertium.org">
10 <xsl:import href=
"principal.xsl"/>
14 <xsl:apply-templates select=
"//par[@prm]">
15 <!-- Show the sorted pairs of expansion -->
16 <xsl:sort select='./@n' data-type='text' order='descending'
/>
17 <xsl:sort select='./@prm' data-type='text' order='descending'
/>
18 </xsl:apply-templates>
20 <xsl:text disable-output-escaping=
"yes"><![CDATA[
22 <xsl:variable name=
"paradigms" select=
"document('')/*/data:paradigms/*"/>
30 <xsl:template match=
"par">
31 <xsl:text disable-output-escaping=
"yes"><![CDATA[
<paradigm name=
"]]></xsl:text>
32 <xsl:value-of select="@n
"/>
33 <xsl:text disable-output-escaping="yes
"><![CDATA[" prm=
"]]></xsl:text>
34 <xsl:value-of select="@prm
"/>
35 <xsl:text disable-output-escaping="yes
"><![CDATA["/>