[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: how to call templates from diff stylesheets condit
Hi Shirish, >> I have, say, two stylesheets s1.xsl and s2.xsl and one master >> stylesheet master.xsl >> >> there is one template in each s1 and s2.Now in the master.xsl i >> want to call these templates based on some conditions. There's no way to direct a processor to use a template from one or other stylesheet, unless, of course, the templates are named differently in the two stylesheets or are in different modes if they're matching templates. If the templates are named the same in the two different stylesheets, or match the same thing in the same mode, then the one that is included (with xsl:include) or imported (with xsl:import) last is the one that's used. Perhaps you could give more details about the templates that you want to call? Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|