Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WS_XML_NODE_TYPE enumeration

The type of WS_XML_NODE structure.

Syntax


enum WS_XML_NODE_TYPE {  WS_XML_NODE_TYPE_ELEMENT, 
  WS_XML_NODE_TYPE_TEXT, 
  WS_XML_NODE_TYPE_END_ELEMENT, 
  WS_XML_NODE_TYPE_COMMENT, 
  WS_XML_NODE_TYPE_CDATA, 
  WS_XML_NODE_TYPE_END_CDATA, 
  WS_XML_NODE_TYPE_EOF, 
  WS_XML_NODE_TYPE_BOF 

};

Constants

WS_XML_NODE_TYPE_ELEMENT

A start element. (e.g. <a:purchaseOrder xmlns:a="http://tempuri.org" id="5">)

WS_XML_NODE_TYPE_TEXT

Element, attribute, or CDATA content.

WS_XML_NODE_TYPE_END_ELEMENT

An end element. (e.g. </purchaseOrder>)

WS_XML_NODE_TYPE_COMMENT

A comment. (For example, <!--The message follows-->)

WS_XML_NODE_TYPE_CDATA

The start of a CDATA section (i.e. <![CDATA[)

WS_XML_NODE_TYPE_END_CDATA

The end of a CDATA section (i.e. ]]>)

WS_XML_NODE_TYPE_EOF

The final node of an xml stream.

WS_XML_NODE_TYPE_BOF

The first node of an xml stream.

Remarks

The BNF for node types within a document is:


Xml := StartInput Whitespace Element Whitespace EndInput
Whitespace := (Text | Comment)* // Text is whitespace only
Element := StartElement ElementContent EndElement
ElementContent := (Element | Text | Comment | CData)*
StartElement := WS_XML_NODE_TYPE_ELEMENT
EndElement := WS_XML_NODE_TYPE_END_ELEMENT
Text := WS_XML_NODE_TYPE_TEXT
Comment := WS_XML_NODE_TYPE_COMMENT
CData := WS_XML_NODE_TYPE_CDATA Text* WS_XML_NODE_TYPE_END_CDATA
StartInput := WS_XML_NODE_TYPE_BOF
EndInput := WS_XML_NODE_TYPE_EOF

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

WebServices.h

 

 

Community Additions

Show:
© 2017 Microsoft