Official Content

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



Type Returned:


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


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


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: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant