foo->getNodeList should return an arrayso it should be something like:my @ref = $L1->get_node_list('Con_LN_Page_Level_One_Item');But I do not think you even need that (If there is only 1 Con_LN...Item)you should be able to $someval= $L1->get_value('Con_LN_Page_Level_One_Item.Item_dd_LN_Page_Level_One');
Hi I tried the above it didnt work.in my xml < Con_LN_LeftNavigation > is a replicant . Here I have given only a small piece of the actual xml.As per the suggestion I modified the file to the below its still not working.Please suggest a solution-Thanks
use Teamsite::XMLParser;my $parser = TeamSite::XMLparser->new();
XMLParser is being used in use statemnt as specified in the first statement and then for getting the root node,XMLparser is used. ...