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

Stripping comments and processing instructions

From: Jeni Tennison <jeni@jenitennison.com>
Date: Tue, 15 Jan 2002 13:04:44 +0000
Message-ID: <126707227769.20020115130444@jenitennison.com>
To: xsl-editors@w3.org
Hi,

The Data Model WD describes three flags that can be set when creating
a node tree: ignore-whitespace, ignore-comments and
ignore-processing-instructions.

The first flag is managed (presumably) through xsl:strip-space and
xsl:preserve-space. Shouldn't there be similar XSLT declarations for
stripping and preserving comments and processing instructions?

(It might be helpful if the processing instruction one used the name
of a processing instruction to work out whether to strip it or not as
well as or instead of the identity of the parent element.)

Cheers,

Jeni
---
Jeni Tennison
http://www.jenitennison.com/
Received on Tuesday, 15 January 2002 08:04:46 GMT

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