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

Free Support Forum - aspose.com

Lost style when saving xml to docx

Hi,

I have an XML word document with styles.
When I save it as DOCX with Aspose.Words, all the styles are lost.

When I save this XML file as docx with Microsoft Word, it Works, all my styles are in the new document.

In the zip file, you have the :

  • input file in XML format
  • the output done with Microsoft Word
  • the output done With Aspose.Words 19.10.0.0
  • screenshot of the styles for all the cases.

Thanks.

files.zip (2.0 MB)

@julien.mevel.isilog

We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-19510. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-19510) have been fixed in this Aspose.Words for .NET 19.12 update and this Aspose.Words for Java 19.12 update.

Hi,
I confirm that this issue is solved by this Version.
Thanks.