Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
9ead5228
Commit
9ead5228
authored
Dec 10, 2018
by
mrodzis
💪
Browse files
Fix bug in person map
parent
5bad0580
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/fontane/teisimpleprint/index-info.xqm
View file @
9ead5228
...
...
@@ -51,7 +51,7 @@ declare variable $index-info:place-map :=
));
declare variable $index-info:psn-map :=
map:merge(for $entry in doc("/db/sade-projects/textgrid/data/xml/data/
test-psn
.xml")//*[self::tei:person or self::tei:personGrp]
map:merge(for $entry in doc("/db/sade-projects/textgrid/data/xml/data/
253sx
.xml")//*[self::tei:person or self::tei:personGrp]
return
map:entry(string($entry/@xml:id),
map {
...
...
@@ -61,7 +61,7 @@ declare variable $index-info:psn-map :=
"occupation" : string($entry/tei:occupation),
"occs-in-nbs" : "",
"relation-to-fontane" : string($entry/tei:state/tei:desc),
"same-as" : string($entry/ancestor::tei:listPerson//tei:person[not(@xml:id)][descendant::tei:ptr[contains(@target, $entry/@xml:id)]]/tei:persName)
"same-as" : string
-join
($entry/ancestor::tei:listPerson//tei:person[not(@xml:id)][descendant::tei:ptr[contains(@target, $entry/@xml:id)]]/tei:persName
, "+"
)
}
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment