Example II

This example exports all rows from a DataWindow using the default export template and an internal DTD for element type definitions. The export settings are shown in Table 8.10.

Table 8.10. Settings for Example II
TemplateMetaDataTypeSaveMetaDataIncludeWhiteSpaceHeadGroups
t_defaultXMLDTD!MetaDataInternal!CheckedUnchecked
Listing 8.3. XML Metadata Export (Example II)
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!DOCTYPE d_orders [ <!ELEMENT d_orders (d_orders_row*)> <!ELEMENT d_orders_row (order_id, order_cust_id, order_date, order_items_line_id, order_items_prod_id, order_items_quantity, order_items_ship_date, customer_fname, customer_lname)> <!ELEMENT order_id (#PCDATA)> <!ELEMENT order_cust_id (#PCDATA)> <!ELEMENT order_date ...

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.