[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] call another XSL
Anyone know how to call in an XSL in the middle of the another XSL? because if say i had import/include within a template, the browser conplains about import/include not being able to be used there. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/" xml:space="preserve"> <xsl:variable name="xslFile" select="/document/stylesheet/Menu/@XSL"/> <xsl:import href="/XSLFile/{$xslFile}"/> <xsl:apply-templates/> </xsl:template> </xsl:stylesheet> I have a XML which has a list of different XSL pages that the page will use at various times. And this stylesheet will be named between the stylesheet/Menu tag. The above way is wrong (it doesn't work). how else can i import/include this XSL file between the stylesheet/menu tag?! thanx Rosa 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
|