xsl-list
[Top] [All Lists]

Re: more xsl:number confusion!

2005-09-27 14:13:23

You have

    xsl:number result: (<xsl:number level="multiple" count="a"  
from="a"/>)


XSLT 1 says:

if the from attribute is specified, then the only ancestors that are
searched are those that are descendants of the nearest ancestor that
matches the from  pattern. 

so the only things that are counted are a elements that are descendants
of the nearest a element, and (necessarily) ther are no such elements,
so you get nothing counted.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>