# HG changeset patch # User Josef Willenborg # Date 1314632419 -7200 # Node ID e99964f390e4f584bc210925a7275362da2cd00d # Parent 5df60f24e9977ba8d1f1883eee95b292d3928b91 diverse Fehlerbehebungen diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/_stuff/.DS_Store Binary file software/eXist/webapp/mpdl/_stuff/.DS_Store has changed diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/_stuff/futureDev/getFragment.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/software/eXist/webapp/mpdl/_stuff/futureDev/getFragment.xsl Mon Aug 29 17:40:19 2011 +0200 @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/_stuff/futureDev/getFragmentSaxonFast.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/software/eXist/webapp/mpdl/_stuff/futureDev/getFragmentSaxonFast.xsl Mon Aug 29 17:40:19 2011 +0200 @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/_stuff/testDev/.DS_Store Binary file software/eXist/webapp/mpdl/_stuff/testDev/.DS_Store has changed diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/_stuff/tmp/mpdl-extension-modules.jar Binary file software/eXist/webapp/mpdl/_stuff/tmp/mpdl-extension-modules.jar has changed diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/_stuff/tmp/saxon9-dom.jar Binary file software/eXist/webapp/mpdl/_stuff/tmp/saxon9-dom.jar has changed diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/_stuff/tmp/saxon9-xpath.jar Binary file software/eXist/webapp/mpdl/_stuff/tmp/saxon9-xpath.jar has changed diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/_stuff/tmp/saxon9.jar Binary file software/eXist/webapp/mpdl/_stuff/tmp/saxon9.jar has changed diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/attribute-query-result.xql --- a/software/eXist/webapp/mpdl/attribute-query-result.xql Mon Aug 29 17:40:02 2011 +0200 +++ b/software/eXist/webapp/mpdl/attribute-query-result.xql Mon Aug 29 17:40:19 2011 +0200 @@ -171,8 +171,12 @@ let $pageResult := for $elem at $pos in $orderedAttrQueryResult let $doc := $elem/fn:root() let $documentUriOrig := document-uri($doc) + let $documentName := util:document-name($doc) + let $documentCollection := replace(string($documentUriOrig), "(.+)/.+xml", "$1") let $documentUri := substring-after($documentUriOrig, $docPath) let $documentUriWithoutExtension := substring-before($documentUri, ".") + (: let $lastModified := replace(substring-before(string(xmldb:last-modified($documentCollection, $documentName)), "."), "T", " ") :) + let $lastModified := substring-before(string(xmldb:last-modified($documentCollection, $documentName)), ".") let $docBase := substring-before(substring-after($documentUri, "/"), "/") let $metadata := mpdl-lucene:getMetadata($docBase, $doc) (: Performance: following is slow: why (would be better structured code) ? @@ -183,10 +187,12 @@ let $titleElems := mpdl-lucene:getElementsByAttr($metadata, $docBase, "title") let $placeElems := mpdl-lucene:getElementsByAttr($metadata, $docBase, "place") let $dateElems := mpdl-lucene:getElementsByAttr($metadata, $docBase, "date") + let $langElems := mpdl-lucene:getElementsByAttr($metadata, $docBase, "language") let $authors := string-join($authorElems, ', ') let $titles := string-join($titleElems, ', ') let $places := string-join($placeElems, ', ') let $dates := string-join($dateElems, ', ') + let $langs := string-join($langElems, ', ') let $resultElem := {$pos}. @@ -199,6 +205,9 @@ {$titles} {$places} {$dates} + {$langs} + {$docBase} + {$lastModified} where $pos >= $positionFrom and $pos <= $positionTo return $resultElem @@ -301,9 +310,12 @@ - - + + + + + @@ -312,9 +324,9 @@ - - - + + + @@ -327,6 +339,11 @@ + + + + + diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/doc/.DS_Store Binary file software/eXist/webapp/mpdl/doc/.DS_Store has changed diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/doc/doc-op.xql --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/software/eXist/webapp/mpdl/doc/doc-op.xql Mon Aug 29 17:40:19 2011 +0200 @@ -0,0 +1,15 @@ +xquery version "1.0"; + +import module namespace request="http://exist-db.org/xquery/request"; + +let $operation := request:get-parameter("operation", "") +let $srcUrl := request:get-parameter("srcUrl", "") +(: let $uploadFileName := request:get-parameter("uploadFileName", ""); :) +let $docBase := request:get-parameter("docBase", "") +let $language := request:get-parameter("language", "") +let $fileName := request:get-parameter("fileName", "") +let $eSciDocCookieId := request:get-parameter("eSciDocCookieId", "") + +let $jobId := mpdldoc:do(string($operation), string($srcUrl), 'empty', string($docBase), string($language), string($fileName), string($eSciDocCookieId)) + +return $jobId \ No newline at end of file diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/doc/doc-operation-exist.xql --- a/software/eXist/webapp/mpdl/doc/doc-operation-exist.xql Mon Aug 29 17:40:02 2011 +0200 +++ b/software/eXist/webapp/mpdl/doc/doc-operation-exist.xql Mon Aug 29 17:40:19 2011 +0200 @@ -36,7 +36,7 @@ + + +let $eSciDocCookieId := session:get-attribute("eSciDocCookieId") + +let $docBaseOptions := + +let $docBaseOptionsSelected := + for $option in $docBaseOptions/option + return element { node-name($option)} + { if ($option/@value = $docBase) + then attribute {'selected'} + {'true'} + else (), + $option/@*, + $option/node() } +let $docBaseSelectBoxDest := + +let $docBaseSelectBoxList := + + +let $languageOptions := + +let $languageOptionsSelected := + for $option in $languageOptions/option + return element { node-name($option)} + { if ($option/@value = $language) + then attribute {'selected'} + {'true'} + else (), + $option/@*, + $option/node() } +let $languageSelectBoxDest := + +let $languageSelectBoxList := + + +let $docsSelectBoxOptions := + for $docFileName at $pos in $docFileNames + let $existIdentifier := concat("/", $docBase, "/", $language, "/", $docFileName) + let $option := + order by $docFileName + return $option +let $docsSelectBox := + + +let $error := + if ($eSciDocCookieId = '' or empty($eSciDocCookieId)) + then No login context available. Please login before you do an operation + else "no" + +let $resultHtml := + if ($error = 'no') + then +
+ + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
Destination
+ Document base: + {$docBaseSelectBoxDest} + Language: + {$languageSelectBoxDest} +

