Query: xml::grove::ids
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XML::Grove::IDs(3) User Contributed Perl Documentation XML::Grove::IDs(3)NAMEXML::Grove::IDs - return an index of `id' attributes in a groveSYNOPSISuse XML::Grove::IDs; # Using get_ids method on XML::Grove::Document or XML::Grove::Element: $hash = $grove_object->get_ids($attr_name, $elements); # Using an XML::Grove::IDs instance: $indexer = XML::Grove::IDs->new($attr_name, $elements); my $hash = {}; $grove_object->accept($indexer, $hash);DESCRIPTION"XML::Grove::IDs" returns a hash index of all nodes in a grove with an `id' attribute. The keys of the hash are the ID attribute value and the value at that key is the element. `$attr_name' and `$elements' are optional. The attribute name defaults to `"id"' if `$attr_name' is not supplied. Indexing can be restricted to only certain elements, by name, by providing a hash containing NAME=>1 values.AUTHORKen MacLeod, ken@bitsko.slc.ut.usSEE ALSOperl(1), XML::Grove(3), Data::Grove::Visitor(3) Extensible Markup Language (XML) <http://www.w3c.org/XML> perl v5.16.3 1999-08-17 XML::Grove::IDs(3)
Related Man Pages |
---|
xml::grove::path(3) - redhat |
xml::grove::ascanonxml(3) - redhat |
xml::grove::subst(3) - centos |
xml::grove::ascanonxml(3) - centos |
xml::grove::subst(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Weird 'find' results |
CentOS7 restoring file capabilities |
Docker learning Phase-I |
Unsure why access time on a directory change isn't changing |