I’m using Aspose.Word to convert .doc files to .html format, and am experiencing a couple of problems when the input file contained numbered lists. The HTML export converter seems to include an explicit “value” attribute in each
1. The numbers are assigned incorrectly for nested lists. Numbering is carried across at each level, instead of starting fresh for each sublist. For example, if you create a list like this in Word:
1
A
B
2
A
B
The resulting HTML file will look like this:
1
A
B
2
C
D
2. If the user subsequently edits the HTML file, the list items don’t renumber properly, because they’re locked into their current values.
As a workaround, I’m ripping out the “value” attribute of each