> I beg to differ. I've been trying to do a simple > document parse from memory (a string) and traversing > it's DOM and doing XPath queries. The examples deal > only with files; I'm guessing I need a differnet > XSLTInputSource, but the APIs just have me going in > circles, and the examples don't give a good sense of > what's needed/being used.
Well, the StreamTransform sample works with strings in memory. Also, you should look at the Xerces-C samples for ideas about how parsing works. They have a sample called MemParse, which does what you want to do. Take a look at the SimpleXPathAPI sample, which uses the XPathEvaluator class to evaluate XPath strings to find nodes in an instance of the source tree. Dave
