<?xml version="1.0" encoding="windows-1252"?>
<node id="706297" title="Re^3: XML::Parser Tutorial" created="2008-08-22 15:58:23" updated="2008-08-22 11:58:23">
<type id="11">
note</type>
<author id="105128">
Jenda</author>
<data>
<field name="doctext">
&lt;p&gt;No it was a response to the root node. For your problem ... show us your code. It's true that the Char handler will never be called, but both the Start and End handlers should. In either case you of course can use XML::Rules for that XML as well, specify a handler for the student tag and it will obtain all the attributes. Or, it you do not need to handle the individual &amp;lt;student&amp;gt; tags as you read them, specify &lt;c&gt;student =&gt; 'as array',&lt;/c&gt; or possibly &lt;c&gt;student =&gt; 'by name',&lt;/c&gt; in the rules. And handle the array of students in &lt;c&gt;$attr-&gt;{student}&lt;/c&gt; or access the individual students as &lt;c&gt;$attr-&gt;{$name}&lt;/c&gt; (depends on the rule you specify for &amp;lt;student&amp;gt;) in the handler for &amp;lt;class&amp;gt;.&lt;/p&gt;


&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-105128"&gt;
&lt;p&gt;Jenda&lt;br&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;
&lt;a href="http://skender.be/supportdenmark/"&gt;Support Denmark!&lt;br&gt;Defend the free world!&lt;/a&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;

&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
62782</field>
<field name="parent_node">
706274</field>
</data>
</node>
