[Monetdb-developers] [XQ] Mixing update/docmgmt/query

2008-03-18 Thread Keulen, M. van (Maurice)
Hi, I know that the XQUF prohibits it, but for writing robust functions, it is often necessary to mix query and update/docmgmt functionality. Some examples: * Expression that queries/updates document, but if the document does not exist, adds an empty version of it: let $name := "

Re: [Monetdb-developers] [XQ] Mixing update/docmgmt/query

2008-03-18 Thread Jan Rittinger
On 03/18/2008 02:43 PM, Keulen, M. van (Maurice) wrote with possible deletions: > Hi, > > I know that the XQUF prohibits it, but for writing robust functions, it > is often necessary to mix query and update/docmgmt functionality. Some > examples: Hi Maurice, I don't think what you suggest is

Re: [Monetdb-developers] [XQ] Mixing update/docmgmt/query

2008-03-18 Thread Ying Zhang
On Mar 18, 2008, at 14:43 , Keulen, M. van (Maurice) wrote: > Hi, > > I know that the XQUF prohibits it, but for writing robust functions, > it is often necessary to mix query and update/docmgmt functionality. > Some examples: > • Expression that queries/updates document, but if the doc

Re: [Monetdb-developers] [XQ] Mixing update/docmgmt/query

2008-03-18 Thread Keulen, M. van (Maurice)
Jan Rittinger wrote: On 03/18/2008 02:43 PM, Keulen, M. van (Maurice) wrote with possible deletions: Hi, I know that the XQUF prohibits it, but for writing robust functions, it is often necessary to mix query and update/docmgmt functionality. Some examples: Hi Maurice, I don't think what

Re: [Monetdb-developers] [XQ] Mixing update/docmgmt/query

2008-03-18 Thread Ying Zhang
On Mar 18, 2008, at 15:38 , Keulen, M. van (Maurice) wrote: > Jan Rittinger wrote: >> >> On 03/18/2008 02:43 PM, Keulen, M. van (Maurice) wrote with >> possible deletions: >>> Hi, >>> >>> I know that the XQUF prohibits it, but for writing robust >>> functions, it is often necessary to mix quer