"Vladimir Sinichkin" <[EMAIL PROTECTED]> writes: > I am working on a project where xml and schema,specifing the grammar > of the xml, are created dinamicly from the database. There are some > reasons that I do not want to write the xml and the schema to files, > but keep them in strings. I am using Xerces C++ 1.5.0 (DOMParser). > I am using MemBufInputSource to pass my xml to the DOMParser, but I > have no idea how to pass the schema to the parser without writing it > to a file. Does anybody know how to solve my problem?
Just as a guess, I would create and entity resolver, and when the parser attempts to find the schema it will invoke your resolver, and your resolver can return a MemBufInputSource with the schema. jas. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
