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

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

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.)


Jeni Tennison
Received on Tuesday, 15 January 2002 08:04:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:17:52 UTC