Node InsertAfter

Code as follows:

Node nodes = normalRanges.First();
foreach (var no in allNode) {
((CompositeNode)nodes).InsertAfter(no, no);
}

allNode nodetype is Paragraph

I would like to add a loop out of the back of the node Nodes.

The current idea does not work, please provide a way of thinking,

Thank you

Code as follows:

Node nodes = normalRanges.First();
foreach (var no in allNode) {
((CompositeNode)nodes).InsertAfter(no, no);
}

I would like to add a loop out of the back of the node Nodes.

The current idea does not work, please provide a way of thinking,

Thank you
Hi Anni,

Thanks for your inquiry.

Unfortunately, your question isn't clear enough therefore we request you to please elaborate your inquiry further. Also, please supply your input and output documents. This will help us to understand your scenario, and we will be in a better position to address your concerns accordingly.