<?xml version="1.0" encoding="windows-1252"?>
<node id="1012164" title="Re: create .ncx files" created="2013-01-08 01:07:28" updated="2013-01-08 01:07:28">
<type id="11">
note</type>
<author id="159887">
NetWallah</author>
<data>
<field name="doctext">
Is there a question here ?&lt;p&gt;
Please see [Writeup Formatting Tips] for information on how to post code correctly.&lt;p&gt;
You may also want to read up on how to use Arrays in perl. Information on this  is available by typing "perldoc perlintro".&lt;p&gt;
I would also recommend adding the following to the top of every program you write:
&lt;c&gt;
use strict;
use warnings;
&lt;/c&gt;
If you need assistance debugging pyour program, please show the content of the file "b.txt" (at least the first few lines).&lt;p&gt;
It appears that you want to process a template with some data. An experienced programmer would use something like [cpan://Template::Toolkit].

&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-159887"&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;small&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
"By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."
 &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; -Confucius
&lt;/small&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1012159</field>
<field name="parent_node">
1012159</field>
</data>
</node>
