Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

XML::XQL::DOM
Adds XQL support to XML::DOM nodes

XML::XQL::DOM - Adds XQL support to XML::DOM nodes


NAME

XML::XQL::DOM - Adds XQL support to XML::DOM nodes


SYNOPSIS


 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");


DESCRIPTION

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

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

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy