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

ExportToXMLFile – PB Docs 2022 – PowerBuilder Library

ExportToXMLFile – PB Docs 2022

ExportToXMLFile

PowerScript function

Description

Saves the RibbonBar content to an XML file. The XML version 1.0 is
supported.

Applies to

RibbonBar
control

Syntax

Argument

Description

FileName

The file path and file name where the XML file will be
saved.

encoding (optional)

Character encoding of the file to which the data is saved.
If you do not specify an encoding parameter, the file is saved
in UTF8 format. If you specify EncodingANSI! in the Japanese OS,
EncodingUTF8! will be used instead of EncodingANSI! (as the
ISO-2022-JP encoding used by ANSI in the Japanese OS is
unsupported).

Values are:

  • EncodingANSI!

  • EncodingUTF8! (default)

  • EncodingUTF16LE!

  • EncodingUTF16BE!

Return value

Integer.

1 – Successful.

-1 – An error occurs.

-2 – Failed to load library.

-3 – The specified file does not exist.

If any argument’s value is null, returns null.

Examples

See also

ExportJSON

ExportXML

ExportToJSONFile

ImportJSON

ImportXML

ImportFromJSONFile

ImportFromXMLFile


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