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

question count some nodes

Subject: question count some nodes
From: "Markus Hanel" <markus.hanel@xxxxxx>
Date: Tue, 24 Feb 2004 09:27:34 +0100 (MET)
xsl count of nodes
Is it well formed to say: <xsl:number level="multiple"
count="form|GapFilling|solution" /> with the following dtd?
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".

<!ELEMENT form ((...|GapFilling|MultipleEdifying|...)*) >
<!ELEMENT GapFilling (fillin, (br | tab | annotation | notice | image |
question | points)*)>
<!ELEMENT fillin (#PCDATA | solution | br)*>
<!ELEMENT solution (#PCDATA|valid_input)*>

Many thanks,

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.