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

Re: Simple XSL Pipelines

Subject: Re: Simple XSL Pipelines
From: "steve.majewski@xxxxxxxxx" <steve.majewski@xxxxxxxxx>
Date: Tue, 9 Mar 2010 16:48:24 -0500
Re:  Simple XSL Pipelines
On Mar 9, 2010, at 4:03 PM, Jacobus Reyneke wrote:

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 would suggest either Xproc or Apache Cocoon as the proper way. But if you really want to do it only with Saxon, it's probably possible using Saxon extension functions like saxon:transform .

( Of course, if you run it as a web service (ala SaxonServlet)
 you can have the output of one transform be the input of another.
  But an internal pipeline (like Cocoon) only has to parse
  and serialize once. )

-- Steve Majewski

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.