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

Re: call another XSL

Subject: Re: call another XSL
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 12 Feb 2001 13:46:00 -0700 (MST)
xsl call another xsl
Rosa I-Ting Cheng wrote:
> Anyone know how to call in an XSL in the middle of the another XSL? 

xsl:include and xsl:import are only for bringing in additional
children of the xsl:stylesheet element from another stylesheet.

Your only option for including something mid-stream is to do it
at the XML level with entities. Unfortunately this is not something
you can parameterize; you must hard-code the system URI of the
document you are including.

You could also do a multi-step transformation in which your first
transformation generates the stylesheet needed for the second step.
This is clunky and might be more trouble than it's worth, though.

I usually just xsl:include everything and use different modes to
distinguish between them. This may or may not be feasible for your
situation.

Sorry.

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at            My XML/XSL resources: 
webb.net in Denver, Colorado, USA              http://skew.org/xml/


 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.