Restructured Dom7 Library
Dom as a global variable
Grab Dom7 from global