Official Content

Returns the current node type obtained through the method Read or ReadType. 

Syntax

&DataType.NodeType

Type Returned:
Integer

Values

1:         Element
2:         EndTag
4:         Text
8:         Comment
16:       WhiteSpace
32:       Cdata
64:       ProcessingInstruction
128:     DocumentType

Note:

The following properties contain constant values which can be used to compare the NodeType property result to the ReadType method.

  • CDataType
  • CommentType
  • DoctypeType
  • ElementType
  • EndTagType
  • ProcessingInstructionType
  • TextType
  • WhiteSpaceType

Scope

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

See Also

XmlReader Data Type








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