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

RE: Simple API for XSL?

Subject: RE: Simple API for XSL?
From: Tim McCune <timm@xxxxxxxxxxxxxxxx>
Date: Wed, 17 Feb 1999 08:11:40 -0700
tim mccune
I went ahead and wrote an interface that lets us switch XSL processors by
changing one line of code.  The interface is pretty simple so far:

public String process(Document xml, String stylesheetName) throws
XSLProcessorImplException;

I then wrote implementations of this interface for LotusXSL and XSLP.  What
other methods would be useful in such an interface?

-----Original Message-----
From: Lars Marius Garshol

What should the API do here? What kind of functionality should it have?

I can see some possibilities that might be both useful and practical:

 - starting the processing
 - receiving error events
 - some way of accessing the result tree (AFAIK first proposed by Paul
 Prescod on the Python XML-SIG mailing list a couple of days ago).
 This might take the form of SAX events or a DOM tree.

This idea probably has some merit, since it would make it far easier
to embed existing XSL processors as components in larger processing
frameworks and applications.


 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.