Lists
Exception: Lists in HTML (can) carry an
attribute that indicates the style for the list (like decimal, upper-roman, disk,
square, etc.) In HTML this style is inherited from parent lists to child lists
unless the style is changed. There is no equivalent to this in XSL FO. The current
implementation maps inherited styles but has some issues in assumed ones.
Note: There are many list styles in HTML. Currently this solution supports the
following:
- Bullet Lists:
- Numbered Lists:
- decimal
- decimal-leading-zero
- lower-alpha
- lower-latin
- lower-romwn
- upper-alpha
- upper-latin
- upper-romwn
- Other:
Bullet-style Lists
Testing un-numbered lists, first a simple list
Another list with list-style-type setting in CSS
Now, nested lists
- One
- A list inside the other list
- Level 2 bullet
- A list inside the other list
- Level 2 bullet
- A list inside the other list
- Level 2 bullet
- Level 2 bullet
- Level 2 bullet
- Level 2 bullet
- Level 2 bullet
- Three
Numbered Lists
Testing the same lists as above, numbered, first a simple list
- One
- Two
- Three
Another set of lists with list-style-type setting in CSS
- One
- Two
- Three
- One
- Two
- Three
- One
- Two
- Three
Now, nested lists
- One
- A list inside the other list
- Level 2 bullet
- A list inside the other list
- Level 2 bullet
- A list inside the other list
- Level 2 bullet
- Level 2 bullet
- Level 2 bullet
- Level 2 bullet
- Level 2 bullet
- Three