Stripping comments and processing instructions

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 UTC