diff software/eXist/webapp/mpdl/doc/get-escidoc-containerid.xql @ 7:5589d865af7a

Erstellung XQL/XSL Applikation
author Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de>
date Tue, 08 Feb 2011 15:16:46 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/software/eXist/webapp/mpdl/doc/get-escidoc-containerid.xql	Tue Feb 08 15:16:46 2011 +0100
@@ -0,0 +1,12 @@
+xquery version "1.0";
+
+let $existId := request:get-parameter("existId", "")
+let $eSciDocCookieId := request:get-parameter("eSciDocCookieId", "")
+
+let $eSciDocId := 
+  if ($eSciDocCookieId != '')
+  then mpdldoc:escidoc-get-containerid($existId, $eSciDocCookieId)
+  else ""
+
+return 
+  $eSciDocId
\ No newline at end of file