Questions tagged [tei]

Text Encoding Initiative, a semantically rich XML-based language for marking up literature such as classical documents.

TEI stands for Text Encoding Initiative, a semantically rich XML-based language for marking up literature (prose, poetry, drama) such as classical documents.

Links

148 questions
0
votes
0 answers

Getting empty list when trying to extract TEI xml attribute in R

I am currently trying to extract some data from a set of TEI xml files. I have gotten somewhere already and have found(according to this website : XPath tester site) a working xpath expression. The problem is, however, that as soon as try to use…
Micha
  • 31
  • 6
0
votes
1 answer

TEI-XML dictionary to simple HTML table using XSL

Need to put "entryFree" words in a first column (leaving
content for second), and "sense" and other as a second, every pair in the same row, with borders. Sample XSL stylesheet contains formatting only. sample XML:…
Rimdar
  • 3
  • 2
0
votes
1 answer

eXist-db Lucene / KWIC output - linking to URL for document that produced a $hit

In eXist-DB 4.4 I have managed to deploy a simple Lucern query with KWIC output as a table. I have a collection of tei:xml documents which looks like this sample: [...]
jbrehr
  • 775
  • 6
  • 19
0
votes
1 answer

XSLT 2.0 - xsl:number inconsistent number order

In XSLT 2.0 I am processing tei:xml documents to HTML. During this process I output footnote numbers in two passes, for two reasons. First, adding numbers in the text body itself by selecting certain elements to which are attached/replaced by
jbrehr
  • 775
  • 6
  • 19
0
votes
1 answer

How do I generate a XSLT stylesheet for the following TEI snipet?

i wanted to ask you for help. I am totally new to XSLT and i wanted to know if someone can show me the right XSLT stylesheet for the following TEI-snipet:
Weitere Aufzählungen
0
votes
1 answer

XSLT 2.0 co-ordinating multiple modes

XSLT 2.0, stylesheet and data at https://xsltfiddle.liberty-development.net/bFDb2D3/4 I am transforming medieval documents encoded in tei-xml into webpages where the user can toggle between two different views of the documents, as well as see the…
jbrehr
  • 775
  • 6
  • 19
0
votes
1 answer

XSLT 2.0 separating two recursive outputs

XSLT fiddle here: https://xsltfiddle.liberty-development.net/bdxtqU/5 This question follows on from the implications of this answer where I wanted to output, using XSLT 2.0, into an HTML URL, where can be found inside another…
jbrehr
  • 775
  • 6
  • 19
0
votes
0 answers

XSLT 2.0 moving a node (created in first step of a multi-step transformation)

XML and the XSLT 2.0 files for this question are found at https://xsltfiddle.liberty-development.net/6qVRKwX/3 I am trying to 'move' an element ahead of outputting a section of HTML. This element was created during the first part of the…
jbrehr
  • 775
  • 6
  • 19
0
votes
1 answer

XSLT 2.0 creating incremental footnote numbers in HTML output through multi-stage transformation

This question builds on the responses to my original question, where it was suggested that I post a followup. This concerns attempting to integrate the XSL code from the previous post. In the previous question I presented a simplified version of…
jbrehr
  • 775
  • 6
  • 19
0
votes
1 answer

XSLT output to HTML: add an HTML element with incremented number, based on another element

I have tei:xml documents which I am transforming into HTML with XSLT 2.0. The effective structure of the tei documents look like this: ...

In non hendrerit metus.…

jbrehr
  • 775
  • 6
  • 19
0
votes
1 answer

XSL 2.0 - generating distinct urls from nested elements

I have tei-xml files where I've marked up named entities within medieval documents, in particular people's names using . A simple example: Bernardus Fabri senior However, there are…
jbrehr
  • 775
  • 6
  • 19
0
votes
3 answers

Load multiple files with XSL document and store them in separate variables

i wrote a little XSL transformation to combine multiple .xml-documents into one file. For this purpose i am using the document() function. Currently my solution is working fine, but i am asking myself if there is a more elegant way to do this. Is…
B Polit
  • 162
  • 8
0
votes
1 answer

Converting .tei file to a .txt file

I have a .tei file of the following format. The Semantic Web
Bharath kumar k
  • 119
  • 2
  • 5
  • 13
0
votes
0 answers

Could not load document /LoW.xml. Maybe it is not valid TEI or not in the TEI namespace?

I am sure this is quite basic, but I'm putting together a traning-database with some files on the loss of a particular ship. When uploading it to exist-db (I created the DB with tei-publisher ...) and wanting to present the file, I get the above…
user9813195
0
votes
1 answer

How to insert a line break or a return within a Note TEI XML

I'm writing up annotations and I'm currently trying to format them. I'm working in Oxygen and I've tried both and and obviously just hitting enter within the annotation but none of them are working unfortunately. Thank you for any suggestions