[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: How is this part of the XSLT specification to be interpreted?


Subject: Re: How is this part of the XSLT specification to be interpreted?
From: Mike Brown <mike@xxxxxxxx>
Date: Wed, 21 Jun 2000 10:02:59 -0600 (MDT)

> To summarise some ways of putting documentation in a stylesheet
> [...]
> 2. using structured comments
> 
> Use normal XML comments (<!-- ... -->) but include a structure within them,
> which you can then parse using XSLT if you wish (Warren Hedley provides a
> stylesheet for doing so).

Comments are not required to be reported by an XML parser, so you should
never depend on being able to process them with XSLT.

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/


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



Current Thread
Keywords