WS_XML_ELEMENT_NODE structure

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

Syntax


struct WS_XML_ELEMENT_NODE {
  WS_XML_NODE        node;
  WS_XML_STRING*     prefix;
  WS_XML_STRING*     localName;
  WS_XML_STRING*     ns;
  ULONG              attributeCount;
  WS_XML_ATTRIBUTE** attributes;
  BOOL               isEmpty;
};

Members

node

The base type for all types that derive from WS_XML_NODE.

prefix

The prefix of the element. In the example, it refers to "a". Empty prefixes are represented by a zero length WS_XML_STRING.

localName

The localName of the element. In the example, it refers to "purchaseOrder".

ns

The resolved namespace of the prefix. In the example, it refers to "http://tempuri.org".

attributeCount

The number of attributes on the element. In the example, it would be 2.

attributes

The array of attributes for the element.

isEmpty

Whether the element is an empty element or not. In the example, it would be FALSE.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

WebServices.h

 

 

Community Additions

ADD
Show: