Posted on 2008-11-21 20:11:59-08 by eserte in response to 9390
Re: how to get a sub node and their contents
Easiest is too use XPath expressions. Untested:
$root = XML::LibXML->new->parse_string($xml)->documentElement; $firmware_version = $root->findvalue("/LinkType/FirmwareVersion");
Direct Responses: 9420 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.