diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-web-companion/ch7/any.xsl')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-web-companion/ch7/any.xsl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/ch7/any.xsl b/Master/texmf-dist/doc/latex/latex-web-companion/ch7/any.xsl new file mode 100644 index 00000000000..ecbb6461982 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/ch7/any.xsl @@ -0,0 +1,25 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"> +<xsl:template match="/"> + <xsl:text>(*root*)</xsl:text> + <xsl:apply-templates/> + <xsl:text>(/*root*)</xsl:text> +</xsl:template> +<xsl:template match="*" priority="-1"> + <xsl:text>(*)</xsl:text> + <xsl:apply-templates/> + <xsl:text>(/*)</xsl:text> +</xsl:template> +<xsl:template match="*[position()=1 and position()=last()]" priority="1"> + <xsl:text>($)</xsl:text> + <xsl:apply-templates/> + <xsl:text>(/$)</xsl:text> +</xsl:template> +</xsl:stylesheet> + + + + + + + |