[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Is this Impossible !!
Steve Muench wrote: > *Mark's* point about SQL is totally valid > if what that means is that end-users > would have to type-in SQL statements as > their "user experience". Steve, My point is not about users typing in queries!! What if I write an application on my server that queries your server every day for new product information which is then stored in my database for local retrieval. Everyone has agreed that you should give me that data as XML (well everyone on this list, at least). But if you accept the query in some XML form as well, then you can do whatever you want with your data storage and I don't need to change my code. Your approach is fine for 'local' data - where you are very close to it, and have a lot of control over it. But the future will surely bring increasingly complex aggregations of data, where servers are talking to other servers before returning results sets. For example, how would I phrase a query to my server that returns results from two other databases - one relational, one object - especially if I don't control those other servers? With my approach, my server is like a large XML document and the two other servers are simply nodes within my document - and the lot can be queried with the same syntax. I've tended to use the term 'XML Server' to describe a server that can do this - XML in and XML out. Whether the XML is then stored as XML or in a relational or object store is only relevant to the server owner. To the outside world the are just dealing with a very large XML document. I wouldn't take that as knocking your RDBMS, Steve. I'm simply saying that people should put a layer over your product that hides the fact that it is an RDBMS. To do this they will need to convert the incoming queries to match the structure they have used. > *Your* point about not querying XML is totally > valid since the database is going to do > that querying and sorting much faster over > non-trivial amounts of data than > doing it in an XML document. I'm also saying you do the query in the 'native' format - that's obvious. My point is that you arrive at the native query by converting a more abstract, node query - XPath, XQL or whatever. Regards, Mark xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|