STAG-FINDSUBTREE(1)

πŸ“¦
version 0.14 Β· 3 versions
, in fedora 43

✨ NAME ✨

stag-findsubtree β€” bestie, it finds nodes in a stag file πŸ’…

This is a User Contributed Perl Documentation page, so you already know it's a little perl moment πŸͺ🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

stag-findsubtree 'person/name' file.xml

πŸ’– DESCRIPTION πŸ’–

okay so here's the whole vibe: it parses in an input file and writes out subnodes. that's it, that's the job, and it does it slayfully ✨


πŸŽ€ USAGE πŸŽ€

stag-findsubtree [-p PARSER] [-w WRITER] NODE FILE

πŸ’œ ARGUMENTS πŸ’œ

  • -p|parser FORMAT β€” FORMAT is one of xml, sxpr or itext, or the name of a perl module. and if you don't say anything? xml assumed as default 🫢
  • -w|writer FORMAT β€” FORMAT is one of xml, sxpr or itext, or the name of a perl module. yes bestie, same list, it's giving consistency πŸ”₯
  • NODE β€” the name of the node/element πŸ‘‘

🫢 LIMITATIONS 🫢

not event based 😭

fr fr, don't go expecting event-based streaming behaviour from this one. it is not that girl in this specific regard. set your expectations accordingly πŸ’€

🌈 SEE ALSO 🌈

  • Data::Stag πŸ’–

mwah, that's the whole page πŸŽ€ this beauty ships as part of perl v5.42.0, dated 2025-07-25, and honestly? iconic. stay hydrated, keep your FORMAT strings lowercase-correct, and go find those subtrees bestie βœ¨πŸ¦‹πŸ’…

πŸ“¦ where this page comes from