Storing XML/Streaming HTML

Michael Kay M.H.Kay at
Fri Dec 11 09:54:53 GMT 1998

> The sources could be anything, but let's just say that my middle tier
> receives a query where it has to get information from two database
servers, and the
> information (SQL) it gets back is to be combined into one XML stream.
I've done this the simple way ("with lots of coding" - about 8 lines), by
concatenating the query results into a single XML document and then parsing
it. I've thought about other techniques, like embedding the SQL queries into
the document in some way (an entity? an element? a PI?) and replacing each
query with its result in the course of parsing, but haven't got round to
implementing anything.

Mike Kay

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list