DataElementOutput Element (RDL)

Indicates whether the item appears in output rendered by the XML rendering extension or the CSV rendering extension.

Syntax

<Textbox> <!-- or <Line>, <Rectangle>, <Image>, <Subreport>, <List>, <Matrix>, <Table>, <Chart>, <CustomReportItem>, <Grouping>, <Subtotal>, <DataPoint>  -->
    ...
    <DataElementOutput>...</DataElementOutput>
    ...
</Textbox> <!-- or /Line, /Rectangle, /Image, /Subreport, /List, /Matrix, /Table, /Chart, /CustomReportItem, /Grouping, /Subtotal, /DataPoint -->

Element Characteristics

Characteristic Description

Data type and length

String

Default value (when used as a child of Grouping or DataPoint)

Output

Default value (when used as a child of Subtotal)

NoOutput

Default value (when used as a child of a report item)

Auto

Cardinality

0-1: Optional element that can occur once or not at all.

Element Relationships

Relationship Element

Parent element

Chart, CustomReportItem , DataPoint, Grouping, Image, Line, List, Matrix, Rectangle, Subreport, Subtotal, Table, Textbox

Child element

None

Remarks

DataElementOutput controls which report item data appears when a report is rendered by a data-only renderer (CSV or XML).

The DataElementOutput element contains one of the values listed in the following table.

Value Description

Output

Indicates the item appears in the output.

NoOutput

Indicates the item should not appear in the output.

ContentsOnly

Applies to XML only. Indicates the item does not appear in the XML, but the contents of the item are rendered as part of the containing report item. ContentsOnly can only be used with lists.

Auto

If the item is a text box with a constant value, such as a label, the item does not appear (NoOutput). If the item is a rectangle, the output is the same as it is for ContentsOnly. For all other report items, the item appears in the output (Output).

When used as a child of Grouping or DataPoint, the DataElementOutput element can only contain Output or NoOutput.

See Also

Reference

Report Definition XML Elements

Help and Information

Getting SQL Server 2005 Assistance