W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 1999

Re: Typo: XSLT 19991116

From: James Clark <jjc@jclark.com>
Date: Thu, 25 Nov 1999 09:03:15 +0700
Message-ID: <383C98E3.2D71A4ED@jclark.com>
To: "G. Ken Holman" <gkholman@cranesoftwrights.com>
CC: XSL Editors <xsl-editors@w3.org>
This isn't a typo.  xsl:param is not allowed in all the places that an
instruction is allowed.  xsl:param is only allowed in places where the
content models explicitly allow it, specifically at the beginning of an
xsl:template element.

"G. Ken Holman" wrote:
> 
> Hi James,
> 
> In your XML you have:
> 
> <e:element-syntax name="variable">
>    <e:in-category name="top-level-element"/>
>    <e:in-category name="instruction"/>
> 
> but you only have:
> 
> <e:element-syntax name="param">
>    <e:in-category name="top-level-element"/>
> 
> I think that "param" requires an in-category of "instruction" just like
> "variable" does since they can be in template rules.
Received on Wednesday, 24 November 1999 21:42:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:49 GMT