xsl-list
[Top] [All Lists]

[xsl] Conditional xslt inclusions

2010-10-27 02:21:16

Dear Experts,

I have 6 types of documents and their corresponding 6 xslts. What I want to do 
is create one main xslt and based on one of the attribute values of input, I 
want to give an xslt name that is to be included. For example, if the root 
element of input is <root a="1"> then I want to include 'one.xsl'. Similarly, 
if the root element is <root a="2"> then 'two.xsl'. I am using version 1.0 and 
Saxon/JDOM as xslt processor. 

Please give your inputs on this problem.

Thanks very much,
Siddhi

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>