Re: [xsl] read comments from xml

Subject: Re: [xsl] read comments from xml
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Tue, 08 Oct 2002 17:44:34 +0200
Zhiyong Hong wrote:
Hi,

Is there any way to read the xml comments by xslt?

Thanks in advance. Your help is mostly appreciated.

Zhiyong

Yes, use a template matching on "comment()":


<xsl:template match="comment()">
  <xsl:value-of select="."/>
</xsl:template>

Regards,

Joerg

--

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke@xxxxxxxxx
www.virbus.de

VIRBUS hat jetzt als erster deutscher Softwarehersteller die Zertifizierung für den 3D Secure-Authentifizierungsstandard "Verified by Visa" erhalten. Details unter http://www.virbus.de/de/press/pressemitteilung/20020828_verified_by_VISA.


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread