Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IXMLNode2::setName ( const P6WCHAR pName,
P6UINT32  length 
)
pure virtual

Each p6IXMLNode represents an element in an XML document (e.g., <price>5.00</price>.

The name of a node is the name of the XML element (i.e., "price" in the above example). It is the intent that the caller pass in the name including any defined prefix (e.g., <p6r:price>, p6r:price should be the pName parameter.

Parameters
pName[ in ] The name of an element (i.e., characters between the '<' and '>' symbols (a copy of the string is made).
length[ in ] Number of characters in pName
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgOne of the parameters is NULL.