Hi i've the below xml
HTML Code:
<?xml version="1.0" encoding="UTF-8"?>
<chapter num="A">
<title>
<content-style font-style="bold">PART 1 GENERAL PRINCIPLES</content-style>
</title>
<section level="sect1">
<title>
<content-style font-style="bold">Chapter 1: THE NEW ARBITRATION ORDINANCE</content-style>
</title>
<section level="sect2">
<title>INTRODUCTION</title>
</section>
<section level="sect2" num="1.">
<title>INTRODUCTION</title>
</section>
<section level="sect2" num="2.">
<title>INTRODUCTION 1</title>
</section>
<section level="sect2" num="3.">
<title>INTRODUCTION 2</title>
</section>
</section>
</chapter>
and when i use the below xslt
HTML Code:
<xsl:number count="section"/>
the number is starting from 2, but i want from 1 as, the first sec2 doesn't have a num attribute, please let me know how can i do this, also i need to use only number count function
Thanks