diff --git a/data/xql/getHeader.xql b/data/xql/getHeader.xql
index b22c005c..96f0802b 100644
--- a/data/xql/getHeader.xql
+++ b/data/xql/getHeader.xql
@@ -61,7 +61,7 @@ return
)
) else if ($type = 'text') then (
- transform:transform($doc, concat($base, 'teiHeader2HTML.xsl'),
+ transform:transform($doc, concat($base, 'tei/profiles/edirom-header/teiHeader2HTML.xsl'),
diff --git a/data/xql/getLinkTarget.xql b/data/xql/getLinkTarget.xql
index 1e29ef88..3874d21e 100644
--- a/data/xql/getLinkTarget.xql
+++ b/data/xql/getLinkTarget.xql
@@ -45,7 +45,7 @@ declare function local:getView($type as xs:string, $docUri as xs:string, $doc as
else
$docUri
}
-
+
(: optionally set label for some views:)
let $labeled.map :=
if ($type = 'mei_textView') then
@@ -54,7 +54,7 @@ declare function local:getView($type as xs:string, $docUri as xs:string, $doc as
(map:put($baseMap, 'label', 'XML Quellenbeschreibung'))
else
($baseMap)
-
+
(: whether to set the view as default view:)
let $defaultViewed.map :=
if ($type = (
@@ -69,36 +69,36 @@ declare function local:getView($type as xs:string, $docUri as xs:string, $doc as
(map:put($labeled.map, 'defaultView', true()))
else
($labeled.map)
-
+
(: xpath check whether any given view is supported :)
let $hasView :=
if ($type = 'desc_summaryView') then
(true())
-
+
else if ($type = 'desc_headerView') then
(exists($doc//mei:meiHead or $doc//tei:teiHeader))
-
+
else if ($type = 'mei_textView') then
(exists($doc//mei:annot[@type = 'descLink']))
-
+
else if ($type = 'mei_sourceView') then
(exists($doc//mei:facsimile//mei:graphic[@type = 'facsimile']))
-
+
else if ($type = 'mei_audioView') then
(exists($doc//mei:recording))
-
+
else if ($type = 'mei_verovioView') then
(exists($doc//mei:body//mei:measure) and exists($doc//mei:body//mei:note))
-
+
else if ($type = 'tei_textView') then
(exists($doc//tei:body[matches(.//text(), '[^\s]+')]))
-
+
else if ($type = 'tei_facsimileView') then
(exists($doc//tei:facsimile//tei:graphic))
-
+
else if ($type = 'tei_textFacsimileSplitView') then
(exists($doc//tei:facsimile//tei:graphic) and exists($doc//tei:pb[@facs]))
-
+
else if ($type = 'mei_annotationView') then
(exists($doc//mei:annot[@type = 'editorialComment']))
@@ -110,10 +110,10 @@ declare function local:getView($type as xs:string, $docUri as xs:string, $doc as
else if ($type = 'desc_xmlView') then
(exists($doc//mei:annot[@type = 'descLink']))
-
+
else
(false())
-
+
return
if ($hasView) then
($defaultViewed.map)
@@ -128,7 +128,7 @@ declare function local:getViews($type as xs:string, $docUri as xs:string, $doc a
let $views := (
(:'desc_summaryView',:)
- (:'desc_headerView',:)
+ 'desc_headerView',
'mei_textView',
'mei_sourceView',
'mei_audioView',
@@ -141,12 +141,12 @@ declare function local:getViews($type as xs:string, $docUri as xs:string, $doc a
'xml_xmlView',
'desc_xmlView'
)
-
+
let $maps :=
for $view in $views
return
local:getView($view, $docUri, $doc)
-
+
return
$maps
};
@@ -184,7 +184,7 @@ declare function local:getWindowTitle($doc as document-node()?, $type as xs:stri
(string-join((eutil:getLocalizedTitle(($doc//mei:source)[1]/mei:titleStmt[1], $lang),
($doc//mei:source)[1]//mei:identifier[lower-case(@type) = 'shelfmark'][1]), ' | ')
=> normalize-space())
-
+
(: MEI fallback if no title is found :)
else if (exists($doc//mei:mei) and exists(($doc//mei:titleStmt)[1])) then
(eutil:getLocalizedTitle(($doc//mei:titleStmt)[1], $lang))
@@ -192,7 +192,7 @@ declare function local:getWindowTitle($doc as document-node()?, $type as xs:stri
(: Text :)
else if ($type = 'text') then
(eutil:getLocalizedTitle($doc//tei:fileDesc/tei:titleStmt[1], $lang))
-
+
(: HTML :)
else if ($type = 'html' and not(functx:all-whitespace($doc//*:head/*:title))) then
$doc//*:head/*:title => normalize-space()
@@ -301,26 +301,26 @@ let $type :=
(: Work :)
if (exists($doc//mei:mei) and exists($doc//mei:work) and not(exists($doc//mei:perfMedium))) then
(string('work'))
-
+
(: Recording :)
else if (exists($doc//mei:mei) and exists($doc//mei:recording)) then
(string('recording'))
-
+
(: Source / Score :)
else if (source:isSource($docUri)) then
(string('source'))
-
+
(: Text :)
else if (exists($doc/tei:TEI)) then
(string('text'))
-
+
(: HTML :)
else if (exists($doc/html) or exists($doc/html:html)) then
(string('html'))
-
+
else if (contains($docUri, '.html')) then
(string('html'))
-
+
else
(string('unknown'))
diff --git a/data/xslt/ediromOnline_metadata.xsl b/data/xslt/ediromOnline_metadata.xsl
index 928ec384..de7bfeae 100644
--- a/data/xslt/ediromOnline_metadata.xsl
+++ b/data/xslt/ediromOnline_metadata.xsl
@@ -1,177 +1,286 @@
-
-
-
-
-
-
-
- (
-
- )
-
-
-
-
- (
+
+
+
+
+
+
+
+
+
+
+ Disable output for XML comments
+
+
+
+
+ Disable output for XML processing-instructions
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+ (
+
+ )
+
+
+
+
+ (
+
+
+
+
+
+
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ,
+
+
+
+
+
+
+
+
+
+ (
+
+ )
+
+
+
+
+
+
+
- )
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ,
-
-
-
-
-
-
-
-
-
- (
-
- )
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- section
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ section
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ property
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ subProperty
+
+
+
+
+
+
+
+
+
+
+
+ subProperty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
-
-
-
-
-
- property
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- subProperty
-
-
-
-
-
-
-
-
-
- subProperty
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ subProperty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/data/xslt/i18n/de.xml b/data/xslt/i18n/de.xml
index 4c47772d..a292075b 100755
--- a/data/xslt/i18n/de.xml
+++ b/data/xslt/i18n/de.xml
@@ -85,7 +85,7 @@
Ausstellungsgeschichte
Umfang
Hand
- Signatur
+ Bezeichner
Aufdruck
Aufbewahrungsort
Material
@@ -104,17 +104,19 @@
Titel
Unveröffentlicht
Ort
+
Annotation
- Bestandteile
- Expressionen
- Schreiber
-
- Körperschaft
Aufnahmemodus
Datenträger
+ Bestandteile
+ Körperschaft
+ Expressionen
Eigenschaften
+ Schreiber
+ FRBR-Manifestationen
Abspielgeschwindigkeit
+ Ort
FRBR-Beziehungen
Tonkanäle
@@ -130,10 +132,11 @@
Verfügbarkeit
Lagenordnung
Dekor
- Edition
+ Angaben zur Ausgabe
Dateinformationen
Paginierung/Foliierung
Publikation
+ Sprachgebrauch
erwähnte Zeugen
Bibliographie
Material
@@ -141,13 +144,16 @@
Repositorium
Organisation
Publikation
+ Nicht-bibliographische Aspekte
+ Darstellungsinformationen
Reihe
+ Beschreibung des Tag-Gebrauchs
Titel (analytisch)
Titel (monographisch)
Titel (in einem Journal)
Titel (in einer Serien)
Titel (unveröffentlicht)
- Signatur
+ Bezeichner
Datum
Land
Ort
@@ -156,10 +162,7 @@
Schreiber-Anmerkungen
Exemplar(e)
Ort
-
- Verantwortlich
- Nicht-bibliographische Angaben
-
+ Verfasserangabe
Codierung
Einband
@@ -182,4 +185,4 @@
Quellenbeschreibung
Sänger
Musiker
-
\ No newline at end of file
+
diff --git a/data/xslt/i18n/en.xml b/data/xslt/i18n/en.xml
index 308ed1a2..f91e8fdc 100644
--- a/data/xslt/i18n/en.xml
+++ b/data/xslt/i18n/en.xml
@@ -28,7 +28,7 @@
Order number
Article number (EAN)
- Publikation
+ Publication
Series
Publication Date
@@ -104,17 +104,19 @@
Title
Unpublished
Place
+
Annotation
- Components
- Expressions
- Scribes
-
- Corporation name
Capturing mode
Carrier form
+ Components
+ Corporation name
+ Expressions
File characteristics
+ Scribes
+ FRBR manifestations
Playing speed
+ Ort
FRBR-relations
Sound channels
@@ -133,6 +135,7 @@
File Information
Foliation
Publication
+ Sprachgebrauch
Witnesses considered
Bibliography
Material
@@ -140,7 +143,10 @@
Location
Organisation
Publication
+ Non-bibliographic aspects
+ Rendition
Series
+ Description of tag usage
Title (analytic)
Title (monographic)
Title (journal)
@@ -155,18 +161,16 @@
Notes on hands
Item List
Place name
-
Responsibility
- Non-bibliographic aspects
-
+
Encoders
Binding
- (leaves)
+ (leaves)
manuscript
Publisher
Work
Publication
-
+
leaf
cm
diff --git a/data/xslt/meiHead2HTML.xsl b/data/xslt/meiHead2HTML.xsl
index d24ccdf2..f856faec 100644
--- a/data/xslt/meiHead2HTML.xsl
+++ b/data/xslt/meiHead2HTML.xsl
@@ -1,201 +1,175 @@
-
-
-
-
-
-
-
- Created on: Dec 21, 2011
- Author:Johannes Kepper
- Author:Benjamin W. Bohl
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ Created on: 2011–2024
+ Author:Johannes Kepper Author:Benjamin W. Bohl
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
- (
-
- )
-
-
-
-
- (
-
-
-
-
-
-
-
-
-
- )
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
- (
-
- )
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
- (
-
- )
-
-
-
-
-
-
-
-
-
-
-
- address plain
-
-
-
-
-
-
-
-
-
-
- loadLink('
-
- ')
- []
-
-
-
-
-
-
- #
-
- loadLink('
-
- ')
-
-
-
-
-
-
-
- _blank
-
+
+
+
+
+
+
+
+
+
+
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ address plain
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- value
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ loadLink('
+
+ ')
+ []
+
+
+
+
+
+
+ #
+
+ loadLink('
+
+ ')
+
+
+
+
+
+
+
+ _blank
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ value
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- meiHead
-
-
-
+
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- property
-
-
-
-
- unit
- (: )
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ property
+
+
+
+
+ unit (: )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- value
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- section
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
- propertyList
-
-
-
-
-
-
+
+ section
+
+
+
+
+ propertyList
+
+
+
+
+
+
-
-
-
- section
-
-
+
+
+
+ section
+
+
+
+
+ propertyList
+
+
+
+
+
+
+ section
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ property
- propertyList
-
+ key
+
+
+
+
+
+
+ date
+
+
+
-
-
-
-
- section
-
-
+
+ value
+
+
-
-
-
-
-
-
-
-
-
-
-
- property
-
- key
-
-
-
-
-
-
- date
-
-
-
-
-
- value
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- value
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ value
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
- section
-
-
-
-
- propertyList
-
-
-
-
-
-
- section
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- lang
- ()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- :
-
-
-
- ;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+ :
+
+
+
+ ;
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (
-
- )
-
-
-
-
+
+
+
+
+
+
+
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+ property
+
+ key
+
+
+
+
+
@@ -930,8 +998,10 @@
- -->
-
+
-
-
- property
-
- key
-
-
-
-
- value
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Dur
-
-
- Moll
+
+
+
+
+ property
+
+ key
+
+
+
+
+ value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Dur
+
+
+ Moll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [
+
+ ]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
+
+ ;
+
+
-
-
-
-
-
-
-
-
-
-
-
- [
-
- ]
-
-
-
-
-
-
-
- ;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (
-
-
- _blank
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (
+
+
+ _blank
+
+
+ )
+
+
+
- )
-
-
-
-
-
-
-
-
-
-
-
-
-
- property
-
- key
-
-
-
- value
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ property
+
+ key
+
+
+
+ value
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
- property
-
- key
-
-
-
- value
-
-
-
-
-
-
-
-
-
-
- property
-
- key
-
-
-
- value
-
-
-
-
- annotHead
-
-
+
+
+
+
+
+
+
+
+
+ property
+
+ key
+
+
+
+ value
+
+
+
+
+
+
+
+
+
+
+
+
+ property
+
+ key
+
+
+
+ value
+
+
+
+
+ annotHead
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ property
+
+ key
+
+
+
+ value
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- value
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
- property
-
- key
-
-
-
- value
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
- property
-
- key
-
-
-
- value
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ,
- ,
- ,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- property
-
- key
-
-
-
- value
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ ,
+ ,
+ ,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ property
+
+ key
+
+
+
+ value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
- subProperty
-
-
-
-
- unit
- (: )
-
-
-
-
-
-
-
-
-
-
-
- property
-
- key
-
-
-
- value
-
-
-
-
-
-
-
-
- subProperty
-
-
-
-
- unit
- (: )
-
-
-
-
-
-
-
-
- unit (: )
+
+
+
+
+
+
+
+
-
-
-
-
- property
+
+
+
+
+
+
+ property
+
+ key
+
+ :
+
+
+
+ value
+
+
+
+
+
+
+
+
+
- key
-
-
- :
-
-
+ subproperty
+
+ subkey
+
+ :
+
+
+
+ value
+
+
+
+
+
+
+
+
+
+
+
+
- value
-
-
+ property
+
+ key
+
+
+
+ value
+
+
+
-
-
-
-
-
- subproperty
-
- subkey
-
-
- :
-
-
-
-
- value
-
-
-
-
+
+
+
+
+
+ property
+
+ key
+
+
+
+
+
+
+
+
+
+
+ value
+
-
-
-
-
-
-
- property
-
- key
-
-
-
- value
-
-
-
-
-
-
-
- property
-
- key
-
-
-
-
-
-
-
-
-
-
- value
-
-
-
-
-
-
-
-
-
-
-
- property
-
- key
-
-
-
-
-
-
-
-
-
-
- value
-
-
-
-
-
-
-
- property
-
- key
-
-
-
-
-
-
-
-
-
-
- value
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
- (
-
-
-
- authURI
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- )
-
-
-
-
- subproperty
-
- subkey
-
-
-
-
- label
-
+
+
+
+
+
+
+
+ (
+
+
+
+ authURI
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ )
+
+
+
+
+
+
+ subproperty
+
+ subkey
+
+
+
+
+ label
+
+
+
+
+
+
+
-
-
-
-
-
-
-
- subvalue
-
-
-
-
-
-
-
-
-
-
- property
-
- key
-
-
-
-
-
-
-
-
-
-
- value
-
-
-
-
-
-
-
- property
-
- key
-
-
-
-
-
-
-
-
-
-
- value
-
-
-
-
-
-
-
- subproperty
-
- subkey
-
-
-
-
-
-
-
-
-
-
- subvalue
-
-
-
-
-
-
-
-
-
-
-
-
+
+ subvalue
+
+
+
+
+
+
+
+
+
+
+
+
+
- value
-
-
-
-
-
-
-
+ property
+
+ key
+
+
+
+
+
+
+
+
+
+
+ value
+
+
+
-
-
-
-
-
- property
-
- key
-
-
-
- value
-
-
-
-
-
-
- property
-
- key
-
-
-
- value
-
-
-
-
-
-
-
- property
+
+
+
+
- key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ property
+
+ key
+
+
+
+
+
+
+
+
+
+
+ value
+
+
+
+
+
+
+
- value
-
-
-
-
-
-
-
-
+ subproperty
+
+ subkey
+
+
+
+
+
+
+
+
+
+
+ subvalue
+
+
+
-
-
-
-
-
- property
-
- key
-
-
-
- value
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- blank_
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- color:
-
-
- #
-
-
-
-
-
-
- ;
-
-
- font-family: '';
+
+
+
+
+
+
+
+
+
+
+
+
+
+ value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ property
+
+ key
+
+
+
+ value
+
+
+
+
+
+
+
+
+ property
+
+ key
+
+
+
+ value
+
+
+
+
+
+
+
+
+
+ property
+
+ key
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ property
+
+ key
+
+
+
+ value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Apply the templates defined in meiP2HTML.xsl for MEI paragraphs.
+
+
+
+
+
+
+
+
+
+ color:
+
+
+ #
+
+
+
+
+
+
+ ;
+
+ font-family: '';
+ font-weight: '';
+
+
+
+
+
+
-
- font-weight: '';
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [
-
-
-
-
- blank_
-
-
-
-
-
-
- Link
-
-
-
- ]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- section
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ [
+
+
+
+
+ blank_
+
+
+
+
+
+
+ Link
+
+
+
+ ]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ section
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/data/xslt/meiP2html.xsl b/data/xslt/meiP2html.xsl
index a6ea5486..79b6ebb7 100644
--- a/data/xslt/meiP2html.xsl
+++ b/data/xslt/meiP2html.xsl
@@ -1,172 +1,213 @@
-
+
+
-
- Created on: Mar 19, 2012
-
- Author: Johannes Kepper
-
+ Created on: Mar 19, 2012
+ Author: Johannes Kepper
+
-
-
-
-
+
+
+
+
+
+
+
+
-
+
-
+
+
-
+
-
+
-
+
+
-
-
+
+
+ for $seq in (1 to count($nodes))
+ return
+ $seq[deep-equal($nodes[$seq], $nodeToFind)]" />
+
+
+
+
+
+ Disable output for XML comments
+
+
+
+
+ Disable output for XML processing-instructions
+
+
+
-
+
-
-
+
+
-
+
+
+
-
+
-
+
+
+
-
+
-
+
+
+
+
+
+ Transform mei:ref elements to HTML a-elements. Adds a onclick attribute to handle links with the Edirom Online LinkController.
+
-
+
+ ref
+
+
loadLink('
-
+
', {
-
- })
+
+ }); return false;
- loadLink("
-
- ")
+ loadLink('
+
+ '); return false;
-
+
-
-
+
+
+
+
-
- color:
-
-
- #
-
-
-
-
- ;
-
-
-
- font-family: ;
-
-
- font-weight: ;
-
-
- font-weight: ;
-
-
- font-style: ;
-
+ color: # ;
+ font-family: ;
+ font-weight: ;
+ font-weight: ;
+ font-style: ;
-
+
-
+
-
+
-
+
+
+
+ Transform mei:lb to HTML br-element or HTML span-Element with ' | ' as content, depending on its ancestor.
+
-
+
+
+
+
+
-
+
+
+
+
+ |
-
+
+
+
+
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
\ No newline at end of file
+
diff --git a/data/xslt/tei/profiles/edirom-header/teiHeader2HTML.xsl b/data/xslt/tei/profiles/edirom-header/teiHeader2HTML.xsl
index 695e2830..85e6d022 100755
--- a/data/xslt/tei/profiles/edirom-header/teiHeader2HTML.xsl
+++ b/data/xslt/tei/profiles/edirom-header/teiHeader2HTML.xsl
@@ -2,40 +2,46 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
-
+
+
@@ -46,6 +52,10 @@
+
+
+ determine node handling in plainCommaSep mode
+
@@ -112,6 +122,7 @@
+
@@ -119,8 +130,10 @@
+
+
@@ -134,7 +147,9 @@
+
+
Override TEI microData template
@@ -142,15 +157,19 @@
+
+
+
(
)
+
@@ -174,52 +193,70 @@
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Add a div with class teiHeader then process children
@@ -230,6 +267,7 @@
+
@@ -241,6 +279,7 @@
+
@@ -253,6 +292,7 @@
+
@@ -268,9 +308,13 @@
+
+
+
+
@@ -282,6 +326,8 @@
+
+
@@ -315,6 +361,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
property
@@ -323,44 +383,102 @@
-
+
date
-
+
value
-
+
+
+ Ignore tei:date that is immediate child of tei:change
+
+
+
+
+ Ignore tei:name that is immediate child of tei:change
+
+
+
+
+ Ignore tei:orgName that is immediate child of tei:change
+
+
+
+
+ Ignore tei:persName that is immediate child of tei:change
+
+
+
+
+
+
+ property
+
+ key
+
+
+
+
+
+
+ value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -377,6 +495,7 @@
+
(
@@ -385,23 +504,29 @@
+
+
+
+
+
+
@@ -420,20 +545,6 @@
-
-
-
- respStmt property
-
-
-
-
- value
-
-
-
-
-
@@ -445,6 +556,8 @@
+
+
property
@@ -458,6 +571,7 @@
+
Process element witness
@@ -512,24 +626,39 @@
+
(
)
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
define subProperties for pubStmt
@@ -538,13 +667,15 @@
-
+
+
-
+
+
@@ -552,30 +683,37 @@
-
+
+
+
+
+
+
+
-
+
+
@@ -602,12 +740,16 @@
+
+
+
+
@@ -657,6 +850,8 @@
+
+
@@ -691,11 +886,13 @@
+
+
@@ -706,13 +903,13 @@
-
+
@@ -725,10 +922,13 @@
+
+
+
:
@@ -744,7 +944,15 @@
)
-
+
+
+
+
+
+
+
+
+
@@ -757,7 +965,6 @@
-
@@ -767,10 +974,12 @@
+
+
- postCodeSettlement
+ postCodeSettlement
@@ -784,18 +993,21 @@
+
+
+
@@ -813,9 +1025,11 @@
+
+
\ No newline at end of file