Official Content

Moves forward to the following node, but only if constraints established are fulfilled.

Syntax

&DataType.ReadType(NodeTypeConstraint [ ,NameConstraint ] )

Where:
     NodeTypeConstraint
            Specifies the node types to be read, by indicating the node type constants concatenated with the character “+”. For example: NodeTypeConstraint = 1 + 4 (It specifies the Element and Text type).

Possible node types are:

Node Type Value
Element 1
EndTag 2
Text 4
Comment 8
WhiteSpace 16
CData 32
ProcessingInstruction 64
Doctype 128

 

NameConstraint
       Specifies the value for the name of the node to be read –as long as the node is Element or EndTag type.

Type Returned:
Numeric

Scope

Extended Data Types: XmlReader
Generators: .NET.NET Framework, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

Description

As the Read method, this method moves forward to the following node, but only if constraints established are fulfilled. If a node is read, It returns a whole value greater than zero. Otherwise, it returns zero.
For more information see this link.

See Also




Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant