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

Simple XSL Pipelines

Subject: Simple XSL Pipelines
From: Jacobus Reyneke <jacobusreyneke@xxxxxxxxx>
Date: Tue, 9 Mar 2010 23:03:30 +0200
 Simple XSL Pipelines
Good day,

There are many ways to pipe XML output from one XSLT to another, but
what is the proper way to do it? Using a programming language in
between does the job, but is there some way to implement it elegantly
with XSLT and Saxon alone?

The idea is something like:
data.xml -> filter.xls -> layout.xls -> targetmedia.xsl ->
data_for_mobile_phone.svg

This is just a thumb [expletive deleted] example, but that's the idea.

I was thinking along the line of creating a master XSL such as
pipeline.xsl which would work on parameters and call the other style
sheets as required. I know I can do this easily from java, but I'm
looking for a pure XSL solution. Also, I need to to be able in use
more than one XML as input, which I know is not ideal, but it is
better to get the requirements right, and to make the technology fit,
than to get the technology right and to get the requirements to fit.

The answer probably lies in correct use of <xsl:variable
select="document(filter.xls)" name="filter" />, but I can't find an
elegant solution. If someone can help or make suggestions or give an
example that would be great.

Kind regards
Jacobus

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.