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
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. |