---
name: "stag-findsubtree"
section: "1p"
platform: "linux"
package: "libdata-stag-perl"
version: "0.14-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/stag-findsubtree"
---

# stag-findsubtree(1p)

finds nodes in a stag file

## NAME

stag-findsubtree - finds nodes in a stag file

## SYNOPSIS

```
  stag-findsubtree 'person/name' file.xml
```

## DESCRIPTION

parses in an input file and writes out subnodes

## 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

  xml assumed as default

- \-w\|writer FORMAT

  FORMAT is one of xml, sxpr or itext, or the name of a perl module

- NODE

  the name of the node/element

## LIMITATIONS

not event based

## SEE ALSO

Data::Stag
