Hi,
I have the following container definition in my DCT
<root-container name="locations" location="locations" combination="and">
<container combination="and" hide-name="f" location="country" name="country" min="1" max="300">
<label>Country</label>
<item name="id" pathid="
@id" required="t">
<label>Id</label>
<text maxlength="3" size="3" />
</item>
<item name="name" pathid="
@name" required="t">
<label>Name</label>
<text maxlength="100" size="50" />
</item>
there are a couple of nested containers within this container. Here is how the data looks like
<country id="TH" name="thailand">
<location id="bangkok" latitude="13n45" longitude="100e31">
<office fax="123-3456-454" phone="12-323-1234">
<line>addr line 1</line>
<line>addr line 2</line>
<line>addr line 3</line>
</office>
</location>
</country>
I am trying to access country id using the following code:
<iw_iterate list='dcr.locations.country' var='ctry'>
<iw_value name=ctry.id' />
</iw_iterate>
This does not seem to work.
Am I doing something wrong here??
TIA