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

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

The value of a node is the value of the current XML element (i.e., "5.00" in the above example). This method cannot be used to create nested elements (e.g., <price><currency>US</currency></price>).

Parameters
pValue[ in ] The contents of an element (i.e., characters between the "&gt;" and "&lt;" symbols (a copy of the string is made). Can be NULL for an empty string.
length[ in ] Number of characters in pValue, zero for an empty string.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgOne of the parameters is NULL.