Good morning,
I am very new to TeamSite but have searched the documentation and can't figure out how to do this.
What I would like to do is have a DCT that produces XML like this
<mods>
<identifier type="doi">34213</identifier>
<identifier type="control_num">AD232</identifier>
</mods>
I can successfully create this XML using the following snippet
<container name="ids" location="identifier" min="1" max="unbounded">
<tem name="id_num" pathid="#PCDATA" rowcontinue="t">
<label>Identifier: </label>
<text maxlength="0" required="t" size="20"/>
</item>
<item name="id_type" pathid="
@type">
<label>Identifier type: </label>
<select>
<option label="DOI" value="doi"/>
<option label="Control number" value="control_num"/>
</select>
</item>
</container>
However, what I would like my DCT to look like would be something like this:
DOI: _______________
Control number: _____________
I have tried various xpath values for the pathid (e.g. pathid="indentifier/
@type=doi") with many variations on the syntax but haven't found anything that worked. Is this at all possible?
Thanks in advance for any constructive advice!