DD Config File<group name="SIDEBARS_LEFT_TABLET" table="SIDEBARS" root-group="yes">
<attrmap>
<column name="LOCALE" data-type="NUMBER(1)" value-from-field="root/0/locale/0" allows-null="yes" />
<column name="POSITION" data-type="VARCHAR2(5)" value-from-field="root/0/left/0/type_1/[0-5]/sidebar_position" allows-null="yes" is-replicant="yes" />
<column name="TYPE" data-type="VARCHAR2(9)" value-from-field="root/0/left/0/type_1/[0-5]/sidebar_type_name" allows-null="yes" is-replicant="yes" />
<column name="TABLET_IMAGE_LINK" data-type="VARCHAR2(1000)" value-from-field="root/0/left/0/type_1/[0-5]/mb_path" allows-null="yes" is-replicant="yes" />
<column name="TABLET_URL" data-type="VARCHAR2(1000)" value-from-field="root/0/left/0/type_1/[0-5]/tablet_url" allows-null="yes" is-replicant="yes" />
<column name="ID" data-type="NUMBER(25)" value-from-field="root/0/left/0/type_1/[0-5]/sidebar_id" allows-null="yes" is-replicant="yes" />
</attrmap>
<keys>
<primary-key>
<key-column name="ID"/>
</primary-key>
</keys>
</group>
<group name="SIDEBARS_LEFT_FREEHTML" table="SIDEBARS" root-group="no">
<attrmap>
<column name="LOCALE" data-type="NUMBER(1)" value-from-field="root/0/locale/0" allows-null="yes" />
<column name="POSITION" data-type="VARCHAR2(5)" value-from-field="root/0/left/0/type_2/[0-5]/sidebar_position" allows-null="yes" is-replicant="yes" />
<column name="TYPE" data-type="VARCHAR2(9)" value-from-field="root/0/left/0/type_2/[0-5]/sidebar_type_name" allows-null="yes" is-replicant="yes" />
<column name="FREE_HTML" data-type="VARCHAR2(1000)" value-from-field="root/0/left/0/type_2/[0-5]/free_html" allows-null="yes" is-replicant="yes" />
<column name="ID" data-type="NUMBER(25)" value-from-field="root/0/left/0/type_2/[0-5]/sidebar_id" allows-null="yes" is-replicant="yes" />
</attrmap>
<keys>
<primary-key>
<key-column name="ID"/>
</primary-key>
</keys>
</group>
For the following DCR file, the DD works fine without any error.DCR File<?xml version="1.0" encoding="UTF-8"?>
<root>
<left>
<type_1 path="/images/ads/abc.jpg" sidebar_id="20070912163822464012" sidebar_position="left" sidebar_type_name="tablet" tablet_url="
http://www.yahoo.com"/> <type_2 free_html="New Ads" sidebar_id="2007091217529190005" sidebar_position="left" sidebar_type_name="free_html"/>
</left>
<locale>US</locale>
</root>
For the following DCR, its not. DCR File<?xml version="1.0" encoding="UTF-8"?>
<root>
<left>
<type_1 path="/images/ads/abc.jpg" sidebar_id="20070912163822464012" sidebar_position="left" sidebar_type_name="tablet" tablet_url="
http://www.yahoo.com"/> </left>
<locale>US</locale>
</root>
I am trying to create different rows based on "type_1" and "type_2".
"type_1" is a mandatory record. But not "type_2".
Please advice.
Thank you.