Bullets list not correctly formatted

Hello,

Finally I am working again on this issue. Unfortunately I can’t find how to go to a valid location after removing the Current Paragrah.
I tried moveToDocumentEnd but of course, the text is added a the end of the document even after the text I am inserted after the bulleted text…
Anyway to go to the next node that is available witouht having NllPointerException?

Thanks,

Hi Guillaume,

Thanks for your inquiry. There are a few handy properties of Node i.e. NextSibling, ParentNode, PreviousSibling and a few handy methods e.g. GetAncestor, NextPreOrder and PreviousPreOrder you can make use of to navigate anywhere within the DOM hierarchy:
https://reference.aspose.com/words/net/aspose.words/node/

Moreover, I would suggest you please read the following article on Document Tree Navigation:
https://docs.aspose.com/words/net/aspose-words-document-object-model/

I hope, this helps.

Best Regards,