Unix/Linux Go Back    

RedHat 9 (Linux i386) - man page for xml::xql::dom (redhat section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

XML::XQL::DOM(3)	       User Contributed Perl Documentation		 XML::XQL::DOM(3)

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

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

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

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

perl v5.8.0				    2000-01-31				 XML::XQL::DOM(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 02:22 AM.