with registerNodeClass("DOMElement", "DOMXElement") and this was ok but when i move the site to the hosting server i get this message:
Fatal error: Call to undefined method DOMDocument::registerNodeClass() in ...
so as i saw registerNodeClass is suported in: (PHP 5 >= 5.2.0), and my hosting server is 5.1.6 ..... ??? any solution there must be
some parameter to tell to DOM what class to use for creating new Elements....