Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This enumeration identifies the various ways to move about an xml document.
Syntax
typedef enum {
WS_MOVE_TO_ROOT_ELEMENT = 0,
WS_MOVE_TO_NEXT_ELEMENT = 1,
WS_MOVE_TO_PREVIOUS_ELEMENT = 2,
WS_MOVE_TO_CHILD_ELEMENT = 3,
WS_MOVE_TO_END_ELEMENT = 4,
WS_MOVE_TO_PARENT_ELEMENT = 5,
WS_MOVE_TO_NEXT_NODE = 6,
WS_MOVE_TO_PREVIOUS_NODE = 7,
WS_MOVE_TO_FIRST_NODE = 8,
WS_MOVE_TO_BOF = 9,
WS_MOVE_TO_EOF = 10,
WS_MOVE_TO_CHILD_NODE = 11
} WS_MOVE_TO;
Constants
WS_MOVE_TO_ROOT_ELEMENTValue: 0 Moves to the topmost element in the document. If there is no root element, then the position is left unchanged. |
WS_MOVE_TO_NEXT_ELEMENTValue: 1 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_ELEMENTValue: 2 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_ELEMENTValue: 3 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_ELEMENTValue: 4 If the current node is an element, then moves to its corresponding end element. Otherwise, the position is left unchanged. |
WS_MOVE_TO_PARENT_ELEMENTValue: 5 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_NODEValue: 6 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_NODEValue: 7 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_NODEValue: 8 Moves to the first child of the parent of the current node. |
WS_MOVE_TO_BOFValue: 9 Moves to the position logically before the first node in the document. |
WS_MOVE_TO_EOFValue: 10 Moves to the position logically after the last node in the document. |
WS_MOVE_TO_CHILD_NODEValue: 11 Moves to the first child of the current node. If the node has no children then the position is left unchanged. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
| Header | webservices.h |