[
Lists Home |
Date Index |
Thread Index
]
Jeni Tennison wrote:
> All XSLT processors need to govern the building and transforming
> aspects; xsl:strip-space and xsl:preserve-space give control over the
> building.
>
> Standalone XSLT applications need to control the parsing and
> serialising stages as well.
I think you've got the right idea, but a simpler way of looking at this is
that XSLT processors only have control over the transformation, and
whitespace stripping is the optional first step in any transformation. This
view is also more faithful to the 1.0 spec's description[1].
Evan
[1] http://www.w3.org/TR/xslt#strip
"After the tree for a source document or stylesheet document has been
constructed, but before it is otherwise processed by XSLT, some text nodes
are stripped."
|