XML::Parser::Lite::Tree::XPath man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

XML::Parser::Lite::TreUserPContributed Perl DXML::Parser::Lite::Tree::XPath(3)

NAME
       XML::Parser::Lite::Tree::XPath - XPath access to
       XML::Parser::Lite::Tree structures

SYNOPSIS
	 use XML::Parser::Lite::Tree;
	 use XML::Parser::Lite::Tree::XPath;

	 my $parser = new XML::Parser::Lite::Tree(process_ns => 1);
	 my $tree = $parser->parse($xml);

	 my $xpath = new XML::Parser::Lite::Tree::XPath($tree);
	 my $nodes = $xpath->select_nodes('/aaa');

	 my $nodes = $xpath->select_nodes('/*/*/parent::*');
	 my $nodes = $xpath->select_nodes('//ccc[ position() = floor(last() div 2 + 0.5) or position() = ceiling(last() div 2 + 0.5) ]');

DESCRIPTION
       This pure-Perl implementation of XPath is a complement to
       XML::Parser::Lite::Tree, a pure-Perl XML tree parser and builder. It
       aims to implement 100% of the W3C XPath specification.

METHODS
       "new( $tree )"
	   The constructor returns a new XPath parser for the given tree.

       "query( $path )"
	   Returns a XML::Parser::Lite::Tree::XPath::Result object containing
	   the result of the query.

       "select_nodes( $path )"
	   A convinience function around "query()" which returns 0 unless the
	   result is a nodeset, else returns the value of the nodeset.

AUTHORS
       Copyright (C) 2004-2008, Cal Henderson <cal@iamcal.com>

SEE ALSO
       XML::Parser::Lite::Tree

perl v5.14.1			  2009-08-20 XML::Parser::Lite::Tree::XPath(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net