Hi All,
I installed php 5 in my linux pc.
My phpinfo() says

libXML support active
libXML Version 2.6.23
libXML streams enabled

But still I cannot use DOMDocument in my script.
When I use it in my script, Class 'DOMDocument' not found in /var/www/html/getcontent_3.php
Any pointers will be very much appreciated. And also I need this badly to traverse my html contents.
I cannot re-install libxml package with "yum" as I am not connected with internet.Please let me know any offline installation is possible.
Any other equilent is available in php and its performance comparing to DOMDocument.

You can only use yum into another box to download the needed package, so you can copy that into a usb flash drive as it seems that repositories are not public available (but I'm not sure about this since I don't know RedHat and CentOS policies):

yum install yum-downloadonly php-xml

As a side note: the php5 installation package for Ubuntu already includes php-xml. Bye.