XML::Grove::IDs - phpMan

Command: man perldoc info search(apropos)  


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

NAME
       XML::Grove::IDs - return an index of `id' attributes in a grove

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

AUTHOR
       Ken MacLeod, ken AT bitsko.us

SEE ALSO
       perl(1), XML::Grove(3), Data::Grove::Visitor(3)

       Extensible Markup Language (XML) <http://www.w3c.org/XML>

perl v5.32.0                                2021-01-04                       XML::Grove::IDs(3pm)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-12-12 20:04 @3.133.108.207 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!