Hi,
I’ve created a dita schema extension that contains an ilexample for a complex example and an innerExample element for nesting in it.
In css I make the ilexampleCounter increase each time an ilexample element is added to my topic.
But when I nest those ilexamples in e.g. a paragraph, or section, each time a new paragraph or section starts, the ilexampleCounter is reset to 1.
Is there a way to prevent this behavior, so that wherever my ilexample is placed in a topic, it will always get a higher number than the previous one?
Kind regards,
Ing. Roderik Dernison
Programmeur/ontwikkelaar
INL
·
Schatkamer van de Nederlandse Taal
Matthias de Vrieshof 2 · Kamer 106a · 2311 BZ Leiden
Tel. +31 (0)71 527 2491 · www.inl.nl