Then you are looking for:
$xml_ref->{'QuestionList'}->[0]->{Question}->[0]->{Answer}I have found using the debugger pretty useful in such a case: once the XML had been XMLin'd, I x'd $xml_ref->{'QuestionList'}, saw it was an array, then x'd $xml_ref->{'QuestionList'}->[0], then $xml_ref->{'QuestionList'}->[0]->{Question} and figured out it was also an array... hence the final code. I often use this technique to debug complex data structures.
In reply to Re: Re: Re: XML Parsing Out of Memory error
by mirod
in thread XML Parsing Out of Memory error
by JackHammer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |