Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

WS_MOVE_TO enumeration

This enumeration identifies the various ways to move about an xml document.

Syntax


enum WS_MOVE_TO {  WS_MOVE_TO_ROOT_ELEMENT, 
  WS_MOVE_TO_NEXT_ELEMENT, 
  WS_MOVE_TO_PREVIOUS_ELEMENT, 
  WS_MOVE_TO_CHILD_ELEMENT, 
  WS_MOVE_TO_END_ELEMENT, 
  WS_MOVE_TO_PARENT_ELEMENT, 
  WS_MOVE_TO_NEXT_NODE, 
  WS_MOVE_TO_PREVIOUS_NODE, 
  WS_MOVE_TO_FIRST_NODE, 
  WS_MOVE_TO_BOF, 
  WS_MOVE_TO_EOF, 
  WS_MOVE_TO_CHILD_NODE 

};

Constants

WS_MOVE_TO_ROOT_ELEMENT

Moves to the topmost element in the document. If there is no root element, then the position is left unchanged.

WS_MOVE_TO_NEXT_ELEMENT

Moves to the next element with the same depth and parent as the current node. Text and comments are skipped. If no element is found, then the position is left unchanged.

WS_MOVE_TO_PREVIOUS_ELEMENT

Moves to the previous element with the same depth and parent as the current node. Text and comments are skipped. If no element is found, then the position is left unchanged.

WS_MOVE_TO_CHILD_ELEMENT

Moves to the first child element below the current node. Text and comments are skipped. If no element is found, then the position is left unchanged.

WS_MOVE_TO_END_ELEMENT

If the current node is an element, then moves to its corresponding end element. Otherwise, the position is left unchanged.

WS_MOVE_TO_PARENT_ELEMENT

Moves to the element node containing the current node. End elements are considered the last child of their corresponding start element. If the current position is the root element, then the position will be moved to WS_XML_NODE_TYPE_BOF. If the current position is WS_XML_NODE_TYPE_BOF, then current position is left unchanged.

WS_MOVE_TO_NEXT_NODE

Moves to the next sibling of the current node. If the current node is an end element, then the position is left unchanged.

WS_MOVE_TO_PREVIOUS_NODE

Moves to the previous sibling of the current node. If the current node is the first child of an element, then the position is left unchanged.

WS_MOVE_TO_FIRST_NODE

Moves to the first child of the parent of the current node.

WS_MOVE_TO_BOF

Moves to the position logically before the first node in the document.

WS_MOVE_TO_EOF

Moves to the position logically after the last node in the document.

WS_MOVE_TO_CHILD_NODE

Moves to the first child of the current node. If the node has no children then the position is left unchanged.

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

ADD
Show:
© 2015 Microsoft