-
Notifications
You must be signed in to change notification settings - Fork 0
Places
Christian Lück edited this page Jan 5, 2022
·
1 revision
If there is a <prefixDef>
in the header, which defines a URI scheme
with the prefix (protocol) pl
, plc
, place
, an author mode action
for selecting a place
from a placeography is activated. For example, put this in the header:
...
<encodingDesc>
...
<listPrefixDef>
<prefixDef
matchPattern="([a-zA-Z0-9_-]+)"
replacementPattern="places.xml#$1"
ident="psn"/>
</listPrefixDef>
...
</encodingDesc>
If the linked file places.xml
is present, then all <place>
elements found are presented in a selection dialog. If the caret
(pointer) is on a <placeName>
, the @ref
attribute is updated by
your selection (and deleted if you choose the empty name). If the
caret is not in such a context, an empty fragment or a surrounding
fragment like this is created:
<persName ref="psn:BadraddinbalAttar">Badraddīn</persName>
In oXygen's text mode, suggestions for the value of @ref
of
<placeName>
are offered.
See configuration for persons.