[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: stylesheet organisation
On 03/09/2011 09:17, Jesper Tverskov wrote:
Mark asked:Wrong! As far as template rules are concerned, it's an error to have two templates matching the same node, but processors are allowed to recover from the error by choosing the one that comes last in declaration order. For a processor that chooses the recovery strategy, xsl:import has the same effect as xsl:include. For a processor that doesn't, the effect is quite different. But for many other declarations in a stylesheet, like global variables, named templates, and stylesheet functions, having two with the same name at the same precedence is a hard error. You can use xsl:import to override these definitions, you can't use xsl:include. Michael Kay Saxonica
|
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
|