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

Re: question count some nodes

Subject: Re: question count some nodes
From: "Markus Hanel" <markus.hanel@xxxxxx>
Date: Tue, 24 Feb 2004 15:02:44 +0100 (MET)
xsl count of nodes
Many thanks, I was not really sure before.
markus

> At 2004-02-24 09:27 +0100, Markus Hanel wrote:
> >Is it well formed to say: <xsl:number level="multiple"
> >count="form|GapFilling|solution" /> with the following dtd?
> 
> Absolutely.
> 
> >I need some like 1.2.3, normally the path is:
> >form/GapFilling/fillin/solution but the node"GapFilling" can only have
> one 
> >node "fillin", the node "fillin"
> >can have more nodes "solution".
> 
> By not having "fillin" in your count= set of nodes being matched, the 
> processor ignores that level of the hierarchy so you only get a 
> three-component number even though there are four levels of hierarchy.
> 
> I hope this helps.
> 
> ............................ Ken
> 
> --
> Public courses: Spring 2004 world tour of hands-on XSL instruction
> Each week:   Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO
> United States: Washington, DC March 15; San Francisco, CA March 22
> Finland April 26; Hong Kong May 17; Germany May 24; London June 07
> World-wide on-site corporate, government & user group XML training
> 
> G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
> Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
> Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
> Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/s/bc
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 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.