RE: [xsl] XSLT: Are XML Comments parseable?

Subject: RE: [xsl] XSLT: Are XML Comments parseable?
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Wed, 24 Aug 2005 14:12:06 +0300
Comment are defined in the XPath data model, so yes. Just make sure that the
XML parser you use to contruct the source tree actually forwards the comment
events.

Cheers,

Jarno

--
Kevin Energy: Hard Transin Volume 4
<http://www.nuenergy.co.uk/new/musicEvents/djMixDetail.php?id=53>

> -----Original Message-----
> From: ext Khorasani, Houman [mailto:houman_khorasani@xxxxxxxxxxxxxx]
> Sent: 24 August, 2005 14:05
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] XSLT: Are XML Comments parseable?
>
>
> Hello,
>
> Is it possible to read an XML comment through XSLT 1.0, use
> the Comment
> as a String value to produce an XML file?
>
> It sounds weird, but this should be a backdoor type of
> solution to solve
> a problem in our project.  I am not sure if XSLT can actually read the
> comments at all or if it skips them right away.
>
> Any comments?
>
> Thanks
> Houman

Current Thread