Most element based attributes are String Centric (i.e constants)
e.g. fox:prompt=”Push Me”
Some attributes are Data Centric (i.ie derived from XPath)
e.g. fox:validate=”END_DATE > START_DATE”
String Centric attributes can be made data centric:
e.g. fox:prompt=”string(./PRODUCT_NAME)”
Many control attributes require a boolean product:
e.g. fox:edit=”.”
This is actually data centric, and “.” is an XPath. As a period is a node-list of one node, and when a node list of 1 or more nodes is cast to a boolean, the result is TRUE.
fox:edit=”.” is short for fox:edit=”boolean(self::node())”
Please use your XX_ORDERMODULE (where XX are your initials) file for the following exercises.
On the element “phantom-remove”, change the prompt to read “Remove PRODUCT_NAME” where product name is the name of the product in each row.
Update the column prompt to read “Remove”.