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

RE: Newbie question

Subject: RE: Newbie question
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 26 Apr 1999 12:17:02 +0100
RE: Newbie question
> I guess what I'm hoping to
> find is something really clean that automatically takes XML, 
> applies the XSL stylesheet provided and spits out whatever the stylesheet 
> says to spit out....in this case HTML......without having to change or add
a single 
> line of java or perl.

I think all the XSL processors do this, in a sense. But you have to call
them from somewhere, whether it's a command line, a URL, or a single line of
code in an ASP page or Java Server Page. What's appropriate depends on when
and where you want to invoke the stylesheet (client-side or server-side, or
eagerly at content publishing time).

The default way of invoking a stylesheet "automatically" is to name the
stylesheet within the XML document source and have the browser recognise it
(which IE5 does). Personally I don't like that option much because I like
the idea that different users should have different views of the same data.

In SAXON 4.2 I've provided another option, compiling the stylesheet to
create a servlet which can be referenced directly by URL, specifying the
source XML document as a parameter. I don't think this really makes your
life enormously easier, it means that instead of writing a bit of script to
invoke the stylesheet at run-time you need to write a bit of script to
compile it and install it each time you edit it: but I do think it's an
architecture that has great promise from a performance perspective.

Mike Kay


 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.