Hi,
I'm parsing a XML file with XML::XPath.
with a command like :
$data = $row->find('/Names/Name')->string_value;
But how can I extract
this data - 559 - in <Category ID="559" :
<CategoriesList>
<Category ID="559" UNCATID="45111601" Searchable="0" >
<ParentCategory ID="558">
<Names>
<Name ID="1117">projectors</Name>
</Names>
thanks,
I'm parsing a XML file with XML::XPath.
with a command like :
$data = $row->find('/Names/Name')->string_value;
But how can I extract
this data - 559 - in <Category ID="559" :
<CategoriesList>
<Category ID="559" UNCATID="45111601" Searchable="0" >
<ParentCategory ID="558">
<Names>
<Name ID="1117">projectors</Name>
</Names>
thanks,