diff options
author | defanor <defanor@uberspace.net> | 2023-08-08 18:02:14 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2023-08-08 18:08:54 +0300 |
commit | 00445262469de2eac7908dfbd5318b67a4345a6e (patch) | |
tree | 80128fa7d454031c962cdbef97b0ad657a958ed4 /tools/xml-notes-sort.xsl | |
parent | b7d04fb5f51312beb433cc1f5e9d76b8a8195ab2 (diff) |
Set the priority for catch-all templates to -1
The default may be >= 0, see
<https://www.w3.org/TR/1999/REC-xslt-19991116#dt-default-priority>.
Diffstat (limited to 'tools/xml-notes-sort.xsl')
-rw-r--r-- | tools/xml-notes-sort.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xml-notes-sort.xsl b/tools/xml-notes-sort.xsl index 9d6ac70..9a274ee 100644 --- a/tools/xml-notes-sort.xsl +++ b/tools/xml-notes-sort.xsl @@ -23,7 +23,7 @@ </xsl:copy> </xsl:template> - <xsl:template match="node()" priority="0"> + <xsl:template match="node()" priority="-1"> <xsl:copy> <xsl:copy-of select="@*" /> <xsl:apply-templates /> |