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

Re: Style vs. transformation

Subject: Re: Style vs. transformation
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Fri, 06 Mar 1998 09:19:47 -0500
Re: Style vs. transformation
Smith, Brooke wrote:
> 
> and so why doesn't XSL allow arbitrary output (flow objects) much like
> can be done with Omnimark (of course a difference is that with SGML we
> have to output to a DTD that is used to make sure the mark-up is
> syntactically correct):
> 
> element document
>     output "<DIV>%c</DIV>"

What you are describing is not a system with "arbitrary flow object
output" but a system with a *single* flow object: "unformatted literal
string". The answer why XSL doesn't allow this is: XSL is not a report
writing system or even a conversion language. It is a stylesheet
language and there are not an infinite number of style characteristics
that we can expect browsers to support. There is finite list: font
changes, generated text, java applets and so forth.

If XSL were either a report writing language, a transformation language,
or an arbitrary text processing system then it would make sense for it
to have an "unformatted literal string" flow object. What would it mean
to a browser if you generated "<FOO>%c</FOO>"?

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

[Woody Allen on Hollywood in "Annie Hall"]
Annie: "It's so clean down here."
Woody: "That's because they don't throw their garbage away. They make 
        it into television shows."


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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