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

Free Support Forum - aspose.com

Handling html nodes in Aspose Document

Hello there,

I am running mail merge as a result of which Merge fiellds are replaced by actual values.
For some of the merge fields, they are supposed to be replaced by rich text that looks like:

<span style=“font-size: 11pt; font-family: “Calibri”,“sans-serif”;”>

The
property is approached via a well maintained foregarden having shaped lawn,
mature side borders, slabbed pathway leading
to

 

PORCH
ENTRANCE



Apart from

tags , they can have some text formatting html codes as well (for bold/Italic etc.)
How do you suggest I can handle these tags at run-time and replace them with actual html formatting in document.

Thank you!

Any suggestion for this… Sorry need it bit urgent.

Hi Nutan,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. You can use MergeField event handler to achieve this. Please see the documentation to learn more:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/aspose.words.reporting.mergefieldeventhandler.html

Best regards.

Thank you so much for your excellent support!



Cheers!!!