I have download the trial version of aspose words…The question is my original document is wordml (xml) that has nodes. Now if i want to insert html at particular node how do i move to that node.
for eg if the node has xpath of “//ns0:DataSet//ns0:Table//ns0:MyField”
i cant use
Document.selectnodes(xpath) as there is no option to set namespace mgr(provided by word interop)
So i can never get to the node where i want to insert html.
I want something like this
DocumentBuilder builder = new DocumentBuilder(doc);
foreach(Node n in mynodelist) //mynodelist is nodelist from doc.selectnodes
{
builder.moveTo(n);
builder.Inserthtml(myhtml);
}
Secondly
I want to format document to have arial font 9 and remove all formattings done by html string(Like background color.). How can i do that using ASPOSE Words
Regards