|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: conditional inclusions
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. Cheers Didier PH Martin ---------------------------------------------- Email: martind@xxxxxxxxxxxxx Conferences: xml devcon 2000 (http://www.xmldevcon2000.com) Wireless Summit NY (http:www.pulver.com) xml devcon 2001 London (http://www.xmldevcon2000.com) Book: XML Professional (http://www.wrox.com) column: Style Matters (http://www.xml.com) Products: http://www.netfolder.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








