Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IDOMXML::stripSpace ( P6WCHAR pElementName,
P6UINT32  elemLength,
P6WCHAR pNamespaceURI,
P6UINT32  uriLength 
)
pure virtual

This method allows the application to define which XML elements should have unnecessary white space stripped off before they are placed into the DOM tree.

This method can be called multiple times, once for each element. Note that the element name of "*" (with length of 1) means all elements.

The pElementName should not have a namespace prefix. Instead, to indicate a namespace for the element pass in the namespace URI for the element via the pNamespaceURI parameter. A combination of namespace URI and an element name of "*" is valid and specifies all elements in that namespace.

Parameters
pElementName[ in ] String name of an XML element to strip all unecessary white space around.
elemLength[ in ] length of characters in pElementName.
pNamespaceURI[ in ] can be NULL, URI of an associated namespace for the element
uriLength[ in ] length of characters in pNamespaceURI
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgpElementName is NULL or length is zero.