<?xml version="1.0" encoding="windows-1252"?>
<node id="1004839" title="Re: Replace the nth occurence" created="2012-11-21 00:32:07" updated="2012-11-21 00:32:07">
<type id="11">
note</type>
<author id="785425">
Ratazong</author>
<data>
<field name="doctext">
Your code is similar to the one in the 
&lt;a href="http://perldoc.perl.org/perlfaq4.html#How-do-I-change-the-Nth-occurrence-of-something?"&gt;
FAQ&lt;/a&gt; (except that you count downwards). And it works. What do you think is wrong with it?</field>
<field name="root_node">
1004836</field>
<field name="parent_node">
1004836</field>
</data>
</node>
