Hello.
I have a problem with DD conf file, specifically with the <substitution> section in it.
Here below is the definition section of (****_dd.cfg).
<substitution name="modifyPath">
<field name="URLGroup/[0-9]/URLItem/[0-49]/URL" match="/templatedata/" replace="templatedata/" />
<field name="URLGroup/[0-9]/URLItem/[0-49]/URL" match="/" replace="\" global="yes"/>
</substitution>
As you may guess, 'URL Group' and 'URLItem' are replicants, and I'd like to apply the substitution rule to 'URL' data.
Here's the DCT I use.
<?xml version="1.0" standalone="no"?>
<!DOCTYPE datacapture SYSTEM "datacapture5.0.dtd">
<data-capture-requirements type="content" name="Detail Content">
<ruleset name="Detail Content">
<item name="URLGroup">
<replicant min="0" max="10">
<item name="URLItem">
<replicant min="1" max="50">
<item name="URL">
<browser required="f" size="40" maxlength="255" initial-dir="/templatedata/" />
</item>
<item name="URL_Title">
<text required="f" size="50" maxlength="255" />
</item>
</replicant>
</item>
</replicant>
</item>
</ruleset>
</data-capture-requirements>
The substitution pattern match and replacement are working just fine for a non-replicant item, but I don't know why it doesn't in this case.
Do you have a solution or an example similar to this? I appreciate in advance.
FYI, DD 5.6 is the one.
Brendan
Developer,
BlastRadius Inc.
brendan.kim@blastradius.com
Edited by BrendanKim on 01/04/05 10:21 AM (server time).