[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Dynamically determine which XSLT files to include
Have you considered massaging your XSLT before running it? Since an
XSLT file is an XML file, it can be the input to another XSLT.
Step 1 - XSLT-A.xsl: - read input XML into a tree - process XSLT-B-RAW.xsl based on value X to synthesize <xsl:include> instructions when writing out stylesheet XSLT-B.xsl Step 2 - XSLT-B.xsl: - read input XML into a tree - use massaged stylesheet This may satisfy your requirement. . . . . . . Ken At 2013-07-29 11:36 -0400, I wrote: At 2013-07-29 15:34 +0000, Costello, Roger L. wrote:Is there a way for an XSLT program to, at runtime, decide which XSLT files to include and import? -- Public XSLT, XSL-FO, and UBL classes in the Netherlands Oct 2013 | Public XSLT, XSL-FO, UBL and code list classes in Australia Oct 2013 | Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|