Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 9 Using the OIG Rules Programming Interface : Format Rules

Format Rules
Format rules transform, format, or otherwise process the data coming from a source data table, before displaying it on a web page. For example, if you want a date that is stored in the data table as 00/12/09 displayed as December 9, 2000, use a format rule.
Applying Format Rules
You can specify a separate format rule for each data field. You apply a format rule to a field using the TIBCO Object Service Broker UI, in the field map XML document. To apply a format rule to an XML document data field, enter the name of the rule in the Output field or In field of an XML field map, as shown in the following illustration.
In the Output field, you specify the name of a rule that formats the data contained in the field when producing the XML document. In the In field, you specify the name of a rule that formats the data parsed from the XML document being consumed.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved