I am new to perl, but have looked at the documentation and tried several things to just look up a value in a dcr in a perl script. here is the code for reading a dcr that I have:
my ($dcr_file) =
@_;
# Read in DCR
$dcr_file= "/iwmnt/default/main/BCBSIL/Producer/WORKAREA/Content/" . $dcr_file;
open (DCR, "$dcr_file");
my $xml = <DCR>;
close (DCR);
# Assume a reference is an already defined rootnode object
my $parser = TeamSite:

CRparser->new();
my $docnode = $parser->parse($xml,'document');
my $rootnode = $parser->parse($xml);
$value1 = $docnode->value('FILENAME');
$value2 = $rooonode->value();
Here is the datacapture.cfg file:
<description>Template for Contibution of Breadcrumb and Main Window Content associated with products</description>
<!-- Begin of Standard Metadata Fields -->
<inline command="/usr/iw-home/iw-perl/bin/iwperl /usr/iw-home/custom/bin/basic_values.ipl" />
<item name="DIVISION">
<label>Division</label>
<select required="t">
<option value="IL" label="IL" selected="t"/>
</select>
</item>
<inline command="/usr/iw-home/iw-perl/bin/iwperl /usr/iw-home/custom/bin/product_values.ipl" />
<item name="PORTAL">
<label>Portal</label>
<select required="t">
<option value="PRODUCER" label="Producer" selected="t"/>
</select>
</item>
<item name="CONTENTTYPE">
<label>Content Type</label>
<select required="t">
<option value="PRODUCER-FILES" label="Producer-Files" selected="t"/>
</select>
</item>
<inline command="/usr/iw-home/iw-perl/bin/iwperl /usr/iw-home/custom/bin/filecategory_values.ipl" />
<inline command="/usr/iw-home/iw-perl/bin/iwperl /usr/iw-home/custom/bin/target_values.ipl" />
<inline command="/usr/iw-home/iw-perl/bin/iwperl /usr/iw-home/custom/bin/producertype_values.ipl" />
<inline command="/usr/iw-home/iw-perl/bin/iwperl /usr/iw-home/custom/bin/marketsegment_values.ipl" />
<inline command="/usr/iw-home/iw-perl/bin/iwperl /usr/iw-home/custom/bin/spprole_values.ipl" />
<inline command="/usr/iw-home/iw-perl/bin/iwperl /usr/iw-home/custom/bin/amarole_values.ipl" />
<!-- End of Standard Metadata Fields -->
<!-- Begin of Main Window Content Fields -->
<item name="TITLE">
<label>Title</label>
<description>Max Length = 100 characters</description>
<label>Title</label>
<text maxlength="100" size="50" required="t" />
</item>
<item name="FILENAME">
<label>File name</label>
<description>Friendly name of the file</description>
<label>PDF File Path</label>
<browser initial-dir="/producer/pdf" ceiling-dir="/provider/pdf" extns=".pdf" size="50" required="f" />
</item>
<item name="FORMNUMBER">
<label>Form Number</label>
<description>Click Browse button to import a PDF file</description>
<label>Form Number</label>
<text maxlength="100" size="50" required="f" />
</item>
<item name="FILELASTUPDATEDATE">
<label>File last update date</label>
<description>Last date a file was modified</description>
<label>Last Update Date</label>
<text maxlength="100" size="50" required="f" />
</item>
<item name="FILESIZE">
<label>File size</label>
<description>Max Length = 50 characters</description>
<label>File Size</label>
<text maxlength="50" size="50" required="f" />
</item>
<item name="SORTORDER">
<label>Sort Order</label>
<description>Order placement 10,000 - Litature; 20,000 Group Admin Guides; 30,000 - Presentation Templates; 40,000 Benefit Highlight sheets; 50,000 - Downloadable Forms; 60,000 - Employer Kits</description>
<label>Sort Order</label>
<text maxlength="50" size="50" required="t" />
</item>
<!-- End of Main Window Content Fields -->
<script language="javascript" location="webserver" src="/iw/formapi/forms.js"/>
</ruleset>
</data-capture-requirements>
How do I get the value of <item name="FILENAME">?????