O'Reilly logo

PowerBuilder® 9: Internet and Distributed Application Development by John D. Olson, Bill Green

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Example III

This example exports all rows from a DataWindow using a custom export template and an external schema for type definitions. The export settings are shown in Table 8.11.

Table 8.11. Settings for Example III
TemplateMetaDataTypeSaveMetaDataIncludeWhiteSpaceHeadGroups
t_ordersXMLSchema!MetaDataExternal!CheckedUnchecked
Listing 8.4. XML Data Export (Example III)
<?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> <Qty>12</Qty> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required