Home Forums General XMetaL Discussion How to determine the end of the document? Reply To: How to determine the end of the document?

Derek Read

Reply to: How to determine the end of the document?

How about checking inside your loop to see if the current node, Range.ContainerNode is equal to ActiveDocument.documentElement.

When that check returns true then jump out of the loop (if your scripting language provides that mechanism) or use the equivalent of “while not” in your scripting language for the type of loop.

Reply

Products
Downloads
Support