baseName Property (Compact 2013)

3/26/2014

Returns the base name for the name qualified with the namespace.

Syntax

strValue = oXMLDOMNode.baseName;
HRESULT get_baseName(
  BSTR* nameString
);

Parameters

Script

None.

C++

  • nameString
    [out, retval] Right-hand side of a namespace qualified name. For example, it returns yyy for the element <xxx:yyy>. It always returns a non-empty string.

Remarks

Return Value

Script

String. It returns the right-hand side of a namespace qualified name. For example, it returns yyy for the element <xxx:yyy>. It always returns a non-empty string.

C++

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value returned when there is no base name.
  • E_INVALIDARG
    Value returned if nameString is Null.

Remarks

This member is an extension of the World Wide Web Consortium (W3C) Document Object Model (DOM).

This property is read-only, and applies to the following objects and interfaces:

IXMLDOMAttribute, IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, DOMDocument, IXMLDOMDocumentFragment, IXMLDOMDocumentType, IXMLDOMElement, IXMLDOMEntity, IXMLDOMEntityReference, IXMLDOMNode, IXMLDOMNotation, IXMLDOMProcessingInstruction, IXMLDOMText, and IXTLRuntime.

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties