This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: conditional inclusions
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: conditional inclusions
- From: Linda van den Brink <lvdbrink at baan dot nl>
- Date: Wed, 1 Nov 2000 09:52:07 -0400 (EST)
- Reply-To: xsl-list at mulberrytech dot com
> 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