RE: Storing XML/Streaming HTML
Michael Kay (M.H.Kay@eng.icl.co.uk)
Fri, 11 Dec 1998 09:50:16 -0000
> 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