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

Attention XSLT API writers

Subject: Attention XSLT API writers
From: "Terris" <terris@xxxxxxxxxx>
Date: Sun, 5 Dec 1999 10:57:36 -0800
xslt api
XSLT APIs should provide the ability to set XSLT
variables before processing a stylesheet.  XT
provides this.  However, XT is a command-line
program.  In order for a web site to exhibit
decent response time, command-line
programs must be avoided.

Furthermore, you may want to set assign a large
amount of data to a variable.  
You might even want to assign a DOM to a
variable. Assigning a DOM would give 
better performance than assigning a string 
because you just might already have a DOM handy.
An extra parse can be avoided, which could
make a big difference when dealing with large
documents.

A specific need for this is the case of merging
or appending two XML documents.  document() is
a useful function as long as your
XML is accessible by a URL.  As XML development
matures, XML will be derived from databases
and APIs more and more.  With today's XSLT spec, the
only way to merge two documents without
at least one document being accessible by
a URL is to modify the stylesheet first.  As 
someone who has real experience with modifying
stylesheets on the fly in order to merge documents, 
I can tell you that:

(a) The concept is confusing
(b) It's overly cumbersome
(c) It's slow

If there is ever a push for a standard interface like the DOM
for XPATH and XSLT, and I can tell you that we
needed one about a month ago, I certainly hope that
the API enables variable assignment before
the stylesheet is processed.

Thank you,
Terris


 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.