xsl-list
[Top] [All Lists]

Re: read comments from xml

2002-10-08 08:44:34
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(_dot_)heinicke(_at_)virbus(_dot_)de
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



<Prev in Thread] Current Thread [Next in Thread>