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

Since this node can contain data from non-XML sources (e.g., JSON) the node name may have characters which cannot be used for an XML element name.

 This function allows the caller to replace all non-compliant characters with a "default character" which is a valid in XML elements.
 Note that the set of allowed default characters are those that can start an XML element name.   The syntax of XML element names is defined in 
 section "2.3 Common Syntactic Constructs" of reference 1 above. 

 @param defaultChar [ in ]  a letter or the '_' character
Parameters
pName[ out ] Returns a unique name of the node.
pLength[ out ] 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, or an invalid default character has been defined.