Re: Typo: XSLT 19991116

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 UTC