XML::XQL::DOM(3pm)

XML::XQL::DOM3pm

Adds xql support to xml::dom nodes

Usage

 use XML::XQL;
 use XML::XQL::DOM;
 $parser = new XML::DOM::Parser;
 $doc = $parser->parsefile ("file.xml");
 # Return all elements with tagName='title' under the root element 'book'
 $query = new XML::XQL::Query (Expr => "book/title");
 @result = $query->solve ($doc);
 # Or (to save some typing)
 @result = XML::XQL::solve ("book/title", $doc);
 # Or (see XML::DOM::Node)
 @result = $doc->xql ("book/title");

Overview

XML::XQL::DOM adds methods to XML::DOM nodes to support XQL queries on XML::DOM document structures.

See XML::XQL and XML::XQL::Query for more details. XML::DOM::Node describes the xql() method.

Releases

12 releases since Debian 3.0 (Woody); the text changed 4 times.

  1. 3.0
  2. 3.1–5.0
  3. 6.0–9
  4. 10–11
  5. 12–13

From libxml-xql-perl 0.68-9 in Debian 13 (Trixie). Parsed by carta from the page's man source.