Subject: Re: [xsl] Copying all comments [xsltproc 1.0] From: pankaj.c@xxxxxxxxxxxxxxxxxx Date: Mon, 4 Oct 2010 17:49:02 +0530 |
>The subject line is misleading as you don't want to copy the commennts >that would be: Yeah, my apology. >If you are sure the commented code is well formed, and you are in a >situation that you can use d-o-e then you can use <xsl:for-each select="//comment()"> <xsl:value-of disable-output-escaping="yes" select="."/> </xsl:for-each> Perfect and yes my commented code will be well formed. Forgot about @disable-output-escaping. Thanks for reminding David.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Copying all comments [xsl, David Carlisle | Thread | Re: [xsl] Copying all comments [xsl, pankaj . c |
Re: [xsl] Copying all comments [xsl, David Carlisle | Date | Re: [xsl] Modifying a DTD with XSLT, dvint |
Month |