|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: use-when in the xsl:inlcude
Ken,
<xsl:include href="..." use-when="document('configuration:data')/data/xs:boolean(@xxx)"/> Except that it won't work. Your use-when= above relies on *some* document context in order to determine the argument values for the document() function...
This has nothing in common with source input tree during transformation. This works (if I'm not wrong), as doc() function is available in the context where values of @use-when are evaluated. See http://www.w3.org/TR/xslt20/#conditional-inclusion. Sorry, if I was not clear about the problem I was asking about. Thanks. -- Vladimir Nesterovsky http://www.nesterovsky-bros.com
|
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
|






