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

Re: xsl:number problem

Subject: Re: xsl:number problem
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 20 Jun 2003 13:10:47 -0400
Re:  xsl:number problem
See, I wondered about this.

At 12:08 PM 6/20/2003, David wrote:
However

After I changed to <xsl:number level="any" count="productId[publisher='NETg' or publisher='Wave']"/> or
<xsl:number level="any" count="//productId[publisher='NETg' or publisher='Wave']"/>


Clearly the second expression starting with // will always give the same
value as it always counts all the nodes in the document, since it starts
with / it does not depend on the current node at all.

I suppose I should try this. The value of @count is a match pattern, isn't it?


Always finding more corners to enlighten,
Wendell

___&&__&_&___&_&__&&&__&_&__&__&&____&&_&___&__&_&&_____&__&__&&_____&_&&_
    "Thus I make my own use of the telegraph, without consulting
     the directors, like the sparrows, which I perceive use it
     extensively for a perch." -- Thoreau


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.