Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
818 B

<!-- texi.xsl:
convert refsection elements into refsect elements that docbook2texi can
understand -->
<xsl:stylesheet xmlns:xsl=""
<xsl:output method="xml"
doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
doctype-system="" />
<xsl:template match="//refsection">
<xsl:variable name="element">refsect<xsl:value-of select="count(ancestor-or-self::refsection)" /></xsl:variable>
<xsl:element name="{$element}">
<xsl:apply-templates select="@*|node()" />
<!-- Copy all other nodes through. -->
<xsl:template match="node()|@*">
<xsl:apply-templates select="@*|node()" />