[
Lists Home |
Date Index |
Thread Index
]
Jeni Tennison wrote:
> > 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].
>
> Well, I guess I think conceiving of it as a four-stage process
> (parsing, building, transforming, serializing) is simpler than
> conceiving of it as a five-stage process (parsing, building,
> whitespace-stripping, transforming, serializing).
I still think of it as just a three-stage process (parsing/building,
transforming, serializing). Perhaps I should've said whitespace stripping is
"a part of" the transformation process. Does that help?
How about this:
> document ---> node tree ---> node tree ---> node tree ---> document
(parsing) ( T R A N S F O R M I N G ) (serializing)
> (stripping (other
transformation) transformation)
>
> +-----------------------------+
> XSLT processor
>
> +----------------------------------------------------------+
> XSLT application
Evan
|