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(_at_)CraneSoftwrights(_dot_)com
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