in reply to Re^3: Perl XML::Smart Out of memory! error
in thread Perl XML::Smart Out of memory! error
looking at the xml i find that there is block with missing attributes.It has the opening and closing Category tag but not discription.How do i get it to ignore where tags are missing and keep processing$f[3] = $elt->first_child('Description[@langid="1"]')->att('Value');
<Category ID="1" LowPic="" Score="0" Searchable="0" ThumbPic="" UNCA +TID="" Visible="0"> <Name ID="0" Value="" langid="1"/> <ParentCategory ID="1"/> </Category>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Perl XML::Smart Out of memory! error
by poj (Abbot) on Apr 29, 2014 at 07:55 UTC | |
|
Re^5: Perl XML::Smart Out of memory! error
by Anonymous Monk on Apr 28, 2014 at 22:59 UTC |