cibiena has asked for the wisdom of the Perl Monks concerning the following question:
How I can delte the duplicated xml lines (the first 3 and the last 3 in example)?? output must be:<item pr_1="a" pr_2="2" internal="co_1" pr_family="2" /> <item pr_1="b" pr_2="2" internal="co_1" pr_family="2" /> <item pr_1="c" pr_2="2" internal="co_1" pr_family="2" /> <item pr_1="a" pr_2="1" internal="co_1" pr_family="2" /> <item pr_1="b" pr_2="1" internal="co_1" pr_family="2" /> <item pr_1="c" pr_2="1" internal="co_1" pr_family="2" /> <item pr_1="a" pr_2="2" internal="co_1" pr_family="2" /> <item pr_1="b" pr_2="2" internal="co_1" pr_family="2" /> <item pr_1="c" pr_2="2" internal="co_1" pr_family="2" />
thanks<item pr_1="a" pr_2="2" internal="co_1" pr_family="2" /> <item pr_1="b" pr_2="2" internal="co_1" pr_family="2" /> <item pr_1="c" pr_2="2" internal="co_1" pr_family="2" /> <item pr_1="a" pr_2="1" internal="co_1" pr_family="2" /> <item pr_1="b" pr_2="1" internal="co_1" pr_family="2" /> <item pr_1="c" pr_2="1" internal="co_1" pr_family="2" />
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: delete duplicated xml lines
by hbm (Hermit) on Aug 08, 2012 at 18:49 UTC | |
by cibiena (Initiate) on Aug 09, 2012 at 17:43 UTC | |
by hbm (Hermit) on Aug 09, 2012 at 17:51 UTC | |
by cibiena (Initiate) on Aug 09, 2012 at 22:30 UTC | |
by hbm (Hermit) on Aug 10, 2012 at 13:31 UTC | |
| |
|
Re: delete duplicated xml lines
by Kenosis (Priest) on Aug 09, 2012 at 02:59 UTC |