次の方法で共有


WSDXML_NODE (Compact 2013)

3/26/2014

This structure describes an XML node.

Syntax

typedef struct _WSDXML_NODE {
  enum {
     ElementType,
     TextType
  } Type;
  WSDXML_ELEMENT* Parent;
  WSDXML_NODE* Next;
} WSDXML_NODE;

Members

  • Type
    Indicates whether the node is an element or text.

    • ElementType
    • TextType
  • Parent
    Reference to the parent node in a linked list of WSDXML_ELEMENT structures.
  • Next
    Reference to the next node in the linked list of WSDXML_NODE structures.

Remarks

WSDXML_NODE represents an arbitrary node within the DOM tree. Nodes are weakly typed; the Type member must be inspected to determine the actual type of the node, and the node pointer must then be cast to the structure of the appropriate type (see WSDXML_ELEMENT and WSDXML_TEXT) to obtain the node contents. Parent points to the containing element for the current node, and Next points to any nodes at the same level as the current node.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

Web Services on Devices Structures