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

Process output from imported stylesheet?

Subject: Process output from imported stylesheet?
From: "Magnus Teo" <magnusteo@xxxxxxx>
Date: Thu, 11 Mar 2004 03:15:06 +0800
call template dynamically
Goodday, this is my first post and i've spent the night looking through the FAQs, archives and elsewhere to no avail. Appreciate any pointers!

I'd like to be able to control which named templates to call, so I read the template names from an XML file. Since it's not possible to call-template dynamically with params or variables (xsl:choose enumeration would be my last resort), I'd like to modify the principal stylesheet before running it. Is it possible to loop the results of the XML file and use xsl:element to create xsl:call-template in a secondary XSL, then have the primary XSL import or include it, thereafter process the output as it was embedded at runtime? Have tried but all efforts came up blank, I'm using Sablotron.

Thank you.
M

_________________________________________________________________
Download games, logos, wallpapers and lots more at MSN Mobile! http://www.msn.com.sg/mobile/



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.