rsriram has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I want to renumber the id values for a set of tags in a XML file. For example, I want to sequentially insert id's for <p> element. The result should be
<p id="1">
<p id="2">
<p id="3">...
I tried using counters, but it does'nt work. Can any one tell me how to do it?
Sriram
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Renumbering ID values for XML tags
by prasadbabu (Prior) on Jun 23, 2006 at 10:23 UTC | |
by derby (Abbot) on Jun 23, 2006 at 12:01 UTC | |
by rsriram (Hermit) on Jun 23, 2006 at 13:46 UTC | |
by prasadbabu (Prior) on Jun 23, 2006 at 14:03 UTC | |
|
Re: Renumbering ID values for XML tags
by davorg (Chancellor) on Jun 23, 2006 at 10:36 UTC |