I have a requirement to convert a word document to html with all content control tags converted to the clickable buttons. I am doing same by fetching all nodes of type content control and then iterating over them, while iterating using documentBuilder i am moving to the the node and insertingHTML for html button.But i am witnessing a issues:
When i am moving to the node and inserting html, button seem to be inserted after the content inside the Tag. Thus, the button is appearing at the end of the content control tag. This looks weird and unrecognized if there is hierarchy of content content control tags. I have tried multiple things using Sibling and Child nodes but there is no visible way which appear to be working in all cases.
Is there a way in aspose to insertHTML around a node?