XML::Stream::Tree.3pm

Langue: en

Version: 2004-04-04 (openSuse - 09/10/07)

Section: 3 (Bibliothèques de fonctions)

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/ This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.