|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: passing parameters with apply-template and documen
Robert McGrath wrote:
Beware that document() function returns root node (not to be confused with outermost element node). So you are applying templates to the root node of the docB.xml and if you don't have a template that matches "/" or "node()", built-in template for a root node will be used. And as all built-in templates it doesn't pass parameters through. Use <xsl:apply-templates select="document('docB.xml')/*"> -- Oleg Tkachenko http://blog.tkachenko.com Multiconn Technologies, Israel
|
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








