[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: Mon, 09 Aug 2004 10:44:51 +0200
xsl dynamic include
David,

David Carlisle wrote:

  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.


That's odd because having generated a stylesheet on teh fly you then have to use that as the main transformation stylesheet, ie exactly the thing you said was hard to do.

My mistake, I misled you there.


My point is this: we're going to have more than one dynamic include,
i.e. the main stylesheet B would need to include, say, two  more
templates (C and D) dynamically (in addition to A which is always
included as a module).

Following your suggestions, we would write a strutscx action that
combines C and D, then include B (and A). 'The XSLT way'.

But I fail to to see the difference to doing it this way: write a
strutscx action that takes B (and A), and inserts C and D. Does the same
thing, only maybe not the 'XSLT way'.

Actually, is there a written requirement that states how dynamic
includes should be handled the XSLT way?

Cheers,
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.