Salesforce

XMLGetEncoding (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

XMLGetEncoding (Magic xpa 3.x)

Retrieves the encoding of an XML document.

Syntax:

XMLGetEncoding (generation, I/O entry)

Parameters:

generation – Numeric. A number that represents the task's hierarchic position in the runtime task tree. 0 represents the current task, 1 its immediate ancestor, and so on.

I/O entry – Numeric. A number that represents the sequence number of the I/O entry in the current task.

Returns:

An Alpha string that provides the encoding for the XML file that was opened under the specific I/O entry determined by the generation and I/O entry parameters.

Exceptions:

This function is not supported for Rich Client tasks.

See also:

XMLSetEncoding

How Do I Determine the Encoding for an XML Document?

The Online and Rich Client Samples projects (program XM13 and RXM13)

Reference
Attachment 
Attachment