Specifications

Editing XML templates
378 InfoMaker
Drag-and-drop cannot replace
You cannot drag-and-drop an item on top of another item to replace it. For
example, if you want to replace one control reference with another control
reference, or with an InfoMaker expression, you first need to delete the control
reference you want to replace.
InfoMaker expressions
Adding an InfoMaker expression opens the Modify Expression dialog box.
This enables you to create references to columns from the data source of the
report. One use of this feature is to return a fragment of XML to embed,
providing another level of dynamic XML generation.
Using Date and
DateTime with strings
If you use a control reference or an InfoMaker expression that does not include
a string to represent Date and DateTime columns in a template, the XML
output conforms to ISO 8601 date and time formats. For example, consider a
date that displays as
12/27/2004 in the report, using the display format
mm/dd/yyyy. If the export template does not use an expression that includes a
string, the date is exported to XML as
2004-12-27.
However, if the export template uses an expression that combines a column
with a Date or DateTime datatype with a string, the entire expression is
exported as a string and the regional settings in the Windows registry are used
to format the date and time.
Using the previous example, if the short date format in the registry is
MM/dd/yy, and the InfoMaker expression is: "Start Date is " +
start_date
, the XML output is Start Date is 12/27/04.
Attributes
Controls or expressions can also be referenced for element attribute values.
Select Edit/Add Attribute from the pop-up menu for elements to edit an
existing attribute or add a new one.