If your data looks like you show, the statement should work. If it doesn't try to cut off from the end till it does to find the step that causes problems.
And as jettero suggests, try to have a look at other options that would give you a simpler datastructure or a way to query for the stuff you are interested in. Search PerlMonks for XML::Rules for example.
Jenda
Enoch was right!
Enjoy the last years of Rome.
In reply to Re: XML Simple
by Jenda
in thread XML Simple
by ddragosa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |