XSLT: Problem with generation of bullet numbers

Hi,

I have an input XML as below:

<Books>
<Category>Science</Category>
<Category>Social</Category>
<Note>Important</Note>
<Category>Maths</Category>
<Category>English</Category>
</Books>

I want to write an XSLT to transfrom the above data to the following HTML format with bullet number appended:

  1. Science
  2. Social
    Important
  3. Maths
  4. English

Please provide your inputs.

Discussion is taking place in this thread
XSL:FO - How to decrement the bullet number using fo:list-block

redundant thread closed