[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Variables and HTML

Subject: RE: Variables and HTML
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 11 Mar 2005 18:47:16 -0000
RE:  Variables and HTML
> That leaves me with the question why it is not encouragable to couple
> transformers and serializers... may we assume that 
> serializers are kept out
> of the spec's domain is because serializers are too system specific?

It comes down to pipelining, or closure.

A property of XSLT is that the input data model is the same as the output
data model. The operations in XSLT take trees as input and produce trees as
output. The language is "closed" over the data model. The benefit of this is
composability: any two transformations can be combined to produce a larger
transformation. Hence pipelines.

Serialization should be separate because it breaks away from the data model
and produces something different: its output is a different kind of thing
from its input. Only by keeping serialization separate from transformation
do you preserve the closure property of the transformation language, and
hence its composability.

Michael Kay

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.