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

[Fwd: Re: Why XSL?]

  • From: Paul Prescod <papresco@t...>
  • To: xml-dev <xml-dev@i...>
  • Date: Wed, 30 Sep 1998 15:26:26 -0500

why xsl


-------- Original Message --------
Subject: Re: Why transformation?
Date: Wed, 30 Sep 1998 14:43:50 -0500
From: Paul Prescod <papresco@t...>
To: xsl-list@m...
References: <199809301757.NAA29160@h...>

BTW, I liked your Chicago Tribune article.

"Simon St.Laurent" wrote:
> 
>...
> Is there a good reason for this, or is it just that XSL has transformations
> because DSSSL did?  There must be something more to it than the comfort
> level of those used to working with SGML tools, but so far, I haven't heard
> much exciting.

Your question begs another: "Why did DSSSL have transformations?" FOSI's,
which preceded DSSSL did not. But they were found to be inadequate. In
fact, almost every SGML user has wrestled with a series of style languages
that do not do transformations.

> Where does XSL fit in an XML application architecture?

I discussed this in a talk on XSL recently. Slides are at
http://www.prescod.net/xsl/slides/17.html . The fundamental point is that
you cannot predict how your data will be used in the future, so you cannot
decide on the "optimal" encoding for it. Even if you knew exactly how it
was going to be used, the needs of document renditions and data storage
are often different. 

In a rendition, redundancy is your friend. In document maintenance, it is
your enemy. Actually, redundancy is probably the most important point.
Often you want to get rid of redundant markup ("Why should I always wrap
this series of elements when the wrapper can be logically implied?").
Often you want to get rid of redundant text ("Why should I type titles for
these columns, when I use the same column titles for every table of this
type?") Sometimes you want to get rid of completely redundant elements:
("Why should I the chapter title both in the document, and in the table of
contents, and in a dozen cross references")?

In a rendition, data should often be sorted according to some rule that
will help human navigation. In your document database, you probably want
to allow authors to enter it in any order. You may even need to sort the
same data according to different rules according to the rendering.

Transformations are the basis of all XML processing. I expect that within
a few years all XML-processing applications will have transformation
engines built in. Style application are just the start.

> Why is this more more useful than CSS?

Apples and oranges. CSS is a logical choice for the output of an XSL
transformation application. See http://www.w3.org/TR/NOTE-XSL-and-CSS .
XSL and CSS are only competitors in-so-far as XSL has its own formatting
model based on, but not identical to, CSS's. Presumably people who have
looked at the issue more closely than I have decided that CSS's formatting
model was not sufficient.

> What is the value of conflating style and transformation?

The XSL spec. does not conflate style and transformation. They are in the
same physical document, and are both called "XSL", but have separate URLs,
editors and processing models. If you are saying that even the names and
physical documents should be separate, then I agree that that would seem
simpler (except perhaps for the political/bureaucratic implications).

 Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

Bart: Dad, do I really have to brush my teeth?
Homer: No, but at least wash your mouth out with soda.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.