[rs-commit] r115 - /rs-manual/trunk/src/main/modules.xsl

rs-commit at redwax.eu rs-commit at redwax.eu
Sun Oct 27 13:43:01 CET 2019


Author: minfrin at redwax.eu
Date: Sun Oct 27 13:43:01 2019
New Revision: 115

Log:
Make sure that attributes are passed through the XSLT templates.

Modified:
    rs-manual/trunk/src/main/modules.xsl

Modified: rs-manual/trunk/src/main/modules.xsl
==============================================================================
--- rs-manual/trunk/src/main/modules.xsl	(original)
+++ rs-manual/trunk/src/main/modules.xsl	Sun Oct 27 13:43:01 2019
@@ -6,8 +6,9 @@
 
   <xsl:output method="html" omit-xml-declaration="no" indent="yes"/>
 
-  <xsl:template match="node()">
+  <xsl:template match="node()|@*">
     <xsl:copy>
+        <xsl:apply-templates select="@*" />
       <xsl:apply-templates/>
     </xsl:copy>
   </xsl:template>



More information about the rs-commit mailing list