virtual P6R::P6ERR P6R::p6IXMLNode::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.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.