Commits

Anonymous committed aaca815

XSLT refactoring: convert more to <xsl:copy-of / >.

  • Participants
  • Parent commits 58a0ab2

Comments (0)

Files changed (1)

perl/modules/XML-Grammar-Fiction/extradata/fiction-xml-to-docbook.xslt

 
 <xsl:template match="fic:section">
     <section>
-        <xsl:attribute name="xml:id">
-            <xsl:value-of select="@xml:id" />
-        </xsl:attribute>
+        <xsl:copy-of select="@xml:id" />
         <xsl:if test="@xml:lang">
-            <xsl:attribute name="xml:lang">
-                <xsl:value-of select="@xml:lang" />
-            </xsl:attribute>
+            <xsl:copy-of select="@xml:lang" />
         </xsl:if>
         <!-- Make the title the title attribute or "ID" if does not exist. -->
         <info>