comparison software/eXist/webapp/mpdl/interface/doc-query.xql @ 11:d6f528ad5d96

TEI Unterst?tzung, Fehlerbehebungen, externe Objekte
author Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de>
date Fri, 11 Mar 2011 13:34:02 +0100
parents 5589d865af7a
children
comparison
equal deleted inserted replaced
10:59ff47d1e237 11:d6f528ad5d96
39 then concat('/db/mpdl/documents/morph', $mpdlDocUri) 39 then concat('/db/mpdl/documents/morph', $mpdlDocUri)
40 else concat('/db/mpdl/documents/morph', $mpdlDocUri) 40 else concat('/db/mpdl/documents/morph', $mpdlDocUri)
41 let $currentTimeBegin := util:system-time() 41 let $currentTimeBegin := util:system-time()
42 let $documentAvailable := doc-available($fullDocumentUri) 42 let $documentAvailable := doc-available($fullDocumentUri)
43 let $document := doc($fullDocumentUri) 43 let $document := doc($fullDocumentUri)
44 let $metadata :=
45 if ($docbase = 'archimedes')
46 then $document/archimedes/info
47 else if ($docbase = 'echo')
48 then $document/echo:echo/echo:metadata
49 else ''
50 44
51 (: xQuery inline execution does not work in module so it has to be done here :) 45 (: xQuery inline execution does not work in module so it has to be done here :)
52 let $xQueryPageSize := 100 46 let $xQueryPageSize := 100
53 let $xQueryResultEval := 47 let $xQueryResultEval :=
54 if ($queryType = 'xpath' or $queryType = 'xquery' and $query != "") 48 if ($queryType = 'xpath' or $queryType = 'xquery' and $query != "")