From: Jon G. <jon...@gm...> - 2007-10-30 15:18:01
|
Hi, How do I execute an xquery or xpath on an xml document that is not stored in exist? For example, I want to use xquery to do some validation beyond what XML schema can support, but I want to run the validation on an in-memory copy of the xml before I update the copy that is in the database. I looked at XQueryService in the XMLDB API. It has a query(XMLResource resource, String query) method, but I didn't see a way to create an XMLResource from a string of XML that I have in-memory. Thanks! Jon |