Subject: RE: How to extract comments only? From: Kay Michael <Michael.Kay@xxxxxxx> Date: Tue, 27 Jun 2000 09:17:18 +0100 |
> I'm still new to XSLT, but have a need to > extract all comments (however deep) from an > XML file to another. Output should only > contain comments and nothing else <xsl:template match="/"> <xsl:copy-of select="//comment()"/> </xsl:template> Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: How to extract comments only?, Mike Brown | Thread | RE: How to extract comments only?, John Greek |
RE: xsl self-documentation - ideas, Pawson, David | Date | Re: xsl:value-of /xsl:copy-of, Dan Morrison |
Month |