W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2004

Re: Aproblem in XQuery

From: Jonathan Robie <jonathan.robie@datadirect.com>
Date: Tue, 18 May 2004 12:52:46 -0400
Message-ID: <40AA3F5E.1090806@datadirect.com>
To: tadlaoui mohamed <m_tadlaoui@yahoo.fr>
Cc: public-qt-comments@w3.org

Hi Mohamed,

This list is for public comments on the XSLT and XQuery specifications. 
I don't think you are expressing a technical concern with what these 
documents contain, so this is the wrong list.

You can ask such questions on this list:

	"'www-ql@w3.org'" <www-ql@w3.org>

I am a little reluctant to just give you a query to answer your 
question, because this is pretty straightforward in XQuery, and this 
looks like an exercise that you should work through. If you are taking a 
class and trying to solve a problem along these lines, you could also 
ask your instructor.

But you will find very similar queries discussed in some depth in the 
following tutorial:

http://www.datadirect.com/news/whatsnew/xquerybook/index.ssp

Jonathan

tadlaoui mohamed wrote:

> Hi,
> 
> I have a problem in a query in a xml file, wich is the same as
> 
> List books edited by "Abiteboul Serge" and "Buneman Peter"
> 
> Please help me
> 
> -----------------------------------------------------------------------------------------------
> 
> <bib>
> 
> <book year="1994">
> 
> <title>TCP/IP Illustrated</title>
> 
> <author><last>Stevens</last><first>W.</first></author>
> 
> <publisher>Addison-Wesley</publisher>
> 
> <price> 65.95</price>
> 
> </book>
> 
> <book year="1992">
> 
> <title>Advanced Programming in the Unix environment</title>
> 
> <author><last>Stevens</last><first>W.</first></author>
> 
> <publisher>Addison-Wesley</publisher>
> 
> <price>65.95</price>
> 
> </book>
> 
> <book year="2000">
> 
> <title>Data on the Web</title>
> 
> <author><last>Abiteboul</last><first>Serge</first></author>
> 
> <author><last>Buneman</last><first>Peter</first></author>
> 
> <author><last>Suciu</last><first>Dan</first></author>
> 
> <publisher>Morgan Kaufmann Publishers</publisher>
> 
> <price>39.95</price>
> 
> </book>
> 
> <book year="1999">
> 
> <title>The Economics of Technology and Content for Digital TV</title>
> 
> <editor>
> 
> <last>Gerbarg</last><first>Darcy</first>
> 
> <affiliation>CITI</affiliation>
> 
> </editor>
> 
> <publisher>Kluwer Academic Publishers</publisher>
> 
> <price>129.95</price>
> 
> </book>
> 
> </bib>
> 
> -------------------------------------------------------------------------------------------------------------------
> 
>  
> 
>  
> 
> ------------------------------------------------------------------------
> Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
> Créez votre Yahoo! Mail 
> <http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/mail/mail_taglines/default/*http://fr.benefits.yahoo.com/> 
> 
> 
> Dialoguez en direct avec vos amis grâce à Yahoo! Messenger ! 
> <http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com/> 
> 
Received on Tuesday, 18 May 2004 12:53:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:57 UTC