<?xml version="1.0" encoding="windows-1252"?>
<node id="994895" title="Re: XML Parsing" created="2012-09-21 08:58:16" updated="2012-09-21 08:58:16">
<type id="11">
note</type>
<author id="622051">
toolic</author>
<data>
<field name="doctext">
As formatted, your data is hard to understand.  I tried to make it presentable using 2 tools ([mod://XML::Tidy] and [man://xmllint]), but both returned errors.

&lt;p&gt;Therefore, I will only offer the general advice to use an XML parser.  I have been happy with [mod://XML::Twig]. It has a tutorial, and there are many code examples here at the Monastery (and elsewhere).

</field>
<field name="root_node">
994888</field>
<field name="parent_node">
994888</field>
</data>
</node>
