> Hmm, if I move away from the parserLiaison objects for constructing the > XalanDocuments of the XML strings, then I need to find an > XalanSourceTreeDOMSupport for the XPathEvaluator calls. I have to go review > the APIs to see where to borrow/construct one...
You have two options here. One is to simply create an instance of XalanSourceTreeDOMSupport and use that. The other is to ask the XalanParsedSource instance to create a XalanParsedSourceHelper instance by called XalanParsedSource::createHelper(). You'll notice that XalanParsedSourceHelper has a handy member function called getDOMSupport() that returns a reference to the associated DOMSupport instance. The first option is easier, but the second is arguably more correct. If you choose the second option, remember to delete the XalanParsedSourceHelper when you destroy the associated XalanParsedSource instance. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
