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

Re: size?

Subject: Re: size?
From: "Steve Muench" <SMUENCH@xxxxxxxxxxxxx>
Date: 12 May 99 13:57:03 -0700
re size
Tiny editorial oversight. 
 
The size() function was replaced by the count() 
function before the 21-Apr-1999 draft went public 
and it looks like James must have missed this 
one occurrence of size(). 
 
So you should be able to use "count(from-ancestors(orderedlist)) mod 3" 
in this example. 
 
Good eyes! 
_________________________________________________________ 
Steve Muench, Consulting Product Manager & XML Evangelist 
Business Components for Java Dev't Team 
http://www.oracle.com/xml
--- Begin Message ---
Subject: size?
From: "Larry Fitzpatrick" <lef@xxxxxxxxxxxx>
Date: 12 May 99 13:02:29
Hi,

The xslt spec has the following example fragment in section 11.2:

    <xsl:variable name="level"
                    expr="size(from-ancestors(orderedlist)) mod 3"/>

size() looks like a function, but it is not described as any of the
"well-known" functions. Can I assume that this is some "extension
function" or am I not understanding the syntax?

Or (please say yes) is this a generic function that should be available for all
datatypes but was inadvertently not documented?

Cheers!lef




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

--- End Message ---
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.