W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2002

Re: Stripping comments and processing instructions

From: Jeni Tennison <jeni@jenitennison.com>
Date: Tue, 15 Jan 2002 16:58:15 +0000
Message-ID: <147721238255.20020115165815@jenitennison.com>
To: xsl-editors@w3.org
Jim Fuller wrote:
> From: "David Carlisle" <davidc@nag.co.uk>
> Subject: Re: Stripping comments and processing instructions
>
>> In XSLT 1 there's some words to the effect that comments in the source
>> might or might not be visible to the stylesheet depending on whether
>> the xml parser passes them on. It might be interesting to know whather
>> or not they have been passed on (also it would be interesting to know
>> whether id attributes have been read)
>
> are u suggesting access to flags like this via system-property() ?
> i think that this would be very useful.

Good idea. I guess that the processor could offer command-line
parameters (or whatever) that enabled you to ignore comments and processing
instructions if you wanted. With system-property() you'd be able to
tell what had been done.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Tuesday, 15 January 2002 11:58:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT