Add a Data Format to a Locale
You must use valid syntax when adding a data format.
You can use Report Studio to show you the XML code that you need for a data format. In Report Studio, create a list report that contains the data that you want. Then, select the column and change the Data Format settings in the Report Studio Properties pane to get the format you want. It is a good idea to run the report to make sure the data format looks the way you want it to. Select View XML and use the same code syntax in the cogformat.xml file. (For an XML file that you can copy and paste from, follow instructions to Open and Save a Report Locally.)
For example, if you want to add a data format for date, create a report that contains a date column. Change the format of the date. Use the appropriate XML code syntax in the cogformat.xml file.
Your syntax might look similar to the bold code shown below:
<formatList name="qsdates" xml:lang="en-CA">
<dateFormat dateStyle="short" datesSeparator="."
</dateFormat>
<dateFormat dateStyle="full">Friday, December 19,
2003</dateFormat>
<dateFormat dateStyle="short">19/12/03</dateFormat>
<dateFormat dateStyle="medium">19-Dec-03</dateFormat>
<dateFormat dateStyle="long">December 19, 2003</dateFormat>
</formatList>