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

Re: xsl:stylesheet vs xsl:transform

Subject: Re: xsl:stylesheet vs xsl:transform
From: Alex Milowski <alexml@xxxxxxxxxxxx>
Date: Tue, 10 May 2005 16:29:42 -0700
xsl identical transform
On May 10, 2005, at 9:39 AM, Mukul Gandhi wrote:

I have a question..

The XSLT spec says (both 1.0 and 2.0) that
xsl:stylesheet and xsl:transform are 100% identical.
Everything that applies to xsl:stylesheet is exactly
identical to that applies to xsl:transform .. What is
the reason for keeping two syntaxes for the same
purpose? Is there some technical reason for this, or
there is some other reason?

There was a sentiment that there needed to be a way to differentiate between something that was used to "render" a document (i.e. a stylesheet) verses something that transforms a document into other XML. It isn't enough to look at the output method because certain vocabularies (e.g. XSL FO) are XML output.

Many browsers will render the HTML results of an [xsl:]stylesheet
while they will not for one that starts with [xsl:]transform

-- Alex Milowski

"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."


Bertrand Russell in a footnote of Principles of Mathematics

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.