[xsl] question count some nodes

Subject: [xsl] question count some nodes
From: "Markus Hanel" <markus.hanel@xxxxxx>
Date: Tue, 24 Feb 2004 09:27:34 +0100 (MET)
Hello,
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,
Markus


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


Current Thread