Description
Setting that causes elements, attributes, and all other items above the Detail Start element in an XML export template for a group DataWindow to be iterated for each group in the exported XML.
Applies to
DataWindow objects
Syntax
PowerBuilder dot notation:
dw_control.Object.DataWindow.Export.XML.HeadGroups
Describe and Modify argument:
"DataWindow.Export.XML.HeadGroups { = 'value ' }"
Parameter |
Description |
---|---|
value |
(exp) Whether the contents of the header section in an export template iterate in the generated XML. Values are:
|
Usage
This property must be set for group DataWindow objects if you want elements and other items added to the header section of an XML export template to be repeated before each group in the exported XML. For DataWindow objects with multiple groups, each XML fragment in the header section between a Group Header element and the next Group Header element or Detail Start element is iterated.
In the painter
In the Data Export tab in the Properties view for the DataWindow object, select XML from the Format to Configure list and select Iterate header for Groups.
Examples
dw1.Object.DataWindow.Export.XML.HeadGroups = "Yes" dw1.Modify("DataWindow.Export.XML.HeadGroups = 'No' ")