OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: xpath vs xql

[ Lists Home | Date Index | Thread Index ]
  • From: Joshua Allen <joshuaa@microsoft.com>
  • To: "'Matt Sergeant'" <matt@sergeant.org>, Kay Michael <Michael.Kay@icl.com>
  • Date: Sun, 2 Jul 2000 11:23:52 -0700

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@sergeant.org]
> Sent: Friday, June 30, 2000 3:30 AM
> To: Kay Michael
> Cc: 'Huaxin Zhang'; xml-dev@xml.org
> 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@xml.org&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@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS