Partager via


WSDXML_NODE (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

Web Services on Devices Structures