Sybase 2 Barcode Reader User Manual


 
CHAPTER 14 Exporting and Importing XML Data
DataWindow Designer User’s Guide 395
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.
For each attribute specified, you can select a control reference from the
drop-down list or enter a literal text value. A literal text value takes precedence
over a control reference. You can also use the expression button to the right of
the Text box to enter an expression.
The expression button and entry operates similarly to DataWindow object
properties in the Properties view. The button shows a green equals sign if an
expression has been entered, and a red not-equals sign if not. A control
reference or text value specified in addition to the expression is treated as a
default value. In the template, this combination is stored with the control
reference or text value, followed by a tab, preceding the expression. For
example:
attribute_name=~"text_val~~tdw_expression~"
Composite and nested reports
Report controls can be referenced in the Detail section of export templates as
children of an element.
Nested reports supported for XML export only
Import does not support nested reports. If you attempt to import data in any
format, including XML, CSV, DBF, and TXT, that contains a nested report, the
nested report is not imported and the import may fail with errors.