Importing XML – PB Docs 2017

Importing XML

You can select XML as a file type in the dialog box that displays
when you select Rows>Import in the DataWindow painter. (The Preview
view must be open to enable the Rows>Import menu item.)

You can also import data from an XML document or string using the
ImportFile, ImportString, or ImportClipboard methods. These methods have
an optional first parameter that enables you to specify the type of data
to be imported.

Data can be imported with or without a template. To import data
without a template, the data must correspond to the DataWindow column
definition. The text content of the XML elements must match the column
order, column type, and validation requirements of the DataWindow
columns.

Composite, OLE, and Graph DataWindow objects

Composite, OLE, and Graph DataWindow objects cannot be imported
using a template. You must use the default format. Graph controls must
also be imported using 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