Microsoft XML 2.5 SDK


 

prefix Property

[This is preliminary documentation and subject to change.]

Returns the namespace prefix.

Syntax

strValue = oXMLDOMNode.prefix

Remarks

String. The property is read-only. It returns the namespace prefix specified on the object. For example, for the element <xxx:yyy>, it returns "xxx". It returns an empty string, "", if no prefix is specified.

This member is an extension of the W3C DOM.

Applies To

XMLDOMAttribute, XMLDOMCDATASection, XMLDOMCharacterData, XMLDOMComment, XMLDOMDocument, XMLDOMDocumentFragment, XMLDOMDocumentType, XMLDOMElement, XMLDOMEntity, XMLDOMEntityReference, XMLDOMNode, XMLDOMNotation, XMLDOMProcessingInstruction, XMLDOMText, XTLRuntime