Document name: Info document interface source
Document link:

Source Info document interface source
Local file: +
or
Url:

+ Operation
+ + + Info document interface operation +
+
+
+
+ + + + + +
+ Documents
+
+ Document base: + {$docBaseSelectBoxList} + Language: + {$languageSelectBoxList} +
{$docsSelectBox}
+
+
+
+ else +
Error in operation: {$error}
+ + + +let $title := "MPDL: eXist document interface" +return + + +{$title} +{$javascriptHtml} + + +

{$title}

+ {$resultHtml} +
+ See the XQuery source of this page, if you find a bug let us know + + \ No newline at end of file diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/escidoc/.DS_Store Binary file software/eXist/webapp/mpdl/escidoc/.DS_Store has changed diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/images/.DS_Store Binary file software/eXist/webapp/mpdl/images/.DS_Store has changed diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/interface/.DS_Store Binary file software/eXist/webapp/mpdl/interface/.DS_Store has changed diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/interface/echo/echoDocuView.xql --- a/software/eXist/webapp/mpdl/interface/echo/echoDocuView.xql Mon Aug 29 17:40:02 2011 +0200 +++ b/software/eXist/webapp/mpdl/interface/echo/echoDocuView.xql Mon Aug 29 17:40:19 2011 +0200 @@ -6,7 +6,7 @@ let $mpdlDocUri := request:get-parameter("document", ()) let $echoArchivePath := mpdl-text:getEchoArchivePath($mpdlDocUri) -let $echoURLDocuView := concat("http://mpdl-dev.mpiwg-berlin.mpg.de/ECHOdocuView?url=", $echoArchivePath, "&optionToggle=1") +let $echoURLDocuView := concat("http://mpdl-dev.mpiwg-berlin.mpg.de/ECHOdocuView?url=", $echoArchivePath) let $urlDocuViewer := redirect to Echo let $diglibAvailable := if ($echoArchivePath = "XXXXDigilibNotAvailableXXXX") diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/interface/external/.DS_Store Binary file software/eXist/webapp/mpdl/interface/external/.DS_Store has changed diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/interface/lt/wordInfo.xql --- a/software/eXist/webapp/mpdl/interface/lt/wordInfo.xql Mon Aug 29 17:40:02 2011 +0200 +++ b/software/eXist/webapp/mpdl/interface/lt/wordInfo.xql Mon Aug 29 17:40:19 2011 +0200 @@ -9,6 +9,7 @@ let $type := request:get-parameter("type", "compact") let $language := request:get-parameter("language", "") +let $display := request:get-parameter("display", "") let $word := request:get-parameter("word", "") let $placeHref := request:get-parameter("placeHref", "") let $output := request:get-parameter("output", "xml") @@ -61,11 +62,22 @@ for $form in $lemma/forms/form order by $form/form-name return $form + let $remotePerseusLink := + if ($language = "ar" or $language = "la") + then concat("http://www.perseus.tufts.edu/hopper/morph?l=", $lemma/lemma-name, "&la=", $language) + else if ($language = "el") + then concat("http://www.perseus.tufts.edu/hopper/morph?l=", $lemma/lemma-name, "&la=greek") + else "" + let $lemmaExternalLink := + if ($language = "ar" or $language = "el" or $language = "la") + then + else () let $retLemma := {$lemma/provider} {$lemma/language} {$lemma/lemma-name} + {$lemmaExternalLink} {$orderedForms} order by $lemma/lemma-name @@ -173,7 +185,7 @@ else $l let $repairedEntryContentLink := if ($lexName = "dwds") - then concat("http://beta.dwds.de/?qu=", $l) + then concat("http://www.dwds.de/search/?qu=", $l) else if ($lexName = "slater") then concat("http://www.perseus.tufts.edu/hopper/text?doc=Perseus:text:1999.04.0072:entry=", $lLink) else if ($lexName = "artfl-fr-en") @@ -245,6 +257,7 @@ let $dictEntryContentParsedTmp := if ($dictEntryXmlValid = "true" and empty($dictEntryRepairedContentLink)) then util:parse($dictEntryRepairedContent) + (: then bla :) else if ($dictEntryXmlValid = "true" and not(empty($dictEntryRepairedContentLink)) and $output = "html") then
External link: {$dictEntryRepairedContentLink}
else if ($dictEntryXmlValid = "true" and not(empty($dictEntryRepairedContentLink)) and $output = "xml") @@ -390,7 +403,10 @@ then util:declare-option("exist:serialize", "method=html media-type=text/html omit-xml-declaration=no indent=yes encoding=utf-8") else util:declare-option("exist:serialize", "method=xml media-type=text/xml omit-xml-declaration=no indent=yes encoding=utf-8") -let $queryResultHeaderStr :=

