This invention relates to methods and apparatus for monitoring and maintaining the consistency of documents having related overlapping content, for example documents in which the content is represented using XML (extensible Markup Language) and other related technologies.