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

xsl:number: multi pattern to remote parent

Subject: xsl:number: multi pattern to remote parent
From: "Victor Zamouline" <desafinado@xxxxxxxx>
Date: Thu, 22 Oct 1998 23:29:53 +0200
xsl number c
And, also, one more thing whose supposed behavior is not clear to me:

<root>
    <a>
        <b>
            <c>
            </c>
        </b>
    </a>
</root>

===

...
<xsl:template match="a/b/c">
    <xsl:number level="multi" count="a|c"/>
</xsl:template>
...


In Jeremy's implementation, it will count <c>'s relative to the latest <b>,
not to the latest <a>.

If this corresponds to the specifications, then is there any method to count
<c>'s relative to <a>'s (i.e. counting how many <c>'s have happened since
the latest <a>, whatever might be the number of occasional <b>'s in
between?)

Thank you,
Merci, Jeremy,

Victor.
desafinado@xxxxxxxx





 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.