|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XQuery -- Reinventing the Wheel?
<Jonathan.Robie@S...> wrote > Brian Miller wrote: > > > Jonathan.Robie@S... wrote: > > > > > > "An entirely new syntax" seems to be a bit of an > > > exaggeration. In fact, XPath 2.0 will become that > > > common semantic and syntactic core for both > > > languages [XSLT and XQuery]. > > > > How awkward that XPath (the "common semantic and > > syntactic core" of our pending XML revolution) is > > itself not expressed as XML. > > Actually, I do not see this as awkward. In SQL, the query language is not > expressed in tables and rows. In XQuery, the query language is not expressed > in XML. Why is this a problem? > It's hard enough to write complex queries and get them working correctly with decent performance. If a query's guts are obscured by excessive (xml) syntax, it will be ***much*** harder. So I am sympathetic to the use of a non-xml language. My only concern is that beyond doubt, people will want to include XQL queries in xml documents. Perhaps they would be passed along using SOAP, for example (yes, I know that SOAP could carry non-xml data, but it's not so convenient to do that). So how are we going to do that? Maybe CDATA sections will turn out to be the way. Cheers, Tom P
|
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
|
|||||||||

Cart








