Hi
No, you can't.
See 'XSLT Questions and Answers'
(http://www.dpawson.co.uk/xsl/sect21.html).
'Things XSLT can't do' (http://www.dpawson.co.uk/xsl/nono.html).
With best regards,
Alexandr Veremyev.
> -----Original Message-----
> From: Martin Pedak [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 04, 2001 3:49 PM
> To: Sablotron Mailing List
> Subject: Re: [Sab] xsl:include
>
>
>
> I have a question too about xsl:include.
>
> Can i use xsl:include with conditions?
>
> I have tree template files: one root template and two others.
> I want to include one of the other templates when some condition in the
> root template is true and the other when the condition is false.
>
> I dont want to include them both and use xsl:template tag inside the
> condition because i need to optimize my system. So i do not whant to
> include all my template files when i actually need to use only some of
> them at once.
>
>
> --
> -------------------
> Martin Pedak
> O� Webmedia
> Tel: +372 7 441583
> GSM: +372 50 68531
>
>