Some time ago, I found a link in the Words forums: Extract Content
Overview and Code on how to extract a range of nodes from a document found between specified markers. There was also a remark that this functionality would be made part of the public API at some point.
Did the extraction functionality ever make it into the API?