> processing instruction outside the root element (at the very end of the document)
By XML's grammar rules, nothing meaningful may follow the root element. That includes PIs. Any tool which is processing that PI is actually behaving incorrectly. Fix your document design? ______________________________________ "... Three things see no end: A loop with exit code done wrong, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish ( http://www.ovff.org/pegasus/songs/threes-rev-11.html)