A description of the hierarchically-structured document is accessed and
converted into an early-bound object having at least some of the same
properties as the hierarchically-structured document, and having at least
some of the methods that may be performed on the
hierarchically-structured document. When a function call is placed to the
early-bound object, the early-bound object causes the appropriate
corresponding changes to be affected on the hierarchically-structured
document while maintaining change tracking information for the document.
This reduces the difficulty when drafting source code for a program that
interfaces with hierarchically-structured documents that can have varying
structures and may be governed by complex change tracking rules.