I am trying to get the deeper nodes and a values of a field . The deeper field is inside a replicant container with an and combination with sever other containers.
so when i hard code the field inside my code it still throws an error. can anyone point me where I was going wrong.
[html]
#!/usr/Interwoven/TeamSite/iw-perl/bin/iwperl
use TeamSite::XMLparser;
$dcr =
'/iwmnt/default/main/Marketing/Products/WORKAREA/ProductWA/templatedata/catalog/asics/data/appliances/mcs';
my $xml = "";
open DCR, "$dcr";
while () { $xml .= $_; } close DCR;
$parser = TeamSite::XMLparser->new();
$rootnode = $parser->parse($xml);
@reps = $rootnode->get_node_list('product');
for $rep (
@reps) {
$alink = $rep->value('microcontroller.productid');
print "alink is $alink\n";
}
[/html]
Thank You