- ab
- abbr
- acquisition
- add
- additional
- additions
- antiphon
- app
- bibl
- binding
- bindingDesc
- catDesc
- category
- cb
- Certainty
- change
- choice
- cit
- citedRange
- collation
- collection
- colophon
- condition
- country
- creation
- custEvent
- date
- decoDesc
- decoNote
- del
- depth
- desc
- dim
- dimensions
- div
- editor
- ex
- expan
- explicit
- facsimile
- faith
- filiation
- foliation
- foreign
- gap
- geo
- graphic
- keywords
- handDesc
- handNote
- handShift
- height
- hi
- history
- idno
- incipit
- item
- l
- language
- layout
- layoutDesc
- lb
- lem
- list
- listApp
- listBibl
- listPerson
- listRelation
- listWit
- locus
- material
- measure
- msContents
- msDesc
- msIdentifier
- msItem
- msFrag
- msPart
- nationality
- notatedMusic
- note
- objectDesc
- occupation
- orig
- origDate
- origin
- origPlace
- p
- pb
- persName
- person
- personGrp
- physDesc
- place
- placeName
- provenance
- ptr
- q
- quote
- rdg
- ref
- region
- relation
- repository
- roleName
- rubric
- seal
- sealDesc
- seg
- settlement
- signatures
- source
- space
- subst
- summary
- supportDesc
- supplied
- surrogates
- TEI
- term
- textLang
- title
- unclear
- watermark
- width
- witness
- active
- ana
- assertedValue
- atLeast
- atMost
- cRef
- calendar
- cause
- cert
- color
- columns
- contemporary
- corresp
- defective
- dur
- evidence
- facs
- form
- from
- hand
- href
- ident
- key
- n
- name
- new
- notAfter
- notAfter-custom
- notBefore
- notBefore-custom
- part
- passive
- pastedown
- place
- reason
- ref
- rend
- rendition
- resp
- role
- sameAs
- script
- source
- subtype
- target
- to
- type
- unit
- url
- value
- when
- when-custom
- who
- wit
- writtenLines
- xml:base
- xml:id
- xml:lang
- @source
- Additional
- Additions and Varia
- Aligning transliteration and morphological annotations with Alpheios Alignment Tool
- Art Themes
- Attribution of single statements
- Authority files (keywords)
- Bibliographic References
- Binding Description
- Canonicalized TEI
- Catalogue Workflow
- Collation
- Colophons, Titles and Supplications
- Contributing sets of images to the research environment
- Contributing to the research environment
- Corpora
- Create New Entry
- Create a new file, delete existing, deal with doublets
- Critical Apparatus
- Critical Edition Workflow
- Dates
- Decoration Description
- Definition of Works, Textparts and Narrative Units
- Documentary Texts
- Dubious spelling
- Editing the Schema
- Editing these Guidelines
- Editions in Work Records
- Entities ID structure
- Event
- Figures and Links to Images
- General
- General Structure of Work Records
- Groups
- Hands Description
- History
- Identifiers Structure
- Images
- Images of Manuscripts for editions
- Inscriptions
- Keywords
- La Syntaxe du Codex
- Language
- Layout
- Letters
- Linking from Wikidata to the research environment
- Manuscript Contents
- Manuscript Description
- Manuscript Physical Description
- Manuscripts
- Named Entities
- Narrative Units
- Object Description
- Person
- Place or Repository
- Places
- References
- References to a text and its structure
- Referencing parts of the manuscript
- Relations
- Relative Location
- Repositories
- Revisions
- Roles and roleNames
- Scrolls
- Seals Description
- Setup
- Some useful how-to for personal workspace set up
- Spaces
- Stand-off annotations with Hypothes.is
- Standardisation of transcription from Encyclopaedia Aethiopica
- State and Certainty
- Statements about persons
- Structure
- Summary on the Use of @ref and @corresp
- TEI
- Taxonomy
- Team IDs
- Text Encoding
- Training Materials
- Transcriptions with Transkribus
- Transformation
- Transliteration Principles
- Users
- Using Xinclude
- Validation process
- Workflow
- Works
- Works Description
- Zotero Bibliography Guidelines
- titleStmt of Manuscript Records
Using Xinclude
Sometimes files just get too big to be usable. You may than split them up and use <xi:include>
↗ to stick them together, including one into the other.
In this page we will see how to do this for manuscript files, but the same technique can be used for any other file and the same precautions apply for these to be
supported by the application.
If you are using transcription done with transkribus you are likely to have a very large file with a <facsimile>
↗
taking thousand of lines which nobody is likely to enjoy scrolling.
In this and other similar cases you can use <xi:include>
↗ to move parts of your file into separate files. First, make a collection/folder which has the name of your file.
Then move your file inside it. This way we are sure not to have duplicates. You can now make a separate XML file which contains your facsimile element with all its contents and call it
for example facsimile.xml
and do the same for the text generated from Transkribus. You will have something like this.
- ESap028
- ESap028.xml
- facsimile.xml
- transkribusText.xml
Remember to reproduce the TEI namespace, at the top element of the included files.
<div type="edition" xml:id="Transkribus" subtype="transkribus">
...
</div>
Example 1
Another small step you need to take is to remove @xml:base
from <text>
↗
Now that those files exist and contain parts of your initial huge file, you can include them into the, now thin, manuscript file with <xi:include>
↗ like in the
ESap028 example.
You can include in files which are included, but please do not go deeper with folders than this order, just keep them all in the same folder, so that the relative path
in @href
can be simply the filename.
IMPORTANT: if you are using the <xi:include>
↗ for your transcription and the main manuscript record already contains a <text>
↗ element, you must (1) remove the <text>
↗ and <body>
↗ tags in the transkribusText.xml file, and (2) insert the relevant <xi:include>
↗ element inside of the <text>
↗ element of your main file, cp. this fix for an example.
Now, there are some qui-pro-quos. For example, validation will only be run from the main file. If you are working on any part you should look at errors report in the main file. Also, Atom does not support this.
This page is referred to in the following pages
Revisions of this page
- Pietro Maria Liuzzo on 2021-02-08: first version draft