[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Built-in templates for specific modes


Subject: Re: [xsl] Built-in templates for specific modes
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 30 May 2002 04:38:36 -0600 (MDT)

Michael Leditschke wrote:
> The XSLT spec makes specific mention (section 5.8)
> of the fact that there is a built-in template for 
> root and element nodes whether a mode is used
> or not.
> 
> However it makes no mention of built-in rules for
> text, attribute, comment or processing instruction
> nodes when a mode is used.

Section 5.7 of the current WD of XSLT 2.0 clarifies:

"The built-in template rules for text, attribute, comment,
processing-instruction, and namespace nodes for a specific mode are the same
as the rules shown above that apply where no mode is specified."

No errata has been issued for XSLT 1.0 on this point, but I would assume that 
this was the intent all along, since it was not listed in the appendices of 
XSLT 2.0 as being a change from the previous versions of XSLT, and since all 
1.0 processors treat it this way anyway.

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords