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

Re: Parametrized includes -work-around?

Subject: Re: Parametrized includes -work-around?
From: Ralph Holz <ralph.holz@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 06 Aug 2004 18:09:00 +0200
parametrized xsl fo
Hi,

I don't understand. You can change the way the transformation is invoked to
supply an extra parameter, but you can't change it to modify the entry point
of the transformation?

Ok, here's our scenario. The framework is based on strutscx, the output data is XSL-FO. I need to add that we are merely extending the framework, it's not ours.

An incoming request to the server contains information about the source
data and the transformations needed.

So far, two static stylesheets were sufficient: A and B.

A provides a basic FO layout.

B is selected according to the "transformation needed" information and
provides some basic templates to be executed on the XML tree. It includes A.

So far, so good.

Now we need to include the option to add more templates (say C and D) to
the transformation process, keeping A and B in place. That would be the
"dynamic includes". The information which ones to use additionally is
also given in the request.

Your solution would suggest to remove B from its place in the
transformation pipeline and put (C+D) there. These would then include B
(and subsequently A).

This is a modification of the framework that we might need to discuss
with our client first (because other services might depend on it).

Doing a two-step transformation seems easier at this points. We consider
doing the first part (constructing the stylesheet that performs the
actual transformation) as part of the strutscx action.

Happy weekend,
Ralph

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.