[...]these are the few steps I read in the perldoc my $xml = "path of the xml on TS server"; my $parser = TeamSite::XMLparser->new(); my $docnode = $parser->parse($xml,'document'); my $rootnode = $parser->parse($xml);but when i print the $docnode or $rootnode, Its empty.Please tell me what is that I am doing wrong.
$xml
thanks ghoti..I have a few Qs around it.1. using XMLparser module, is this the only way to parse an xml, ie holding the entire xml content in one string. Can't we pass the path of the xml as done in XML:arser?2. $rootnode->value(); gives me the rootnode of the xml, how do I traverse the xml and get the attributes of a particular node?perldoc on XMLparser is not very clear.TIA