<?xml version="1.0" encoding="windows-1252"?>
<node id="1005493" title="Re^4: How to print the lines immediately above and below a matching line?" created="2012-11-25 08:55:42" updated="2012-11-25 08:55:42">
<type id="11">
note</type>
<author id="1005481">
Bio90</author>
<data>
<field name="doctext">
I have tried that but it has returned a &lt;code&gt;"Use of uninitialised value $data".&lt;/code&gt; I do not understand - surely &lt;code&gt;$data&lt;/code&gt; is initialised by &lt;code&gt;my $data = &lt;DATA&gt;;&lt;/code&gt;?</field>
<field name="root_node">
1005485</field>
<field name="parent_node">
1005491</field>
</data>
</node>
