Re: Comment regarding xsl:attribute

John Keinanen wrote:
> 
> Concering section 2.7.2.3 "Creating Attributes with xsl:attribute" in
> the
> XSL specification, I find the following statement overly restrictive:
> 
>  * Including nodes other than text nodes in the value of an attribute;
> implementations may either signal the error or ignore the added nodes.
> 
> It seems useful to me to allow nodes within the xsl namespace to
> be contained within xsl:attribute.  Especially xsl:text, xsl:counter,
> and xsl:number.

That's not what it means.  It means that you can't have something like:

  <xsl:attribute name="foo"><xsl:element name="bar"/></xsl:attribute>

If the text said "Including result tree nodes other than text nodes...",
would that be clearer?

James

Received on Thursday, 25 February 1999 03:36:31 UTC