Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: passing in an element as a parameter to a stylesheet passing in an element as a parameter to a stylesheetTo: NULL Date: 8/2/2007 12:20:00 PM hi, I have a stylesheet which accepts a parameter 'foo' whch is an XML element (.Net 2.0 - I'm not sure if this is platform specific) now, when I do <xsl:apply-templates select=$foo /> this matches the following template: <xsl:template match="/"> which I was expecting to only match the root of the input document (this confused me at first but it's obviously because the element passed in is effectively a root element) the question is, is there a way to match only the root node element of the input document rather than the root element of a stylesheet parameter Andy | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
