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 copied into pName. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to intialize() must be made before calling this funciton. |
P6R::eInvalidArg | One of the parameters is NULL, or an invalid default character has been defined. |