You could get to the information more easily if instead of having the name in an element you had it in an attribute. then you could use the keyattr => Name option to have XML::Simple use the attribute as a key to a hash instead of using an array. If the attribute was name (all lower case) then you would not even have to use the option as it is one of the defaults.
As it is I don't think you can avoid the loop.
In reply to Re: (z) Finding an XML element with XML::Simple
by mirod
in thread (z) Finding an XML element with XML::Simple
by zigdon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |