I performed bookmark replacement using Input Document 1 and Input Document 2, and I successfully generated the output document (which I have attached). The first bookmark replacement works correctly, and the output docum…...depending if the marker nodes are inline. startNode = GetAncestorInBody(startNode);...factor // in extracting using inline nodes, fields, bookmarks, etc...