TeamSite 5.5.2 SP2 Windows 2000
I have a cgitask that calls my ipl. In the ipl I parse the DCR to extract item values from the DCR.
open DCR,$dcrname or die("$! - Cannot open DCR (r)...get help from the teamsite admin");
# read in the entire DCR
local $/=undef;
my $xml = <DCR>;
close DCR;
my $parser = TeamSite::XMLparser->new();
my $rootnode = $parser->parse($xml);
if (defined $rootnode)
{
# Read values from DCR
foreach $dcr_item (
@tags) {
$dcr_element = $rootnode->value($dcr_item);
if ($dcr_element ne "")
{
........
}
else { print "\n$dcr_item is null" if $DEBUG;}
}
}
else
{
print "DCR rootnode undefined";
exit (1);
}
This works fine for items with a single value, but how do I get multiple values for option dropdown lists where multiselect='t' ?