I have been using the exists method in XML::LibXML 1.70 :
if ($tmpnode->exists('Name/OtherName') == 1) { bhah bhah } else { blah blah }
... unfortunately where I am ultimately going to run the script only as XML::LibXML 1.63 with perl 5.8.0 installed and I am unable to have it upgraded. From here it looks like the exists method came about in 1.69 - does anyone know of an easy alternative?
thanks in advance
In reply to XML::LibXML exists method by thechane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |