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 http://www.saxonica.com/
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format