The issue is I asked a colleague for advise whilst waiting for a reply from that thread and as a result my most complete script is all written to use TreeBuilder now. I would have the same problem if I used Twig I feel. I just need it to return 1, 2, 3 etc. After writing 5 scripts, doing some serious googling and pestering colleagues via email I still can't get it to work. Google results show examples where people have used the above example or:
@array = $drug->find_by_tag_name('groups')->find_by_tag_name('group')->as_text;But I can't get this to capture all the information I need. Getting very fed up and disheartened so whoever helps me out should know in advance they're doing their super good deed of the day!
In reply to Re^2: XML::TreeBuilder capture multiple attributes to array
by yesitsjess
in thread XML::TreeBuilder capture multiple attributes to array
by yesitsjess
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |