Question: Document Introspection Techniques

Question

What are the best techniques for performing introspection in Maple Documents?

Background

I would like to use the content within a Maple Document (.mw) as input to calculations and operations within the same document. I am aware of the DocumentTools Package, but it seems that needs to open a copy of the current document to perform operations and is dependent on the current document being saved to disk rather than working with what is already in memory. What techniques are available to work with the document's data model and content within the document, such section headings, section structure, and paragraph text content - as opposed to just the variables that have been defined?
 

Please Wait...