in reply to Re^2: XML::LIBXML XPATH for
in thread XML::LIBXML XPATH for

XML::LibXML is based on libxml, which only supports XPath 1.0:

XML Path Language (XPath) 1.0: http://www.w3.org/TR/xpath

Replies are listed 'Best First'.
Re^4: XML::LIBXML XPATH for
by vlad_tepesch (Acolyte) on Feb 29, 2012 at 11:02 UTC
    oh thanks.
    just too sad

      Take a look at my XML::Saxon::XSLT2, which provides XSLT 2.0 via Inline::Java and Saxon. It's not pretty; it's not fast; but it mostly works.

      XPath 2.0 within an XSLT transformation should work but doesn't handle XPath outside a transformation. (Patches for that would be gratefully received.)

      There is practically no software that implements xpath2. Even saxon, a java library, only supports the basic spec.

      If the query from the root post is representative, you'll probably like xsh, the xml editing shell