|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: first-of-any operates before or after selection?
"Mark D. Anderson" wrote: > > are first-of-any() and friends supposed to be booleans on the > source document tree, or are they supposed to be booleans > on the subset of the tree that corresponds to the current > for-each or apply-templates? The former. There's no concept in the current WD of the "subset of the tree that corresponds to the current for-each or apply-templates". > xt seems to be behaving with the first interpretation > (i can't figure out which is the right interpretation from the WD). > > i've got this code: > > <xsl:for-each select="*[@updateable='yes']"> > <xsl:if test=".[not(first-of-any())]">, </xsl:if> > <xsl:value-of select="@name"/> > </xsl:for-each> > > to construct a comma-separated list, but unfortunately the > leading comma is being displayed. to me, that says that "any" > means "any in the source document tree", not "any in the > current select". If so, what am i supposed to do? Wait for the next WD. James XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








