Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XML::XQL::DOM(3)      User Contributed Perl Documentation     XML::XQL::DOM(3)

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 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.

perl v5.32.0			  2000-01-31		      XML::XQL::DOM(3)

NAME | SYNOPSIS | DESCRIPTION

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XML::XQL::DOM&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help