debian man page for xml::grove::path

Query: xml::grove::path

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XML::Grove::Path(3pm)					User Contributed Perl Documentation				     XML::Grove::Path(3pm)

NAME
XML::Grove::Path - return the object at a path
SYNOPSIS
use XML::Grove::Path; # Using at_path method on XML::Grove::Document or XML::Grove::Element: $xml_obj = $grove_object->at_path("/some/path"); # Using an XML::Grove::Path instance: $pather = XML::Grove::Path->new(); $xml_obj = $pather->at_path($grove_object);
DESCRIPTION
"XML::Grove::Path" returns XML objects located at paths. Paths are strings of element names or XML object types separated by slash ("/") characters. Paths must always start at the grove object passed to `"at_path()"'. "XML::Grove::Path" is not XPath, but it should become obsolete when an XPath implementation is available. Paths are like URLs /html/body/ul/li[4] /html/body/#pi[2] The path segments can be element names or object types, the objects types are named using: #element #pi #comment #text #cdata #any The `"#any"' object type matches any type of object, it is essentially an index into the contents of the parent object. The `"#text"' object type treats text objects as if they are not normalized. Two consecutive text objects are separate text objects.
AUTHOR
Ken MacLeod, ken@bitsko.slc.ut.us
SEE ALSO
perl(1), XML::Grove(3) Extensible Markup Language (XML) <http://www.w3c.org/XML> perl v5.10.1 2010-01-29 XML::Grove::Path(3pm)
Related Man Pages
xml::grove::path(3) - centos
xml::grove::subst(3) - redhat
xml::grove::perlsax(3pm) - debian
xml::grove::sub(3pm) - debian
xml::grove::subst(3pm) - debian
Similar Topics in the Unix Linux Community
Finding a XML element and moving the file
Extract text between two specified &quot;constant&quot; texts using awk
Shell program to check if the same text appears twice in an XML file
Replace the .txt file between two strings in XML file
How to concatenate Path name to a variable??