When using MSXML, I have noticed that the nodeFromID method only returns elements
which were present in the XML file when it was originally parsed.

Elements added to the file using the createElement (or equivalent) methods
cannot be accessed using nodeFromID unless the XML data is re-parsed, presumably
because nodeFromID relies on an index which is not up-to-date.

Can anybody please advise whether there is a technique for keeping the indexes
up-to-date as elements are added?

Thanks,
Tim Coulter