[Home] [By Thread] [By Date] [Recent Entries]


Hi Evan,

>> An XSLT *processor* wouldn't have to support xsl:input, but an XSLT
>> *application*, that supported parsing (and most probably
>> serialization) would. Note that xsl:strip-space and
>> xsl:preserve-space are also really about the parsing process.
>
> No, xsl:strip-space and xsl:preserve-space are required for all XSLT
> processors, whether or not they have control over parsing. They have
> special status as intermediate operations on the *source tree*. It's
> possible to break backward compatibility here, but that's the way it
> is in XSLT 1.0.

Good point, thanks. So the process is actually:

  document ---> PSVI ---> node tree ---> node tree ---> document
        (parsing) (building)   (transforming) (serialising)

                 +---------------------------+
                        XSLT processors

     +------------------------------------------------------+
                       XSLT applications


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.
                        
Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member