Mr. Eeed Wewefwf (if that is your real name...),

Both <xsl:import...> and <xsl:include...> are defined as top-
level elements and cannot be put inside an <xsl:if...> element.
But you can of course use <xsl:if...> elements to control
whether the templates in the included/imported stylesheets
will be applied/called or not.

Morten Jorgensen

eeed wewefwf wrote:
> 
> Hi,
> 
> is it possible to call(or include) a xsl from another
> xsl based on some condition. for e.g if a <xsl: if>
> condition evaluates to true call one xsl and if not
> call another xsl.
> 
> Thanks
> 
> Harpreet
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/

Reply via email to