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

Validating the XML – PB Docs 2021 – PowerBuilder Library

Validating the XML – PB Docs 2021

Validating the XML

Before you try to build a document from a file or string, you can
test whether the XML is well formed or, optionally, whether it conforms
to a DTD or Schema using the XMLParseFile or XMLParseString PowerScript
functions. For example, this code tests whether the XML in a file is
well formed:

By default, these functions display a message box if errors occur.
You can also provide a parsingerrors string argument to handle them
yourself. For more information about these functions, see the section called “XMLParseFile” in PowerScript Reference and
the section called “XMLParseString” in PowerScript Reference.


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