Word information for: {$word}

+let $queryResultHeaderStr := + if ($display = "") + then

Word information for: {$word}

+ else

Word information for: {$display}

let $commentExternalLinks := "[* external links may not function]" diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/interface/page-fragment.xql --- a/software/eXist/webapp/mpdl/interface/page-fragment.xql Mon Aug 29 17:40:02 2011 +0200 +++ b/software/eXist/webapp/mpdl/interface/page-fragment.xql Mon Aug 29 17:40:19 2011 +0200 @@ -22,6 +22,8 @@ let $reqPF := request:get-parameter("pf", "") let $reqSN := number(request:get-parameter("sn", "-1")) let $xPointer := request:get-parameter("xpointer", "") +let $highlightElement := request:get-parameter("highlightElement", "") +let $highlightElementPos := number(request:get-parameter("highlightElementPos", "-1")) let $highlightQuery := request:get-parameter("highlightQuery", "") let $regCharNorm := request:get-parameter("characterNormalization", "") let $tmpCharNorm := string-join($regCharNorm, ',') @@ -232,7 +234,7 @@ else () let $returnPageFragmentTmp := util:parse($retPageFragment) (: returns a valid xml document for that string :) -let $externalElementsTmpTmp := mpdltext:externalObject("read", "element", concat("")) +let $externalElementsTmpTmp := mpdltext:externalObject("read", "element", concat("")) let $externalElementsTmp := if(not($externalElementsTmpTmp = "")) then util:parse($externalElementsTmpTmp) @@ -355,6 +357,8 @@ {$pageNumberOrig} {$pageNumberOrigNorm} {$sn} + {$highlightElement} + {$highlightElementPos} {$digilibAvailable} {$imageIsAvailable} {$imageFileName} diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/lt/.DS_Store Binary file software/eXist/webapp/mpdl/lt/.DS_Store has changed diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/lucene/.DS_Store Binary file software/eXist/webapp/mpdl/lucene/.DS_Store has changed diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/lucene/search.xql --- a/software/eXist/webapp/mpdl/lucene/search.xql Mon Aug 29 17:40:02 2011 +0200 +++ b/software/eXist/webapp/mpdl/lucene/search.xql Mon Aug 29 17:40:19 2011 +0200 @@ -37,25 +37,19 @@ else if ($queryType = 'fulltextMorphLemma') then concat('lemmalemma', $queryStr) else () - let $pageBreaks := - if ($mpdlCollectionName = 'archimedes') - then $document//pb - else if ($mpdlCollectionName = 'echo') - then $document//echo:pb - else if ($mpdlCollectionName = 'tei') - then $document//TEI:pb - else $document//pb + let $pageBreaks := $document//*[name() = 'pb'] let $luceneParseResult := mpdltext:lucene-parse-query($queryStr) let $t := if ($luceneParseResult != '') then () else if ($mpdlCollectionName = 'archimedes') - then $document//s[ft:query(., $query)] + then $document//s[ft:query(., $query)]|$document//head[ft:query(., $query)] else if ($mpdlCollectionName = 'echo') - then $document//echo:s[ft:query(., $query)] + then $document//echo:s[ft:query(., $query)]|$document//echo:head[ft:query(., $query)] else if ($mpdlCollectionName = 'tei') - then $document//TEI:s[ft:query(., $query)] - else $document//s[ft:query(., $query)] + then $document//TEI:s[ft:query(., $query)]|$document//TEI:head[ft:query(., $query)] + else $document//s[ft:query(., $query)]|$document//head[ft:query(., $query)] + (: else $document//*[name() = 's' or name() = 'head'][ft:query(., $query)] this would be much slower and would consume too much memory :) let $from := ($pn * $pageSize) - $pageSize + 1 let $to := $pn * $pageSize (: performance improvements: result set of 500 needs 3 sec., result set of 10 needs 0,7 sec.:) @@ -64,31 +58,39 @@ where $poss >= $from and $poss <= $to return $ss let $queryResult := - for $s at $pos in $tempQueryResult - let $pnOfS := count($pageBreaks[. << $s]) (: faster: comparison only in pb elements of this document :) - let $pb := subsequence($pageBreaks, $pnOfS, 1) + for $hit at $pos in $tempQueryResult + let $hitType := local-name($hit) + let $pnOfHit := count($pageBreaks[. << $hit]) (: faster: comparison only in pb elements of this document :) + let $pb := subsequence($pageBreaks, $pnOfHit, 1) (: test if sentence surrounds page break; costs 0,1 sec performance :) - let $pbPlus1 := subsequence($pageBreaks, $pnOfS + 1, 1) - let $sSurroundsPB := - if ($pbPlus1/parent::node() = $s and $pbPlus1 intersect $s/descendant::node()) + let $pbPlus1 := subsequence($pageBreaks, $pnOfHit + 1, 1) + let $hitSurroundsPB := + if ($pbPlus1/parent::node() = $hit and $pbPlus1 intersect $hit/descendant::node()) then true() else false() - let $posOfS := (: faster: comparison only in s elements of this document :) - if ($mpdlCollectionName = 'archimedes') - then count($pb/following::s[. << $s]) + 1 - else if ($mpdlCollectionName = 'echo') - then count($pb/following::echo:s[. << $s]) + 1 - else if ($mpdlCollectionName = 'tei') - then count($pb/following::TEI:s[. << $s]) + 1 - else count($pb/following::s[. << $s]) + 1 + let $posOfHit := (: faster: comparison only in s or head elements of this document and only in a specific namespace :) + if ($mpdlCollectionName = 'archimedes' and $hitType = 's') + then count($pb/following::s[. << $hit]) + 1 + else if ($mpdlCollectionName = 'archimedes' and $hitType = 'head') + then count($pb/following::head[. << $hit]) + 1 + else if ($mpdlCollectionName = 'echo' and $hitType = 's') + then count($pb/following::echo:s[. << $hit]) + 1 + else if ($mpdlCollectionName = 'echo' and $hitType = 'head') + then count($pb/following::echo:head[. << $hit]) + 1 + else if ($mpdlCollectionName = 'tei' and $hitType = 's') + then count($pb/following::TEI:s[. << $hit]) + 1 + else if ($mpdlCollectionName = 'tei' and $hitType = 'head') + then count($pb/following::TEI:head[. << $hit]) + 1 + else count($pb/following::s[. << $hit]) + 1 let $position := $from - 1 + $pos let $resultElem := + {$hitType} {$position} - {$pnOfS} - {$posOfS} - {string($s)} - {$sSurroundsPB} + {$pnOfHit} + {$posOfHit} + {string($hit)} + {$hitSurroundsPB} return $resultElem let $resultSize := count($t) diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/page-query-result.xql --- a/software/eXist/webapp/mpdl/page-query-result.xql Mon Aug 29 17:40:02 2011 +0200 +++ b/software/eXist/webapp/mpdl/page-query-result.xql Mon Aug 29 17:40:19 2011 +0200 @@ -23,6 +23,8 @@ let $reqSN := number(request:get-parameter("sn", "-1")) let $xPointer := request:get-parameter("xpointer", "") let $query := request:get-parameter("query", "") +let $highlightElement := request:get-parameter("highlightElement", "") +let $highlightElementPos := number(request:get-parameter("highlightElementPos", "-1")) let $reqQueryResultPN := request:get-parameter("query-result-pn", "") let $queryResultPN := if ($reqQueryResultPN = '' or $reqQueryResultPN = '0') @@ -130,7 +132,7 @@ else $reqPN let $sn := if (($queryType = 'fulltext' or $queryType = 'fulltextMorph' or $queryType = 'fulltextMorphLemma') and $countHits > 0 and $reqPN <= 0 and $reqSN < 0) - then number($firstHit/pos-of-s) + then number($firstHit/posOfHit) else $reqSN (: 10 or more is an error :) @@ -274,7 +276,7 @@ else () let $returnPageFragmentTmp := util:parse($retPageFragment) (: returns a valid xml document for that string :) -let $externalElementsTmpTmp := mpdltext:externalObject("read", "element", concat("")) +let $externalElementsTmpTmp := mpdltext:externalObject("read", "element", concat("")) let $externalElementsTmp := if(not($externalElementsTmpTmp = "")) then util:parse($externalElementsTmpTmp) @@ -374,6 +376,8 @@ {$mode} {$pn} {$sn} + {$highlightElement} + {$highlightElementPos}
{$pageHeader}
{$pageNumberOrig} {$digilibAvailable} diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/presentation/.DS_Store Binary file software/eXist/webapp/mpdl/presentation/.DS_Store has changed diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/presentation/insertExternalElements.xsl --- a/software/eXist/webapp/mpdl/presentation/insertExternalElements.xsl Mon Aug 29 17:40:02 2011 +0200 +++ b/software/eXist/webapp/mpdl/presentation/insertExternalElements.xsl Mon Aug 29 17:40:19 2011 +0200 @@ -84,9 +84,10 @@ + - + @@ -140,7 +141,7 @@ - + diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/presentation/pageFragmentHtml.xsl --- a/software/eXist/webapp/mpdl/presentation/pageFragmentHtml.xsl Mon Aug 29 17:40:02 2011 +0200 +++ b/software/eXist/webapp/mpdl/presentation/pageFragmentHtml.xsl Mon Aug 29 17:40:19 2011 +0200 @@ -19,11 +19,15 @@ + + + + @@ -133,6 +137,7 @@ + @@ -153,30 +158,24 @@ - + - 0 - + 0 + + - - - -
    - -
-
- -
    - -
-
- -
    - -
-
-
+ + + + + + + + +
    + +
@@ -191,15 +190,24 @@ - - + - 0 + + + + + + + + + 0 + + - + @@ -340,7 +348,26 @@ -

+ + + + + + + + + + + + + +

+ + + + + +

@@ -602,20 +629,35 @@ + + + + + + + + + + + + +
- + - + +
- + +
@@ -638,7 +680,17 @@
- + + + + + + + + + + + @@ -700,7 +752,7 @@ - + @@ -711,6 +763,9 @@ + + + @@ -718,7 +773,7 @@ - + @@ -747,37 +802,107 @@ - + + + + + + + + + + + -
+ + +
+ + +
+
+ +
+
+
-
+ + +
+ + +
+
+ +
+
+
-
+ + +
+ + +
+
+ +
+
+
- - - + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + - + + + + + + + + + + + + + + @@ -1003,27 +1128,31 @@ - + + + + + - - + + - + - - + + @@ -1031,17 +1160,16 @@ - + 0 - - - - + + + @@ -1054,7 +1182,7 @@ - + @@ -1071,20 +1199,29 @@ - - + - 0 + + + + + + + + + 0 + + - - - - - - + + + + + + diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/presentation/pageHtml.css --- a/software/eXist/webapp/mpdl/presentation/pageHtml.css Mon Aug 29 17:40:02 2011 +0200 +++ b/software/eXist/webapp/mpdl/presentation/pageHtml.css Mon Aug 29 17:40:19 2011 +0200 @@ -16,6 +16,9 @@ /* unused */ .setoff { margin-left:2cm; margin-right:2cm } +/* highlighting */ +.highlight { background-color:#D3D3D3; } /* LightGrey */ + /* xml presentation */ span.xml.elementName { font-weight:bold;color:purple; } span.xml.attributeName { font-weight:bold; } @@ -83,7 +86,9 @@ span.sc.it {font-weight:bold; font-style:italic; } /* ref */ -span.ref { font-style:italic; } +span.ref a:link {text-decoration: underline; color: blue;} +span.ref a:visited {text-decoration: none; color: #800080;} +span.ref a:hover {text-decoration: underline; color: blue;} /* quotes */ span.q { font-style:italic; } diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/presentation/pageHtml.xsl --- a/software/eXist/webapp/mpdl/presentation/pageHtml.xsl Mon Aug 29 17:40:02 2011 +0200 +++ b/software/eXist/webapp/mpdl/presentation/pageHtml.xsl Mon Aug 29 17:40:19 2011 +0200 @@ -6,8 +6,8 @@ xmlns:functx="http://www.functx.com" xmlns:saxon="http://saxon.sf.net/" xmlns:mpdl="http://www.mpiwg-berlin.mpg.de/ns/mpdl" + xmlns:mpdl-util="http://www.mpiwg-berlin.mpg.de/ns/mpdl/util" xmlns:text="http://www.mpiwg-berlin.mpg.de/ns/mpdl/text" - xmlns:mpdl-util="http://www.mpiwg-berlin.mpg.de/ns/mpdl/util" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms" xmlns:echo="http://www.mpiwg-berlin.mpg.de/ns/echo/1.0/" @@ -19,6 +19,8 @@ + + @@ -29,6 +31,8 @@ + + @@ -139,8 +143,11 @@ - - + + + + + @@ -154,9 +161,6 @@ - - - @@ -428,7 +432,7 @@ - sentence hits + hits entries beginning with: ""
@@ -533,24 +537,29 @@ . + - - + + + - - Page , Sentence + + Page , Sentence + + + Page , Head - Page , Sentence / Page , continuation of the sentence + Page , Sentence / Page , continuation of the sentence :
- + @@ -659,6 +668,7 @@ + @@ -679,30 +689,24 @@
- + - 0 - + 0 + + - - - -
    - -
-
- -
    - -
-
- -
    - -
-
-
+ + + + + + + + +
    + +
@@ -718,18 +722,29 @@ - - + + - 0 - + + + + + + + + + 0 + + - + - + + + @@ -866,7 +881,26 @@ -

+ + + + + + + + + + + + + +

+ + + + + +

@@ -1128,20 +1162,35 @@
+ + + + + + + + + + + + +
- + - + +
- + +
@@ -1164,7 +1213,17 @@
- + + + + + + + + + + + @@ -1226,7 +1285,7 @@ - + @@ -1237,6 +1296,9 @@ + + + @@ -1244,7 +1306,7 @@ - + @@ -1273,37 +1335,107 @@ - + + + + + + + + + + + -
+ + +
+ + +
+
+ +
+
+
-
+ + +
+ + +
+
+ +
+
+
-
+ + +
+ + +
+
+ +
+
+
- - - + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + - + + + + + + + + + + + + + + @@ -1527,27 +1659,31 @@ - + + + + + - - + + - + - - + + @@ -1555,17 +1691,16 @@ - + 0 - - - - + + + @@ -1578,7 +1713,7 @@ - + @@ -1595,20 +1730,29 @@ - - + + - 0 - + + + + + + + + + 0 + + - - - - - - + + + + + + diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/presentation/queryHtml.xsl --- a/software/eXist/webapp/mpdl/presentation/queryHtml.xsl Mon Aug 29 17:40:02 2011 +0200 +++ b/software/eXist/webapp/mpdl/presentation/queryHtml.xsl Mon Aug 29 17:40:19 2011 +0200 @@ -94,29 +94,34 @@ + diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/query.xql --- a/software/eXist/webapp/mpdl/query.xql Mon Aug 29 17:40:02 2011 +0200 +++ b/software/eXist/webapp/mpdl/query.xql Mon Aug 29 17:40:19 2011 +0200 @@ -54,10 +54,10 @@ - MPDL prototype Info MPDL + MPDL prototype Info MPDL - Dedicated to Dr. Malcolm Hyman
† September 4, 2009 + Dedicated to Dr. Malcolm Hyman
† September 4, 2009 powered by eXist @@ -97,7 +97,7 @@ - Info Document bases + Info Document bases @@ -136,7 +136,7 @@ - Info Attribute search + Info Attribute search @@ -202,7 +202,7 @@ - Info fulltext search + Info fulltext search @@ -229,7 +229,7 @@ - Info morphological search + Info morphological search @@ -242,7 +242,7 @@

See the eXist XQuery documentation and the XQuery source of this page, if you find a bug let us know -
Last MPDL software update: March, 2011 +
Last MPDL software update: August, 2011 \ No newline at end of file diff -r 5df60f24e997 -r e99964f390e4 software/eXist/webapp/mpdl/text/.DS_Store Binary file software/eXist/webapp/mpdl/text/.DS_Store has changed