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.
Steve Muench, Consulting Product Manager & XML Evangelist
Business Components for Java Dev't Team
--- Begin Message ---
From: "Larry Fitzpatrick" <lef@xxxxxxxxxxxx>
Date: 12 May 99 13:02:29
The xslt spec has the following example fragment in section 11.2:
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?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--- End Message ---