in reply to Removing XML comments with regex
<?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" versi +on="1.0"> <xsl:output method="xml" indent="yes"/> <xsl:template match="@* | node()"> <xsl:copy> <xsl:apply-templates select="@* | node()" /> </xsl:copy> </xsl:template> <xsl:template match="comment()" /> </xsl:stylesheet>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Removing XML comments with regex
by Jenda (Abbot) on Oct 25, 2007 at 01:03 UTC | |
by runrig (Abbot) on Oct 25, 2007 at 04:42 UTC | |
by eff_i_g (Curate) on Oct 25, 2007 at 04:08 UTC | |
by runrig (Abbot) on Oct 25, 2007 at 04:52 UTC | |
by Jenda (Abbot) on Oct 25, 2007 at 11:15 UTC | |
by runrig (Abbot) on Dec 28, 2007 at 20:59 UTC | |
by Jenda (Abbot) on Dec 28, 2007 at 22:02 UTC | |
by Anonymous Monk on Dec 28, 2007 at 21:02 UTC | |
|