6.1.2 XML Element Types

The XML Element Types can be specified as any one of the following pre-defined types:

String

Boolean

Float

Double

Char

Byte

Short

Integer

Long

TimeInstant – Date and time

Date – Date only

Time – Time of day

For date and time data types, you can supply a date format to create a date parser. Construct the format string according to the java.text.SimpleDateFormat specification. (See Adding a Format to a Data Field for more information about format specifications.) For example, to parse the date '01/30/2000 01:30:59', use the format 'MM/dd/yyyy hh:mm:ss'. The 'double' element type requires that the decimal format be specified. Construct the format according to java.text.DecimalFormat specification. For example, to add commas to a number, use '#, ###, ###. ##'.

<< 6.1.1 Defining an XML Data Source © 1996-2013 InetSoft Technology Corporation (v11.5) 6.2 Web Service Data Source >>