Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IDOMXML::parse ( p6IDataStream **  pInData)
pure virtual

This method returns an XML stream for the caller to stream the XML into.

Once the XML is completely provided it is parsed into a DOM tree. Any errors are written to the pErrorResult stream.

This method can be used multiple times with the same p6IDOMXML component. On each call the DOM tree is reset and a new tree is generated from the XML (or JSON) streamed in.

Parameters
pInData[ out ] Caller uses to pass in the XML or JSON data to parse into a DOM tree
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgOne of the parameters is NULL.