DataElementName Element (RDL)
Contains the name of the data element or attribute for a report item or the name of the top-level element for a report rendered using a data rendering extension like the XML rendering extension.
语法
<Report> <!-- or <Line>, <Rectangle>, <Textbox>, <Image>, <Subreport>, <List>, <Matrix>, <Table>, <Chart>, <CustomReportItem>, <Grouping>, <Subtotal>, <DataPoint> -->
...
<DataElementName>...</DataElementName>
...
</Report> <!-- or /Line, /Rectangle, /Textbox, /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 DataPoint) |
See "Remarks." |
Default value (when used as a child of Report) |
Report |
Default value (when used as a child of Subtotal) |
Total |
Default value (when used as a child of a report item or grouping) |
Name of the report item or grouping. |
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, Report, Subreport, Subtotal, Table, Textbox |
Child element |
None |
备注
When the DataElementName element is used as a child of DataPoint, the default value for this element is the name of the corresponding static series or category. If there are no static series or categories, the default value of DataElementName is Value.
请参阅
参考
Report Definition XML Elements