DOM tree modification functions
[redakcja.git] / redakcja / static / xsl / wl2html_client.xsl
index c2aea5f..440be83 100644 (file)
 
     <xsl:template match="*">
         <span class="unknown-tag" x-node="{name()}">
+            <xsl:call-template name="standard-attributes" />
             <xsl:apply-templates select="child::node()">
                 <xsl:with-param name="mixed" select="true()" />
             </xsl:apply-templates>        
                 </xsl:apply-templates>
             </span>
     </xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+
+    <xsl:template match="comment()">
+        <xsl:comment><xsl:value-of select="."/></xsl:comment>
+    </xsl:template>
+</xsl:stylesheet>