i know little and/or nothing about DOM, but found the following references. an
article and the module
XML::DOM. Not sure these are terribly good implimentations or interfaces ... so a write of a DOM::* specific set of modules might be a good idea. Just thought i would add what i did find.
Thus spake the Master Programmer:
"When you have learned to snatch the error code from the trap frame, it will be time for you to leave."
--
The Tao of Programming