http://qs1969.pair.com?node_id=495621

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks, i am very new to perl and perl modules. i want to learn XML:Xpath module. So Please suggest me any tutorials on this by, Beginner in perl

Replies are listed 'Best First'.
Re: Seeking Xml::XPath tutorials
by planetscape (Chancellor) on Sep 28, 2005 at 04:59 UTC

    Your starting point: XML::XPath's documentation. Understanding XPath itself couldn't hurt; Zvon has many excellent tutorials.

    HTH,

    * Update: 2006-03-11 Like Zvon, deepX has a good collection of "Quick References" on XML-related technologies such as XPath, XSD, XSL and XSLT (and even CSS and MySQL!).

    planetscape
Re: Seeking Xml::XPath tutorials
by mirod (Canon) on Sep 28, 2005 at 05:31 UTC

    Is there any specific reason you want to use XML::XPath? XML::LibXML is very similar, except that it is a lot more powerful (supports XPath and DOM like XML::XPath, but also RelaxNG, catalogs, XInclude...), faster, and better supported. Its only possible drawback is that it is based on libxml2 instead of expat, which might be a tad more difficult to install if you are not on linux.

    In any case you can see examples using both modules in the Ways to Rome series of articles, and you can play with XPath at xpath_test.