RE: conditional inclusions

Subject: RE: conditional inclusions
From: "Didier PH Martin" <martind@xxxxxxxxxxxxx>
Date: Wed, 1 Nov 2000 09:54:45 -0400 (EST)
Hi Ronald,

Post about conditional inclusion....

I you want to do the processing client side this implies that you'll
probably will have to update the XSLT engines available on each customer's
PC. To dynamically create a new tree from fragments, you can use the
document() function. This funciton is precisely designed for what you want.
Just use this function in an xsl:apply-templates construct. Then use the
xsl:apply-templates in a condition construct such as the xsl:if or any other
XSLT conditional construct. This will have the effect that your newly
included document fragments will matched against the style sheet templates.

Didier PH Martin
Email: martind@xxxxxxxxxxxxx
Conferences: xml devcon 2000 (
		 Wireless Summit NY (
	       xml devcon 2001 London (
Book: XML Professional (
column: Style Matters (

 XSL-List info and archive:

Current Thread