Commit 2e694637 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

less strict $filter parameter

parent e64c6abc
......@@ -771,7 +771,7 @@ else
: parser for listEvents/event entities
: @param $eventDoc The tei:listEvent containing all entries
: :)
declare function ixp:events($eventDoc as element(tei:listEvent), $filter as xs:string+)
declare function ixp:events($eventDoc as element(tei:listEvent), $filter as xs:string*)
as element(xhtml:div) {
<xhtml:div id="{ string-join(($eventDoc/local-name(), $eventDoc/@type), "-") }" class="tab-pane">
<xhtml:div class="panel-group" aria-multiselectable="true" role="tablist">
......@@ -898,9 +898,9 @@ return
};
(:~
: parser for tei:listOrg, returns the index of orgnaisations.
: parser for tei:listOrg, returns the index of organisations.
: :)
declare function ixp:orgs($orgDoc as element(tei:listOrg)+, $filter as xs:string+) {
declare function ixp:orgs($orgDoc as element(tei:listOrg)+, $filter as xs:string*) {
<xhtml:div id="{ string-join(($orgDoc/local-name(), $orgDoc/@type), "-") }" class="tab-pane">
<xhtml:div class="panel-group" aria-multiselectable="true" role="tablist">
{for $orgList in $orgDoc
......@@ -1022,7 +1022,7 @@ else
(:~
: parser for tei:listPerson, returns the index of persons
: :)
declare function ixp:persons($persDoc as element(tei:listPerson), $filter as xs:string+)
declare function ixp:persons($persDoc as element(tei:listPerson), $filter as xs:string*)
as element(xhtml:div) {
(: main tab :)
<xhtml:div id="{ string-join(($persDoc/local-name(), $persDoc/@type), "-") }" class="tab-pane">
......@@ -1207,7 +1207,7 @@ else
(:~
: prepares the index of geographical references
: :)
declare function ixp:places($listPlace as element(tei:listPlace), $filter as xs:string+)
declare function ixp:places($listPlace as element(tei:listPlace), $filter as xs:string*)
as element(xhtml:div) {
<xhtml:div id="{ string-join(($listPlace/local-name(), $listPlace/@type), "-") }" class="tab-pane">
<xhtml:div class="panel-group" aria-multiselectable="true" role="tablist">
......@@ -1373,7 +1373,7 @@ return ixp:prepare-work($i)
(:~
: prepares the list of works :)
declare function ixp:works($wrkDoc as element(tei:list), $filter as xs:string+)
declare function ixp:works($wrkDoc as element(tei:list), $filter as xs:string*)
as element(xhtml:div) {
<xhtml:div id="{ string-join(($wrkDoc/local-name(), $wrkDoc/@type), "-") }" class="tab-pane">
<xhtml:div class="panel-group" aria-multiselectable="true" role="tablist">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment