Example I

This example exports all rows from a DataWindow using the default export template and no element type definitions. The export settings are shown in Table 8.9.

Table 8.9. Settings for Example I
TemplateMetaDataTypeSaveMetaDataIncludeWhiteSpaceHeadGroups
t_defaultXMLNone!—Checked—Unchecked
Listing 8.2. XML Export Data (Example I)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<d_orders>
  <d_orders_row>
      <order_id>2001</order_id>
      <order_cust_id>101</order_cust_id>
      <order_date>3/14/1996</order_order_date>
      <order_items_line_id>1</order_items_line_id> <order_items_prod_id>300</order_items_prod_id> <order_items_quantity>12</order_items_quantity> <order_items_ship_date>1996-09-15</order_items_ship_date> <customer_fname>Michaels</customer_fname> ...

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.