]> granicus.if.org Git - docbook-dsssl/commitdiff
Added a template that copies PIs and comments. Closes bug #1992728.
authorMauritz Jeanson <mj@johanneberg.com>
Sun, 15 Jun 2008 16:21:09 +0000 (16:21 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Sun, 15 Jun 2008 16:21:09 +0000 (16:21 +0000)
releasetools/xslnsfiles/addns.xsl

index 5a6e56be3c36cebba29f52136ec6b913ad82e281..4625eb4ae3bee188aac47784308b7ddd444de093 100644 (file)
   </xsl:element>
 </xsl:template>
 
+<xsl:template match="processing-instruction()|comment()" mode="addNS">
+  <xsl:copy/>
+</xsl:template>
+
 <xsl:template name="add-xml-base">
   <!-- * Get a title for current doc so that we let the user -->
   <!-- * know what document we are processing at this point. -->