[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xpath vs xql
I missed some of the thread, so maybe someone has already brought this up, but xml queries and xslt aim at slightly different problem domains. With a SQL-like syntax you can more tersely represent operations such as, "Show me all employee elements where the department reports through accounting". Most companies commony use SQL syntax with joins, WHERE IN () criteria and so on that are fairly natural in SQL but difficult in xslt/xpath. By the same token, there are tons of things that are very natural to represent as XSLT that would be impossible or at least very bizzare to represent as SQL. > -----Original Message----- > From: Matt Sergeant [mailto:matt@s...] > Sent: Friday, June 30, 2000 3:30 AM > To: Kay Michael > Cc: 'Huaxin Zhang'; xml-dev@x... > Subject: RE: xpath vs xql > > > On Fri, 30 Jun 2000, Kay Michael wrote: > > > > Somebody says XPATH provide a better functionality than xql. > > > I am not sure about this. But lack of functions such as "like" > > > to compare strings, and nested condition (i.e. a [] inside a []) > > > makes it difficult to select some specified nodes with XPATH. > > > One can make > > > extensions to XSLTs to overcome some of them (such as string > > > A like string > > > B), but not always. Why don't the XPATH, allow using of > > > nested conditions? > > > > > I suspect the absence of a "like" function in version 1.0 > is because people > > didn't want to put regular expression matching in unless > they got it right, > > which with full Unicode and full internationalisation is > not actually easy. > > FWIW I believe that some of the latest Unicode documentation > references > Perl 5.6's regular expression extensions for Unicode (it > might not be a > direct reference though). > > Disclaimer: I've not read the Unicode docs in question. > > -- > <Matt/> > > Fastnet Software Ltd. High Performance Web Specialists > Providing mod_perl, XML, Sybase and Oracle solutions > Email for training and consultancy availability. > http://sergeant.org | AxKit: http://axkit.org > > > ************************************************************** > ************* > This is xml-dev, the mailing list for XML developers. > To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev > List archives are available at http://xml.org/archives/xml-dev/ > ************************************************************** > ************* > *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
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
|