comparison software/eXist/webapp/mpdl/interface/echo/echoDocuView.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 e99964f390e4
comparison
equal deleted inserted replaced
10:59ff47d1e237 11:d6f528ad5d96
4 4
5 import module namespace mpdl-text = "http://www.mpiwg-berlin.mpg.de/ns/mpdl/text" at "../..//text/all.xql"; 5 import module namespace mpdl-text = "http://www.mpiwg-berlin.mpg.de/ns/mpdl/text" at "../..//text/all.xql";
6 6
7 let $mpdlDocUri := request:get-parameter("document", ()) 7 let $mpdlDocUri := request:get-parameter("document", ())
8 let $echoArchivePath := mpdl-text:getEchoArchivePath($mpdlDocUri) 8 let $echoArchivePath := mpdl-text:getEchoArchivePath($mpdlDocUri)
9 let $echoURLDocuView := concat("http://mpdl-dev.mpiwg-berlin.mpg.de/ECHOdocuView?url=", $echoArchivePath) 9 let $echoURLDocuView := concat("http://mpdl-dev.mpiwg-berlin.mpg.de/ECHOdocuView?url=", $echoArchivePath, "&amp;optionToggle=1")
10 let $urlDocuViewer := <a href="{$echoURLDocuView}">redirect to Echo</a> 10 let $urlDocuViewer := <a href="{$echoURLDocuView}">redirect to Echo</a>
11 let $diglibAvailable := 11 let $diglibAvailable :=
12 if ($echoArchivePath = "XXXXDigilibNotAvailableXXXX") 12 if ($echoArchivePath = "XXXXDigilibNotAvailableXXXX")
13 then false() 13 then false()
14 else true() 14 else true()