Subject: Re: [xsl] Condition Based Count of Sections From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Fri, 13 Apr 2007 11:38:10 +0200 |
Hi:
This seems a very complex condition as per my understanding because I am new in this field. I want a "count" and "level" attribute (as shown in the output file) of <chapter>, <sect1> , <sect2> and <sect3> on the following basis:
1. <sect> or <chapter> which does have paragraph should be skiped because no section should be empty.
2. For counting perpose <chapter>, <sect1> , <sect2> and <sect3> should be treated as same level.
3. Depth of "level" attribute should be measure by its parent tag.
INPUT <chapter>
OUTPUT <chapter count="1" level="1.1">
Cheers, -- Abel
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Condition Based Count of Sect, J. S. Rawat | Thread | Re: [xsl] Condition Based Count of , J. S. Rawat |
[xsl] Condition Based Count of Sect, J. S. Rawat | Date | Re: [xsl] Condition Based Count of , J. S. Rawat |
Month |