RE: conditional inclusions

Subject: RE: conditional inclusions
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Wed, 1 Nov 2000 09:52:07 -0400 (EST)
> Let's say I have an XMl file which has an element such as:
> <include url="file.xml"/>
> This file would be part of the "input tree".
> You would probably say that xsl:include would do the trick, 
> yes but that's
> not my question.
> We want to make these inclusions conditional, and than work 
> on that result
> tree.

If I understand what you need, you could use the document() function
together with xsl:if or xsl:choose. Not xsl:include, which can only be used
to include *stylesheets*, not XML source. documents. 

Linda




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread