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

Free Support Forum - aspose.com

[JAVA] Extract HTML

Hello,

How can I extract a bookmark's content to HTML?

Thnkx in advance.

Diniz

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

Thanks for your inquiry. First you should extract content between bookmark start and bookmark end node and insert it into the intermediate document. Then save intermediate document in HTML format. I think code provided in the following forum thread could be useful for you.

Note: -code is provided in C# but I think you can easy translate it in Java.

-Code extracts content between bookmarks, you should extract content between BookmarkStart and BookmarkEnd nodes

Best regards.