How to extract comments only?

Subject: How to extract comments only?
From: "X Line" <xline1@xxxxxxxxxxx>
Date: Mon, 26 Jun 2000 18:51:40 GMT

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 perhaps save the XML declaration (i.e: none of the other markup/pcdata). Is this possible with XSLT? I couldn't figure out from my limited knowledge. Thanks much for any info.


Get Your Private, Free E-mail from MSN Hotmail at

XSL-List info and archive:

Current Thread