How can I extract a bookmark’s content to HTML?
Thnkx in advance.
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