|
XQuery part good, part bad, todays snapshot: msg#00194text.xml.exist
Hello All, OK, my query now works properly in the following form: element Users { for $x in //User[ClinicName="testClinic"] let $y := $x/Username/text() return element User { attribute generation {$x/@generation}, attribute OffLine {$x/@Offline}, $y } } Even though it is not clear to me why I have to use "$y" to get it to work (see my complaint from yesterday) However, in testing I inadvertently omitted the closing double-quote after 'testClinic'. eXist went into an infinite loop, bombing on an out-of-memory exception after some seconds. -- Best regards, Amotz Anner mailto:amotz@xxxxxxxxx Founder X.M.L Systems Ltd. 46, Jerusalem St. Flat 9B Kfar-Saba 44369 Israel Cell: 054-6860707 ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: XUpate exception in september snapshots: 00194, Wolfgang Meier |
|---|---|
| Next by Date: | XUpdate: how to replace a node?: 00194, Guillaume Pothier |
| Previous by Thread: | XUpate exception in september snapshotsi: 00194, Guillaume Pothier |
| Next by Thread: | XUpdate: how to replace a node?: 00194, Guillaume Pothier |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |