Exporting to XML – PB Docs 2017

Exporting to XML

You can export the data in a DataWindow or DataStore object to XML
using any of the techniques used for exporting to other formats such as
PSR or HTML:

  • Using the SaveAs method:

  • Using PowerScript dot notation or the Describe method:

  • Using the Save Rows As menu item in the DataWindow
    painter.

    With the Preview view open, select File>Save Rows As,
    select XML from the Files of Type drop-down list, provide a file
    name, and click Save. You can use this in the development
    environment to preview the XML that will be generated at
    runtime.

When you export data, PowerBuilder uses an export template to
specify the content of the generated XML.

Default export format

If you have not created or assigned an export template,
PowerBuilder uses a default export format. This is the same format
used when you create a new default export template. See Creating templates.

OLE DataWindow objects cannot be exported using a template. You
must use the default format.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x