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

Free Support Forum - aspose.com

CustomXmlMarkup remove from document

Hi


we have a licence for Aspose Word :slight_smile:

when i open a document in the format of Word 2003 and i have custom xml surrounded the paragraph after i save the document it disrepair

example : a paragraph from my document

<w:p wsp:rsidR=β€œ00861839” wsp:rsidRDefault=β€œ00861839” wsp:rsidP=β€œ00286C1F”>
<w:r>
<w:t>E.Date: </w:t>
</w:r>
<ns0:Policy_End_Date_Day tagId=β€œ3225”>
<w:r>
<w:t>3225</w:t>
</w:r>
</ns0:Policy_End_Date_Day>
<w:r>
<w:t> /</w:t>
</w:r>
<ns0:Policy_End_Date_Month tagId=β€œ3224”>
<w:r>
<w:t>3224</w:t>
</w:r>
</ns0:Policy_End_Date_Month>
<w:r>
<w:t> /</w:t>
</w:r>
<ns0:Policy_End_Date_Year tagId=β€œ3223”>
<w:r>
<w:t>3223</w:t>
</w:r>
</ns0:Policy_End_Date_Year>
<w:r>
<w:t/>
</w:r>
</w:p>

i use this code

com.aspose.words.Document document = new com.aspose.words.Document(β€œC:\Users\moshel\Desktop\Test\Generic+certificate_en_US.xml”);

document.save(β€œC:\Users\moshel\Desktop\Test\Out.xml”);

and the output :
			<w:p>
<w:r>
<w:t>E.Date: </w:t>
</w:r>
<w:r>
<w:t>3225</w:t>
</w:r>
<w:r>
<w:t> /</w:t>
</w:r>
<w:r>
<w:t>3224</w:t>
</w:r>
<w:r>
<w:t> /</w:t>
</w:r>
<w:r>
<w:t>3223</w:t>
</w:r>
</w:p>


Its very urgent for me to know if u supported this kind of opening 

TNX in advance 

Hi Moshe,

Thanks for your inquiry. Please note that Aspose.Words mimics the same behavior as MS Word does.


We used to keep CustomXmlMarkup nodes marked as Obsolete, but now it is fully removed as per:
Custom XML markup is removed when you open a document in Word 2013

Starting from Microsoft Word 2013, Microsoft removed the Custom XML feature from Microsoft Word. Please check following public API changes page for your kind reference.
Public API Changes in Aspose.Words 15.8.0

Please let us know if you have any more queries.

Hi Thir


Tnx for the answer

I am aware that from Word 2010 Microsoft dosent support in Custom xml :slight_smile:

I have a Word 2003 format and i want to open and save it as Flat xml(Word 2007) With the custom xml elements …

is there an old Aspose Word version that support this kind of request ??

Hi Thir


Also u fully remove it from Aspose 15.8.0 from the link u specify

and i am using 15.7.0 and it still do not save it with the custom xml elements …

Hi Thir


I have an Update :

When i using Aspose Word 13.12.0.0 it save from format 2003 to 2007 with Custom XML

I need to know the latest version it supported (as i wrote i try 15.7.0.0 ) and it doesn’t work
Hi Moshe,

Thanks for your inquiry. You may try the older versions of Aspose.Words published before v15.8.0. Please note that we do not provide support for older versions of Aspose.Words. We always encourage our customers to use the latest version of Aspose.Words as it contains newly introduced features and enhancements. In latest versions of Aspose.Words, CustomXmlMarkup does not import into Aspose.Words DOM.

Hi Thir


You stop support CustomXmlMarkup from Aspose Word 15.8.0

http://www.aspose.com/docs/display/wordsjava/Public+API+Changes+in+Aspose.Words+15.8.0

I am using 15.7.0 and also it is not supported my question is way ?


Hi Moshe,

Thanks for your inquiry. Perhaps, there is some issue in older version of Aspose.Words. We don't provide support for older released versions of Aspose.Words. Please note that we do not provide any fixes or patches for old versions of Aspose products either. All fixes and new features are always added into new versions of our products.

Hi Thir



I am Ok with that u dont support older version of Aspose

i am not Ok that in the version 15.7.0 u support a Feature and u have a bug

please keep in mind that we are paid customer with licence for Aspose Word and Pdf

form my point of view u can add the support for CustomXmlMarkup in a newer version

and after remove it

looking for answer ASAP

TNX




Hi Moshe,

Thanks for your inquiry. It would be great if you please share following detail for our reference. We will then provide you more information about your query.

  • Please attach your input Word document.
  • Please create a standalone Java application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.
  • Please attach the output Word file that shows the undesired behavior.

Hi Thir


As requested i attach a program that demo what i try to do and the input file and output file

Thanks for the help

Please try to give me an answer as soon as possible
Hi Moshe,

Thanks for sharing the documents. In Aspose.Words v15.7.0, CustomXmlMarkup is deprecated. Please try Aspose.Words v15.4.0 to achieve your requirements. Hope this helps you.

HI Thir



I cant downgrade Aspose in my system because i am using features that is in 15.7.0 !

Your release notes declare that u stop support Custom Xml Markup in Aspose 15.8.0

I am expecting to that in 15.7.0 it will be and not deprecate !

if u cant help me please send me your CEO email and development manger email


Moshe Latin



Hi Thir


Any news?
Hi Moshe,

Thanks for your inquiry. As per company policy, we don't provide support for older releases of Aspose.Words. The reason of disconnection of CustomXmlMarkup already shared here in this forum thread. Moreover, CustomXmlMarkup is deprecated after v15.4.0 and completely removed in v15.8.0.

Please let us know if you have any more queries.