XMLCanonicalizingWriter.SetString

Syntax:

SetString(<CanonicalXMLType>, <InclusionPrefixes>)

Parameters:

<CanonicalXMLType> (optional)

Type: XMLCanonicalizationType.
Type of algorithm used for conversion in the canonical form.
Default value: XMLCanonicalization.

<InclusionPrefixes> (optional)

Type: String.
A list of namespace prefixes to be included in the following format: Prefix1 Prefix2.... Use inclusion prefixes in the algorithm of exclusive canonical XML (see w3c Standard, Exclusive XML Canonicalization).

Description:

You can use it to initialize an object to insert the resulting XML segment into the string.

Availability:

Thin client, server, thick client, external connection, Mobile application (client), Mobile application (server).

Example:

XMLWriter = New XMLCanonicalizingWriter;
XMLWriter.SetString();
// Writing the XML document
...
StrXML = XMLWriter.Close();


    

1C:Enterprise Developer's Community