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