<idref> : CookXml Core Tag


This tag is used to refer to an object created earlier by using the id name for the element. The tag of object is automatically set to be the tag where the id was referenced.

Constructor Attribute (ctor)

The constructor of this element is required and needs to be the id name of the object which has already been processed, or in the id cache (which can be manipulated manually via Java code).

Examples

The following XML code retrieves the object referenced by the id "button_1" and set its text attribute to "OK".

<idref ctor="button_1" text="OK"/>