tspratt
01-16-2004, 11:26 AM
A replicating class is bound to a datapath so that the value of a text element, for example, can be set using the @[AttributeName] syntax.
Can I set a datapath attribute value directly into a class attribute value?
In the follwing snippet, I want to put the @value into the "itemvalue" class attribute's "value" attribute, instead of displaying it in the text element.
<class name="item" extends="listitem" >
<attribute name="itemvalue" value="@value" />
<text name="textCaption" datapath="@caption" />
<text name="textValue" datapath="@value" />
</class>
Can I set a datapath attribute value directly into a class attribute value?
In the follwing snippet, I want to put the @value into the "itemvalue" class attribute's "value" attribute, instead of displaying it in the text element.
<class name="item" extends="listitem" >
<attribute name="itemvalue" value="@value" />
<text name="textCaption" datapath="@caption" />
<text name="textValue" datapath="@value" />
</class>