次の方法で共有


XmlNodeType Enumeration

 

Lists the valid values for supported XML nodes.

Syntax

  
enum XmlNodeType {  
    XmlNodeType_None = 0,  
    XmlNodeType_Element = 1,  
    XmlNodeType_Attribute = 2,  
    XmlNodeType_Text = 3,  
    XmlNodeType_CDATA = 4,  
    XmlNodeType_ProcessingInstruction = 7,  
    XmlNodeType_Comment = 8,  
    XmlNodeType_DocumentType = 10,  
    XmlNodeType_Whitespace = 13,  
    XmlNodeType_EndElement = 15,  
    XmlNodeType_XmlDeclaration = 17} ;  

Values

XmlNodeType_None
Node type: none.

XmlNodeType_Element
Node type: Element.

XmlNodeType_Attribute
Node type: Attribute.

XmlNodeType_Text
Node type: Text.

XmlNodeType_CDATA
Node type: CDATA.

XmlNodeType_ProcessingInstruction
Node type: ProcessingInstruction.

XmlNodeType_Comment
Node type: Comment.

XmlNodeType_DocumentType
Node type: DocumentType.

XmlNodeType_Whitespace
Node type: Whitespace.

XmlNodeType_EndElement
Node type: EndElement.

XmlNodeType_XmlDeclaration
Node type: XmlDeclaration.

Remarks

The values for this enumeration are sparse because they are the same as values for corresponding node types in System.Xml.

Requirements

Header: XmlLite.h

Library: XmlLite.lib

See Also

Enumerated Types