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

Re: choose to define conditional attributes?


Subject: Re: choose to define conditional attributes?
From: James Clark <jjc@xxxxxxxxxx>
Date: Fri, 01 Oct 1999 17:35:20 +0700

Kay Michael wrote:

> Oh! Is that a definitive interpretation? (a) "Containing" surely allows an
> ancestor as well as a parent, (b) I thought it was talking about the result
> tree not the stylesheet tree.
> 
> In SAXON I allow xsl:attribute to add an attribute to an element created
> using an ancestor literal result element in the source stylesheet, or even
> an element created using a different template (i.e. you can do an
> xsl:call-template to a template that contains the xsl:attribute). The only
> constraint is that the element in the result tree must be open and must not
> have had any character content added to it.

That's the intended interpretation.

James



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



Current Thread