[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

first-of-any operates before or after selection?

Subject: first-of-any operates before or after selection?
From: "Mark D. Anderson" <mda@xxxxxxxxxxxxxx>
Date: Fri, 26 Mar 1999 09:53:00 -0800
xsl first of any
(Sorry, I'm being obnoxious and reposting this query in the
hopes of getting an answer.)
-mda

-----Original Message-----
From: Mark D. Anderson <mda@xxxxxxxxxxxxxx>
To: xsl-list@xxxxxxxxxxxxxxxx <xsl-list@xxxxxxxxxxxxxxxx>
Date: Wednesday, March 24, 1999 7:30 PM
Subject: first-of-any operates before or after selection?


>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?
>
>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?
>
>-mda



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.