---
name: "XML::Stream::Tree"
section: "3pm"
platform: "linux"
package: "perl-xml-stream"
version: "1.24-13"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XML::Stream::Tree"
---

# XML::Stream::Tree(3pm)

Functions to make building and parsing the tree easier to work with.

## NAME

XML::Stream::Tree - Functions to make building and parsing the tree easier to work with.

## SYNOPSIS

```
  Just a collection of functions that do not need to be in memory if you
choose one of the other methods of data storage.
```

## FORMAT

The result of parsing:

```
  <foo><head id="a">Hello <em>there</em></head><bar>Howdy<ref/></bar>do</foo>
```

would be:\
          Tag   Content\
   \==================================================================\
   \[foo, \[{},\
          head, \[{id =\> "a"},\
                 0, "Hello ",\
                 em, \[{},\
                      0, "there"\
                     \]\
                \],\
          bar, \[{},\
                0, "Howdy",\
                ref, \[{}\]\
               \],\
          0, "do"\
         \]\
   \]

The above was copied from the XML::Parser man page.  Many thanks to Larry and Clark.

## AUTHOR

By Ryan Eatmon in March 2001 for http://jabber.org/

Currently maintained by Darian Anthony Patrick.

## COPYRIGHT

Copyright (C) 1998-2004 Jabber Software Foundation http://jabber.org/

This module licensed under the LGPL, version 2.1.
