stag-findsubtree - finds nodes in a stag file
stag-findsubtree 'person/name' file.xml
parses in an input file and writes out subnodes
stag-findsubtree [-p PARSER] [-w WRITER] NODE FILE
FORMAT is one of xml, sxpr or itext, or the name of a perl module
xml assumed as default
the name of the node/element
not event based
Data::Stag
To install Data::Stag, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Stag
CPAN shell
perl -MCPAN -e shell install Data::Stag
For more information on module installation, please visit the detailed CPAN module installation guide.