- <xsl:apply-templates select="node()|@*" mode="hyphenate.verbatim"/>
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates mode="hyphenate.verbatim"/>
...because as was it caused xsltproc to raise a fatal "Attribute
nodes must be added before any child nodes to an element." (though
not saxon)
<xsl:template match="node()|@*" mode="hyphenate.verbatim">
<xsl:copy>
- <xsl:apply-templates select="node()|@*" mode="hyphenate.verbatim"/>
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates mode="hyphenate.verbatim"/>
</xsl:copy>
</xsl:template>