Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Example with no empty elements – PB Docs 125 – PowerBuilder Library

Example with no empty elements – PB Docs 125

Example with no empty elements

The three XML documents that follow all show the same result
when you select Rows>Import in the DataWindow painter of if ImportFile is
called with or without default arguments for start and end column,
start and end row, and DataWindow start column.

The DataWindow object has five columns: emp_id, emp_fname, emp_lname, phone,
and birth_date.

dwimp1.gif

Example 1

This example contains two rows, each with five elements that
match the column order, type, and validation requirements for the DataWindow object.

Example 2

In this example, the elements are not contained in rows, but
they still match the DataWindow object.

Example 3

The comments and processing instructions in this example are
not imported. The nesting of the <first> and <last> elements
within the <Name> element is ignored.

Result

All three XML documents produce this result:

emp_id

emp_fname

emp_lname

phone

birth_date

105

Matthew

Cobb

6175553840

04/12/1960

148

Julie

Jordan

6175557835

11/12/1951


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