A
ar
Hello,
My XML document is :
....
<paragraph title="Level 1 - Number 1">
<paragraph title="Level 2 - Number 1">
<paragraph title="Level 3 - Number 1">
...
</paragraph>
<paragraph title="Level 3 - Number 2">
...
</paragraph>
</paragraph>
<paragraph title="Level 2 - Number 2">
<paragraph title="Level 3 - Number 1">
...
</paragraph>
<paragraph title="Level 3 - Number 2">
...
</paragraph>
</paragraph>
</paragraph>
....
I'd like to number these paragraphs
1 - Level 1 - Number 1
1.1 - Level 2 - Number 1
1.1.1 - Level 3 - Number 1
1.1.2 - Level 3 - Number 2
1.2 - Level 2 - Number 2
1.2.1 - Level 3 - Number 1
1.2.2 - Level 3 - Number 2
I can have any number of paragraph levels.
Any idea on how to do that ?
Best regards
AR
My XML document is :
....
<paragraph title="Level 1 - Number 1">
<paragraph title="Level 2 - Number 1">
<paragraph title="Level 3 - Number 1">
...
</paragraph>
<paragraph title="Level 3 - Number 2">
...
</paragraph>
</paragraph>
<paragraph title="Level 2 - Number 2">
<paragraph title="Level 3 - Number 1">
...
</paragraph>
<paragraph title="Level 3 - Number 2">
...
</paragraph>
</paragraph>
</paragraph>
....
I'd like to number these paragraphs
1 - Level 1 - Number 1
1.1 - Level 2 - Number 1
1.1.1 - Level 3 - Number 1
1.1.2 - Level 3 - Number 2
1.2 - Level 2 - Number 2
1.2.1 - Level 3 - Number 1
1.2.2 - Level 3 - Number 2
I can have any number of paragraph levels.
Any idea on how to do that ?
Best regards
AR