![Avatar](https://secure.gravatar.com/avatar/f8185fc72d4f142006018ff32f5e7067.jpg?s=64&d=identicon&r=g)
Given a line-number and line-offset for an element in an xml document, how would I go about inserting a child node at that point in the document? I'm currently viewing and editing the document with an EditorDocument instance but am receiving the line-number/line-pos from another source. Alternatively, given that I know the parent element is the Nth element defined in the document, how would I find this in the EditorDocument and insert a child node?