yesitsjess has asked for the wisdom of the Perl Monks concerning the following question:
<?xml version="1.0" encoding="UTF-8"?> <somerubbish> <data1 type="INTEREST1" somerubbish> <groups> <group>INTEREST2</group> </groups> <targets> <target position="1" partner="INTEREST3"> <known-action>INTEREST4</known-action> </target> </targets> </data1> <data2 ....(etc)
How can I capture INTEREST1,2,3&4? I have been trying for a while now, read several help pages, and starting to feel it would be far easier just to use regexes. Can anyone help please?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML::Twig help
by Anonymous Monk on Jul 03, 2012 at 12:47 UTC | |
by yesitsjess (Initiate) on Jul 03, 2012 at 12:55 UTC | |
by mirod (Canon) on Jul 03, 2012 at 13:43 UTC | |
by yesitsjess (Initiate) on Jul 05, 2012 at 10:36 UTC | |
by Anonymous Monk on Jul 03, 2012 at 13:01 UTC | |
|
Re: XML::Twig help
by Ransom (Beadle) on Jul 03, 2012 at 13:02 UTC |