in reply to Perl and XML - Reading multiple lines

Welcome to the Monastery, scotb.

Please, format your question accordingly (Markup in the Monastery).

We cannot help you much if you do not provide a sample of the input data. Use <code> tags for the data, too.

To process XML, one usually uses some of the modules that really understand it. See XML::LibXML or XML::Twig.

لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