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

XSL Extensions with xsl:script and Saxon?

Subject: XSL Extensions with xsl:script and Saxon?
From: Janning Vygen <vygen@xxxxxxxxxxxx>
Date: Mon, 30 Apr 2001 19:18:07 +0200
xsl script saxon
Hi,

I am thinking of some extensions for the saxon parser to use with xsl:script

For example i would like to get img width and height via an extension 
everytime my stylesheet inserts an img tag in the output tree.

This would be very fine if you use many graphical buttons for navigation. You 
could use a chapter id add a ".gif" an put in the src attribute. And you dont 
have to care about the height and width because the extension gets it for you.

On the other hand you could create images on the fly. 
imagine some xml tag like this:

<button label="Home"/>

and then your  button template inside your xsl is calling an extension (maybe 
gimp), rendering the image, returning width and height.

Are there any solutions available already?
If not, is it possible to connect Saxon and Perl (because Perl can connect to 
anything :-) ? 
Wouldnt it be fine if you could make a system call from inside of an xsl 
stylesheet (and via this way you could call any programm you like...)?

regards,
janning

-- 
Planwerk 6 /websolutions
Herzogstraße 86
40215 Düsseldorf

fon 0211-6015919
fax 0211-6015917
http://www.planwerk6.de

 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.