Example IV
This example exports all rows from a DataWindow using the same settings as in Example III, but with the additional use of the HeadGroups property. The export settings are shown in Table 8.12.
Template | MetaDataType | SaveMetaData | IncludeWhiteSpace | HeadGroups |
---|---|---|---|---|
t_orders | XMLSchema! | MetaDataExternal! | Checked | Checked |
Listing 8.6. XML Data Export (Example IV)
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE Orders> <Orders xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xml11E.xsd"> <Customer id="101" fname="Michaels" lname="Devlin"> <Order id="2001"> <Item id="1"> <Product>300</Product> <Qty>12</Qty> <ShipDate>1996-09-15</ShipDate> </Item> <Item id="2"> <Product>301</Product> ... |
Get PowerBuilder® 9: Internet and Distributed Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.