XMLReader.MoveToContent

Syntax:

MoveToContent(<SpaceCharacters>)

Parameters:

<SpaceCharacters> (optional)

Type: XMLSpace.
Indicates the method for checking for whitespace.
Default value: Default.

Returned value:

Type: XMLNodeType.
Value of a node where a current node was shifted; None - if XML data source end is reached.

Description:

Checks if a current value is a content (Text, StartElement, EndElement, EntityReference, EndEntity or Whitespace) if the parameter value is equal to Preserve or if the current value of Space property is set to Preserve).
If current node is not a content, then nodes are skipped till the content or till the end of XML data source.

Availability:

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

Note:

The following node types will be skipped: XMLDeclaration, ProcessingInstruction, DocumentTypeDefinition, Comment, and also Whitespace, if the parameter values is equal to Default and if the current value of Space property is set to Default.

    

1C:Enterprise Developer's Community