[Home] [By Thread] [By Date] [Recent Entries]
Try this:
<xsl:template match="comment()">
<xsl:copy-of select="." />
</xsl:template>And replace comment() by processing-instruction() if you want to retain processing instructions.. Regards, Geert Fraser Goffin wrote: I note that when I create (copy) an XSLT from another XSLT and the source contains comments, these are not copied across. I undestand that comments may not be significant to an XSLT processor but does anyone know whether it is in fact possible to copy them to the output.
Daidalos BV Source of Innovation Hoekeindsehof 1-4 2665 JZ Bleiswijk Tel: +31 (0) 10 850 1200 Fax: +31 (0) 10 850 1199 www.daidalos.nl De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.
|

Cart



