This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Built-in templates for specific modes
- From: "Michael Leditschke" <mike at ammd dot com dot au>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 30 May 2002 21:13:21 +1000
- Subject: RE: [xsl] Built-in templates for specific modes
- Reply-to: xsl-list at lists dot mulberrytech dot com
Thanks Mike.
Regards
Michael
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Mike Brown
> Sent: Thursday, 30 May 2002 8:39 PM
> To: xsl-list@lists.mulberrytech.com
> Subject: Re: [xsl] Built-in templates for specific modes
>
>
> 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
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list