XMLReader.SetString

Syntax:

SetString(<XMLLine>, <Parameters>, <XMLSchemaSet>)

Parameters:

<XMLLine> (required)

Type: String.
Line containing XML text.

<Parameters> (optional)

Type: XMLReaderSettings.
Reading parameters to be used for reading XML data.

<XMLSchemaSet> (optional)

Type: XMLSchemaSet.
XML schema set employed for validation of the XML document being read.
If the schema set is defined but not validated, and XML document validation is activated, then the schema set validation will be performed.

Description:

Defines the row containing XML text to be read by the given object. If XML has already been read from another file or rows before this method is called up, the reading will stop and the object initializes for reading from the row shown.

Availability:

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

Example:

XMLReader = New XMLReader;
XMLReader.SetString(StrXML);


    

1C:Enterprise Developer's Community