Perl and XML Parsers

Hi,
Am pretty new for perl scripting and confused how to use XML Parser..
I just want to know how to use perl and XML parser..
The scenario is when i execute a command, it will generate a XML file..
From that XML file generated i need to grep for specific term that has HTML TAG say "title"..
Please help me to sort this..
I searched for sample programs in internet but even then I was unable to understand the concepts of XML Parser in Perl..
:mad: :confused:

There are a large number of XML-parsing modules available for Perl; some actively maintained, some not maintained.

One of the better ones is XML::LibXML which you can find on CPAN. It is basically a wrapper around LibXML.

XML parsing comes in two major flavors, DOM, where a tree in VM is built from the file, and SAX, where as the file is parsed, callbacks allow you to capture the elements opening and closing, their attributes and content. SAX is good for real time feeds and for large files, where the VM size might get prohibitive. Either one can run with or without vxd syntax checking, which throws exceptions when files violate rules.