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

how to: Conditionally call nested XSLs based on parame

Subject: how to: Conditionally call nested XSLs based on parameters or variables passed to it at a higher level?
From: "SANWAL, ABHISHEK (HP-Houston)" <abhishek.sanwal@xxxxxx>
Date: Thu, 11 Sep 2003 21:44:52 -0500
using vars in xsls
How to Conditionally call nested XSLs based on parameters or variables
passed to it at a higher level?

<stylesheet>

<template chapter>
....
..etc. etc..

	<apply-temp section>
...
..
</>

<temp section>

variables <!-- these are the variables/parameters I want to use for
condns
parameters <!-- QUESTION: what would be the scope of the vars n pars
....		<! -- HOW DEEP would their values go ? For Params I know
only as 		<! -- far as they are pushed down.. what about
Vars ? 
		<! -- will the variables defined at section level be
available
		<!-- to template levels applied to below ??
.....
...<appl-temp toallchildren>
(with or/without params)
...
..
</>

<temp para>

...
..
<appl-temp morediffchildren>
...

</>

BASICALLY: I want to define Variables/Parameters within a section and
ONLY for a section and ALL its CHILDREN below it. 
I do not want these variables to become global as I will be using the
"same" name (is that even possible) variables for OTHER sections.

I want to make the scope of the variables/params available AT section
level and BELOW !!!

Please do let me know.

Thanks,

Abhishek Sanwal

 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.