in reply to Re^4: Perl XML::Smart Out of memory! error
in thread Perl XML::Smart Out of memory! error
opps.. shoudl have been bit clear in previous post.
if tag is missing then
$f[3] = eval { $elt->first_child('Description[@langid="1"]')->att('Value'); };
Works.But if tags are not closed properly like
then i get an error..If i delete this .then it works.Otherwose it throws an error as mentioned earlier.<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^6: Perl XML::Smart Out of memory! error
by Anonymous Monk on Apr 29, 2014 at 02:15 UTC |
In Section
Seekers of Perl Wisdom