in reply to Re: XML tag replace
in thread XML tag replace
<author-group> <auth> </auth> <auth> </auth> <auth> </auth> <aff> </aff> <aff> </aff> <corres id="cor1"> </corres> </author-group>
I want to group all <auth> tags in a separate tag like
<author-group> <XXX> <auth> </auth> <auth> </auth> <auth> </auth> <XXX> <aff> </aff> <aff> </aff> <corres id="cor1"> </corres> </author-group>
I tried this using regular expression. I can’t get the “</auth>carriage return <aff>”. Please advice. Could you please suggest any book to learn basics of perl.
Edit: g0n - code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: XML tag replace
by GrandFather (Saint) on Jul 14, 2007 at 00:22 UTC | |
|
Re^3: XML tag replace
by toolic (Bishop) on Jul 13, 2007 at 17:31 UTC |