Kendi kendine kapanan etiketleri tanıyın

Contents
[ ]

HTML, \ gibi boş etiketler için çeşitli etiket biçimlendirmesine sahip olabilir</td> veya <td/>. Aspose.Cells şu anda bu biçimlerin her ikisini de desteklerken daha önce yalnızca \ destekliyordu.</td>etiketler gibi. Ekteki örnek HTML dosyası Excel dosyasına dönüştürülerek bu özellik test edilebilir. Örnek HTML dosyası ve çıktı dosyaları test için aşağıdaki linklerden indirilebilir.

sampleSelfClosingTags.html

outsampleSelfClosingTags.xlsx

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java
// Set Html load options and keep precision true
HtmlLoadOptions loadOptions = new HtmlLoadOptions(LoadFormat.HTML);
// Load sample source file
Workbook wb = new Workbook(srcDir + "sampleSelfClosingTags.html", loadOptions);
// Save the workbook
wb.save(outDir + "outsampleSelfClosingTags.xlsx");