We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Queries about id attribute on cells (`<td>’ elements)

Hi @ahsaniqbalsidiqui,

Apart from adding an id attribute on rows, newer versions of Aspose Cells also seem to add an id attribute on cells (`<td>’ elements).

Curiously enough, it seems not to be done consistently - the attribute seems mainly present on empty cells. But at the same time, not all empty cells. The id attribute generated seems not to be used by the rest of the generated HTML - for instance, it’s not referenced from CSS selectors.

In some of the HTML exports generated by Aspose Cells, we see over 100.000 of such dummy id attributes on \<td> elements, seemingly serving no purpose at all.

Even worse, if we want to integrate this Aspose Cells-generated content into HTML pages, we have to post-process 100.000 elements to remove or prefix the generated id attributes, in order to prevent clashes.

This seems quite a regression, with no obvious benefit or use, as far as we can see.

Kind regards,
Taras

@TarasTielkes,
Thank you for your query.
Could you please share your sample code, template file and output HTML file along with the images/snapshots showing exact issue. It will help us to reproduce the issue here and provide assistance accordingly.