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
1 answer

Get different attributes of a single TEI-Tags with XSLT

i have an xml-code (TEI) like this: Mr. Bavoil - 56 ans - clincailler au quai aux fleur
fabsurd
  • 5
  • 2
0
votes
2 answers

TEI xsl:template to show tag relative charName

Inside a TEI header of a tei file I have declared some chars: ` Vnc. Tractus longus Drag.
steplab
  • 11
  • 6
0
votes
1 answer

css rule to selfclosed tag and open-close tag

On css I want to add a rule for a selfclosed tag like this: (exacly convert content to one symbol) I already do it to add a different style for simple open-close tag lorem ipsum (I want to convert open tag and…
steplab
  • 11
  • 6
0
votes
1 answer

exist-db: XQuery and documents with XInclude

I'm embarking on a new project with eXist. We'll be storing a few hundred TEI XML documents that represent manuscripts. A number of things we want to capture are repetitve, mainly people and places. My colleague has asked the TEI community about…
MikeJ
  • 542
  • 6
  • 19
0
votes
1 answer

css style - tag within a tag within a tag

I am styling a document marked up in TEI. I would like to render the "Dio" red (choice-sic-hi rend="red-corr"). I have tried the following and the word "Dio" will not render red. Here is the code: choice sic hi[rend="red-corr"]{ color:…
Steve
  • 3
  • 1
0
votes
1 answer

Select attribute value within a xml-tei attribute with multiple values

I would like to select few attribute values within an attribute with multiple values to print. For this example #in R interpRef <- getNodeSet(doc,"//ns:ref[contains(@ana, 'whatAction')]", ns) interpRef_ana <- for (i in 1:length(interpRef))…
Vanessa
  • 121
  • 12
0
votes
2 answers

Transforming TEI p into lg

I have TEI (text encoding initiative) document containing

some text, and maybe nodes A note and some more text final line without lb

and I want to transform it to:
Johan Dahl
  • 66
  • 1
  • 9
0
votes
2 answers

xml-tei in R: length(nodes) with one different value

Sorry, there is not enough documentation for parsing xml-tei in R yet, especially for a beginner in R. I am counting several nodes with function 'getNodeSet' which have only one different value in 'contains'. The aim is to count '@type=verb'…
Vanessa
  • 121
  • 12
0
votes
1 answer

xml-tei in R: exclude a value from attribute with multiple values

I have multiple values in attribute @ana in a xml-tei file: In R, I want to count some of the @ana values: #in R nodes=getNodeSet(doc,"//ns:w[contains(@type,'verb')…
Vanessa
  • 121
  • 12
0
votes
1 answer

Using div statements in TEI to distinguish chapters, subheadings, etc. (XML)

Disclaimer: First post on StackOverflow, so please bear with me.. I'm also 'new' to XML/markup languages, so if this is a "dumb" question, forgive me. Question: I'm working on a project that involves marking up a series of books. What we would like…
0
votes
1 answer

XSLT – transforming definition lists (TEI)

I can’t figure out a very simple thing! I am trying to write a template for transforming definition lists. Slovníček pojmů Dojem!
Honza Hejzl
  • 874
  • 8
  • 23
0
votes
1 answer

Cannot get css span class for a drop cap to work when doing TEI. It does not validate nor work

CSS code: .face_dropcap_ { font-size: 3em; font-family: Palatino,serif; font-weight: normal; line-height: 100%; float: left; margin-right: 5px; text-align: center; font-style: normal; }
Daria
  • 11
  • 3
0
votes
1 answer

My javascript script for changing css don't seem to be working

function normToggle(){ document.getElementById('normToggle').onclick = function(){ if(document.getElementById('normToggle').checked){ document.getElementsByTagName('add').style.verticalAlign= 'baseline'; }else{ …
FPeter
  • 43
  • 2
  • 9
0
votes
1 answer

A .dtd show constant error, while the line seems okey when inserted into another file

I compiled a .dtd for my recent project, but a line shows constant error:
FPeter
  • 43
  • 2
  • 9
0
votes
0 answers

Best way to move between nested items in sibling nodes?

I have a problem that I'm sure is actually fairly simple to answer, but I can't figure it out and my attempt to ask about it before was unduly complex. I have a page that is being generated from TEI XML that has some text associated with an image…
medievalmatt
  • 427
  • 2
  • 12
1 2 3
9
10