From d05129c011f838a7804ed045c3ceb4f2dc42dc68 Mon Sep 17 00:00:00 2001 From: geoffroy-noel-ddh Date: Fri, 27 Sep 2024 22:48:51 +0100 Subject: [PATCH] fix(annotator): tetx viewer shows part numbers (e.g. fragments). gh-76. --- app/assets/main.css | 16 +++++++++++++--- app/data/tei2html.sef.json | 2 +- app/data/tei2html.xslt | 8 ++++++++ 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/app/assets/main.css b/app/assets/main.css index c936ac059..767b635e7 100644 --- a/app/assets/main.css +++ b/app/assets/main.css @@ -258,14 +258,24 @@ The name of the element is inserted into the class attribute: text-align: center; } +.textpart-number:before { + content: 'Part '; +} +div[data-tei-subtype='fragment-physical'] .textpart-number:before { + content: 'Fragment '; +} +.textpart-number, .column-number { + font-size: 1.5em; + border-top: 1px solid gray; + width: 90%; +} .column-number:before { content: 'Column '; } .column-number { - font-size: 1.5em; - border-top: 1px solid gray; + font-size: 1.3em; + border-top-style: dashed; display: inline-block; - width: 90%; } .tei-ab > br:first-child { diff --git a/app/data/tei2html.sef.json b/app/data/tei2html.sef.json index ee7131e16..01b8f5baa 100644 --- a/app/data/tei2html.sef.json +++ b/app/data/tei2html.sef.json @@ -1 +1 @@ -{"N":"package","version":"10","packageVersion":"1","saxonVersion":"SaxonJS 2.6","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"false","buildDateTime":"2024-09-27T22:01:34.152+01:00","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","C":[{"N":"co","id":"0","uniform":"true","binds":"2 4","C":[{"N":"template","flags":"os","module":"tei2html.xslt","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","name":"Q{}lossless-span","line":"45","expand-text":"false","sType":"1NE nQ{http://www.w3.org/1999/xhtml}span ","C":[{"N":"elem","name":"span","sType":"1NE nQ{http://www.w3.org/1999/xhtml}span ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","role":"body","line":"46","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes","line":"47"},{"N":"applyT","sType":"* ","line":"48","mode":"#unnamed","bSlot":"1","C":[{"N":"docOrder","sType":"*N u[NT,NP,NC,NE]","role":"select","line":"48","C":[{"N":"slash","role":"select","simple":"1","sType":"*N u[NT,NP,NC,NE]","C":[{"N":"treat","as":"N","diag":"13|0|XTTE0510|","C":[{"N":"dot"}]},{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]","sType":"*N u[NT,NP,NC,NE]","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "}]}]}]}]}]}]}]},{"N":"co","id":"1","uniform":"true","binds":"2 4","C":[{"N":"template","flags":"os","module":"tei2html.xslt","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","name":"Q{}lossless-div","line":"52","expand-text":"false","sType":"1NE nQ{http://www.w3.org/1999/xhtml}div ","C":[{"N":"elem","name":"div","sType":"1NE nQ{http://www.w3.org/1999/xhtml}div ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","role":"body","line":"53","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes","line":"54"},{"N":"applyT","sType":"* ","line":"55","mode":"#unnamed","bSlot":"1","C":[{"N":"docOrder","sType":"*N u[NT,NP,NC,NE]","role":"select","line":"55","C":[{"N":"slash","role":"select","simple":"1","sType":"*N u[NT,NP,NC,NE]","C":[{"N":"treat","as":"N","diag":"13|0|XTTE0510|","C":[{"N":"dot"}]},{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]","sType":"*N u[NT,NP,NC,NE]","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "}]}]}]}]}]}]}]},{"N":"co","id":"2","uniform":"true","binds":"5","C":[{"N":"template","flags":"os","module":"tei2html.xslt","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","name":"Q{}lossless-attributes","line":"59","expand-text":"false","sType":"* ","C":[{"N":"sequence","role":"body","sType":"* ","C":[{"N":"att","name":"class","sType":"1NA ","line":"60","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"sequence","sType":"* ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"61","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"fn","name":"concat","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"61","C":[{"N":"str","val":"tei-"},{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"choose","sType":"* ","line":"62","C":[{"N":"docOrder","sType":"*NA nQ{}type","line":"62","C":[{"N":"slash","role":"select","simple":"1","sType":"*NA nQ{}type","C":[{"N":"treat","as":"N","diag":"13|0|XTTE0510|","C":[{"N":"dot"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type","sType":"*NA nQ{}type","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "}]}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" tei-type-"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NA nQ{}type","role":"select","line":"34","C":[{"N":"slash","role":"select","simple":"1","sType":"*NA nQ{}type","C":[{"N":"treat","as":"N","diag":"13|0|XTTE0510|","C":[{"N":"dot"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type","sType":"*NA nQ{}type","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"63","C":[{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","line":"63","C":[{"N":"or","C":[{"N":"or","C":[{"N":"or","C":[{"N":"or","C":[{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]},{"N":"str","val":"w"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]},{"N":"str","val":"name"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]},{"N":"str","val":"g"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]},{"N":"str","val":"placeName"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]},{"N":"str","val":"num"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]},{"N":"str","val":"orgName"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]},{"N":"str","val":"orig"}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" is-word"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"att","name":"data-tei","sType":"1NA ","line":"65","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"valueOf","sType":"1NT ","flags":"l","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"fn","name":"local-name","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"37","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"applyT","sType":"* ","line":"67","mode":"Q{}data-tei","bSlot":"0","C":[{"N":"docOrder","sType":"*NA","role":"select","line":"67","C":[{"N":"slash","role":"select","simple":"1","sType":"*NA","C":[{"N":"treat","as":"N","diag":"13|0|XTTE0510|","C":[{"N":"dot"}]},{"N":"axis","name":"attribute","nodeTest":"*NA","sType":"*NA","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "}]}]}]}]}]}]},{"N":"co","id":"3","uniform":"true","binds":"3","C":[{"N":"template","flags":"os","module":"tei2html.xslt","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","name":"Q{}mark-up-every-character","line":"80","expand-text":"false","sType":"* ","C":[{"N":"sequence","role":"body","sType":"* ","C":[{"N":"param","name":"Q{}text","slot":"0","sType":"* ","as":"* ","flags":"","line":"81","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"choose","sType":"?NE ","type":"item()*","line":"82","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","line":"83","C":[{"N":"fn","name":"normalize-space","C":[{"N":"fn","name":"substring","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}text","slot":"0"}]}]},{"N":"fn","name":"number","C":[{"N":"int","val":"1"}]},{"N":"fn","name":"number","C":[{"N":"int","val":"1"}]}]}]},{"N":"str","val":""}]},{"N":"elem","name":"span","sType":"1NE nQ{http://www.w3.org/1999/xhtml}span ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","line":"84","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"true"},{"N":"elem","name":"span","sType":"1NE nQ{http://www.w3.org/1999/xhtml}span ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","line":"87","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"sign"}]},{"N":"att","name":"data-idx","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"0"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"fn","name":"substring","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"53","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}text","slot":"0"}]}]},{"N":"fn","name":"number","C":[{"N":"int","val":"1"}]},{"N":"fn","name":"number","C":[{"N":"int","val":"1"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"choose","sType":"* ","line":"91","C":[{"N":"gc10","op":">","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","line":"91","C":[{"N":"fn","name":"string-length","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}text","slot":"0"}]}]}]},{"N":"int","val":"1"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","line":"92","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1AS","C":[{"N":"fn","name":"substring","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"93","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}text","slot":"0"}]}]},{"N":"fn","name":"number","C":[{"N":"int","val":"2"}]},{"N":"arith10","op":"-","calc":"d-d","C":[{"N":"fn","name":"string-length","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}text","slot":"0"}]}]}]},{"N":"int","val":"1"}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]},{"N":"co","id":"4","binds":"3 2 4 0","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"7","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"74","module":"tei2html.xslt","expand-text":"false","match":"tei:w//text()|tei:name//text()|tei:g//text()|tei:placeName//text()|tei:num//text()|tei:orgName//text()|tei:orig//text()","prio":"0.5","matches":"NT","C":[{"N":"p.withUpper","role":"match","axis":"ancestor","sType":"1NT","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}w"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","role":"action","line":"75","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1NT","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"76"}]}]}]},{"N":"templateRule","rank":"1","prec":"0","seq":"7","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"74","module":"tei2html.xslt","expand-text":"false","match":"tei:w//text()|tei:name//text()|tei:g//text()|tei:placeName//text()|tei:num//text()|tei:orgName//text()|tei:orig//text()","prio":"0.5","matches":"NT","C":[{"N":"p.withUpper","role":"match","axis":"ancestor","sType":"1NT","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}name"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","role":"action","line":"75","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1NT","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"76"}]}]}]},{"N":"templateRule","rank":"2","prec":"0","seq":"7","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"74","module":"tei2html.xslt","expand-text":"false","match":"tei:w//text()|tei:name//text()|tei:g//text()|tei:placeName//text()|tei:num//text()|tei:orgName//text()|tei:orig//text()","prio":"0.5","matches":"NT","C":[{"N":"p.withUpper","role":"match","axis":"ancestor","sType":"1NT","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}g"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","role":"action","line":"75","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1NT","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"76"}]}]}]},{"N":"templateRule","rank":"3","prec":"0","seq":"7","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"74","module":"tei2html.xslt","expand-text":"false","match":"tei:w//text()|tei:name//text()|tei:g//text()|tei:placeName//text()|tei:num//text()|tei:orgName//text()|tei:orig//text()","prio":"0.5","matches":"NT","C":[{"N":"p.withUpper","role":"match","axis":"ancestor","sType":"1NT","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}placeName"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","role":"action","line":"75","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1NT","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"76"}]}]}]},{"N":"templateRule","rank":"4","prec":"0","seq":"7","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"74","module":"tei2html.xslt","expand-text":"false","match":"tei:w//text()|tei:name//text()|tei:g//text()|tei:placeName//text()|tei:num//text()|tei:orgName//text()|tei:orig//text()","prio":"0.5","matches":"NT","C":[{"N":"p.withUpper","role":"match","axis":"ancestor","sType":"1NT","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}num"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","role":"action","line":"75","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1NT","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"76"}]}]}]},{"N":"templateRule","rank":"5","prec":"0","seq":"7","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"74","module":"tei2html.xslt","expand-text":"false","match":"tei:w//text()|tei:name//text()|tei:g//text()|tei:placeName//text()|tei:num//text()|tei:orgName//text()|tei:orig//text()","prio":"0.5","matches":"NT","C":[{"N":"p.withUpper","role":"match","axis":"ancestor","sType":"1NT","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}orgName"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","role":"action","line":"75","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1NT","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"76"}]}]}]},{"N":"templateRule","rank":"6","prec":"0","seq":"7","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"74","module":"tei2html.xslt","expand-text":"false","match":"tei:w//text()|tei:name//text()|tei:g//text()|tei:placeName//text()|tei:num//text()|tei:orgName//text()|tei:orig//text()","prio":"0.5","matches":"NT","C":[{"N":"p.withUpper","role":"match","axis":"ancestor","sType":"1NT","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}orig"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","role":"action","line":"75","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1NT","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"76"}]}]}]},{"N":"templateRule","rank":"7","prec":"0","seq":"5","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"35","module":"tei2html.xslt","expand-text":"false","match":"tei:cb","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}cb","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}cb","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}cb","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "},{"N":"sequence","role":"action","sType":"*NE ","C":[{"N":"elem","name":"br","sType":"1NE nQ{http://www.w3.org/1999/xhtml}br ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","line":"36","C":[{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}lossless-attributes","line":"37"}]},{"N":"elem","name":"span","sType":"1NE nQ{http://www.w3.org/1999/xhtml}span ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","line":"39","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"column-number"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}n","name":"attribute","nodeTest":"*NA nQ{}n","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"5"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"templateRule","rank":"8","prec":"0","seq":"4","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"28","module":"tei2html.xslt","expand-text":"false","match":"tei:lb","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}lb","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}lb","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}lb","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "},{"N":"sequence","role":"action","sType":"*NE ","C":[{"N":"elem","name":"br","sType":"1NE nQ{http://www.w3.org/1999/xhtml}br ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","line":"29","C":[{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}lossless-attributes","line":"30"}]},{"N":"elem","name":"span","sType":"1NE nQ{http://www.w3.org/1999/xhtml}span ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","line":"32","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"line-number"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}n","name":"attribute","nodeTest":"*NA nQ{}n","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"5"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"templateRule","rank":"9","prec":"0","seq":"3","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"21","module":"tei2html.xslt","expand-text":"false","match":"tei:p|tei:div","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}p","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}p","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}p"},{"N":"compElem","sType":"1NE ","role":"action","line":"22","C":[{"N":"fn","name":"string-join","sType":"1AS ","role":"name","C":[{"N":"first","C":[{"N":"convert","type":"AS*","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","sType":"1AS","C":[{"N":"fn","name":"local-name","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","line":"22","C":[{"N":"dot"}]}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]},{"N":"sequence","role":"content","sType":"* ","C":[{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}lossless-attributes","line":"23"},{"N":"applyT","sType":"* ","line":"24","mode":"#unnamed","bSlot":"2","C":[{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]","sType":"*N u[NT,NP,NC,NE]","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"24"}]}]}]}]},{"N":"templateRule","rank":"10","prec":"0","seq":"3","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"21","module":"tei2html.xslt","expand-text":"false","match":"tei:p|tei:div","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}div","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}div","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}div"},{"N":"compElem","sType":"1NE ","role":"action","line":"22","C":[{"N":"fn","name":"string-join","sType":"1AS ","role":"name","C":[{"N":"first","C":[{"N":"convert","type":"AS*","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","sType":"1AS","C":[{"N":"fn","name":"local-name","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","line":"22","C":[{"N":"dot"}]}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]},{"N":"sequence","role":"content","sType":"* ","C":[{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}lossless-attributes","line":"23"},{"N":"applyT","sType":"* ","line":"24","mode":"#unnamed","bSlot":"2","C":[{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]","sType":"*N u[NT,NP,NC,NE]","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"24"}]}]}]}]},{"N":"templateRule","rank":"11","prec":"0","seq":"2","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"17","module":"tei2html.xslt","expand-text":"false","match":"*","prio":"-0.5","matches":"NE","C":[{"N":"p.nodeTest","role":"match","test":"NE","sType":"1NE","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "},{"N":"callT","bSlot":"3","sType":"* ","name":"Q{}lossless-span","role":"action","line":"18"}]},{"N":"templateRule","rank":"12","prec":"0","seq":"1","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"14","module":"tei2html.xslt","expand-text":"false","match":"comment()","prio":"-0.5","matches":"NC","C":[{"N":"p.nodeTest","role":"match","test":"NC","sType":"1NC","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "},{"N":"empty","sType":"0 ","role":"action"}]},{"N":"templateRule","rank":"13","prec":"0","seq":"0","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"10","module":"tei2html.xslt","expand-text":"false","match":"/","prio":"-0.5","matches":"ND","C":[{"N":"p.nodeTest","role":"match","test":"ND","sType":"1ND","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "},{"N":"applyT","sType":"* ","line":"11","mode":"#unnamed","role":"action","bSlot":"2","C":[{"N":"docOrder","sType":"*NE nQ{http://www.tei-c.org/ns/1.0}div","role":"select","line":"11","C":[{"N":"docOrder","sType":"*NE nQ{http://www.tei-c.org/ns/1.0}div","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE nQ{http://www.tei-c.org/ns/1.0}text"}]},{"N":"axis","name":"child","nodeTest":"*NE nQ{http://www.tei-c.org/ns/1.0}body"}]},{"N":"filter","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE nQ{http://www.tei-c.org/ns/1.0}div"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"edition"}]}]},{"N":"fn","name":"not","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}subtype"},{"N":"str","val":"transliteration"}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"5","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}data-tei","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"6","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"70","module":"tei2html.xslt","expand-text":"false","match":"@*","prio":"-0.5","matches":"NA","C":[{"N":"p.nodeTest","role":"match","test":"NA","sType":"1NA","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "},{"N":"compAtt","sType":"1NA ","role":"action","line":"71","C":[{"N":"fn","name":"string-join","sType":"1AS ","role":"name","C":[{"N":"first","C":[{"N":"convert","type":"AS*","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","sType":"1AS","C":[{"N":"fn","name":"concat","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","line":"71","C":[{"N":"str","val":"data-tei-"},{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]},{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"valueOf","sType":"1NT ","flags":"l","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1NA","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"3"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]}]}]}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"10"},{"N":"property","name":"method","value":"html"},{"N":"property","name":"encoding","value":"utf-8"},{"N":"property","name":"indent","value":"yes"}]},{"N":"decimalFormat"}],"Σ":"dbbfa810"} \ No newline at end of file +{"N":"package","version":"10","packageVersion":"1","saxonVersion":"SaxonJS 2.6","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"false","buildDateTime":"2024-09-27T22:38:22.201+01:00","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","C":[{"N":"co","id":"0","uniform":"true","binds":"2 4","C":[{"N":"template","flags":"os","module":"tei2html.xslt","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","name":"Q{}lossless-span","line":"53","expand-text":"false","sType":"1NE nQ{http://www.w3.org/1999/xhtml}span ","C":[{"N":"elem","name":"span","sType":"1NE nQ{http://www.w3.org/1999/xhtml}span ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","role":"body","line":"54","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes","line":"55"},{"N":"applyT","sType":"* ","line":"56","mode":"#unnamed","bSlot":"1","C":[{"N":"docOrder","sType":"*N u[NT,NP,NC,NE]","role":"select","line":"56","C":[{"N":"slash","role":"select","simple":"1","sType":"*N u[NT,NP,NC,NE]","C":[{"N":"treat","as":"N","diag":"13|0|XTTE0510|","C":[{"N":"dot"}]},{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]","sType":"*N u[NT,NP,NC,NE]","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "}]}]}]}]}]}]}]},{"N":"co","id":"1","uniform":"true","binds":"2 4","C":[{"N":"template","flags":"os","module":"tei2html.xslt","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","name":"Q{}lossless-div","line":"60","expand-text":"false","sType":"1NE nQ{http://www.w3.org/1999/xhtml}div ","C":[{"N":"elem","name":"div","sType":"1NE nQ{http://www.w3.org/1999/xhtml}div ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","role":"body","line":"61","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes","line":"62"},{"N":"applyT","sType":"* ","line":"63","mode":"#unnamed","bSlot":"1","C":[{"N":"docOrder","sType":"*N u[NT,NP,NC,NE]","role":"select","line":"63","C":[{"N":"slash","role":"select","simple":"1","sType":"*N u[NT,NP,NC,NE]","C":[{"N":"treat","as":"N","diag":"13|0|XTTE0510|","C":[{"N":"dot"}]},{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]","sType":"*N u[NT,NP,NC,NE]","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "}]}]}]}]}]}]}]},{"N":"co","id":"2","uniform":"true","binds":"5","C":[{"N":"template","flags":"os","module":"tei2html.xslt","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","name":"Q{}lossless-attributes","line":"67","expand-text":"false","sType":"* ","C":[{"N":"sequence","role":"body","sType":"* ","C":[{"N":"att","name":"class","sType":"1NA ","line":"68","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"sequence","sType":"* ","C":[{"N":"valueOf","flags":"l","sType":"1NT ","line":"69","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"fn","name":"concat","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"69","C":[{"N":"str","val":"tei-"},{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"choose","sType":"* ","line":"70","C":[{"N":"docOrder","sType":"*NA nQ{}type","line":"70","C":[{"N":"slash","role":"select","simple":"1","sType":"*NA nQ{}type","C":[{"N":"treat","as":"N","diag":"13|0|XTTE0510|","C":[{"N":"dot"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type","sType":"*NA nQ{}type","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "}]}]},{"N":"sequence","sType":"*NT ","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" tei-type-"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NA nQ{}type","role":"select","line":"40","C":[{"N":"slash","role":"select","simple":"1","sType":"*NA nQ{}type","C":[{"N":"treat","as":"N","diag":"13|0|XTTE0510|","C":[{"N":"dot"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type","sType":"*NA nQ{}type","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]},{"N":"choose","sType":"? ","line":"71","C":[{"N":"or","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","line":"71","C":[{"N":"or","C":[{"N":"or","C":[{"N":"or","C":[{"N":"or","C":[{"N":"or","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]},{"N":"str","val":"w"}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]},{"N":"str","val":"name"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]},{"N":"str","val":"g"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]},{"N":"str","val":"placeName"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]},{"N":"str","val":"num"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]},{"N":"str","val":"orgName"}]}]},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"fn","name":"local-name","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]},{"N":"str","val":"orig"}]}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" is-word"}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"att","name":"data-tei","sType":"1NA ","line":"73","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"valueOf","sType":"1NT ","flags":"l","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"fn","name":"local-name","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"43","C":[{"N":"treat","as":"N","diag":"0|0||local-name","C":[{"N":"check","card":"?","diag":"0|0||local-name","C":[{"N":"dot"}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"applyT","sType":"* ","line":"75","mode":"Q{}data-tei","bSlot":"0","C":[{"N":"docOrder","sType":"*NA","role":"select","line":"75","C":[{"N":"slash","role":"select","simple":"1","sType":"*NA","C":[{"N":"treat","as":"N","diag":"13|0|XTTE0510|","C":[{"N":"dot"}]},{"N":"axis","name":"attribute","nodeTest":"*NA","sType":"*NA","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "}]}]}]}]}]}]},{"N":"co","id":"3","uniform":"true","binds":"3","C":[{"N":"template","flags":"os","module":"tei2html.xslt","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","name":"Q{}mark-up-every-character","line":"88","expand-text":"false","sType":"* ","C":[{"N":"sequence","role":"body","sType":"* ","C":[{"N":"param","name":"Q{}text","slot":"0","sType":"* ","as":"* ","flags":"","line":"89","C":[{"N":"str","sType":"1AS ","val":"","role":"select"},{"N":"supplied","role":"conversion","slot":"0","sType":"* "}]},{"N":"choose","sType":"?NE ","type":"item()*","line":"90","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","line":"91","C":[{"N":"fn","name":"normalize-space","C":[{"N":"fn","name":"substring","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}text","slot":"0"}]}]},{"N":"fn","name":"number","C":[{"N":"int","val":"1"}]},{"N":"fn","name":"number","C":[{"N":"int","val":"1"}]}]}]},{"N":"str","val":""}]},{"N":"elem","name":"span","sType":"1NE nQ{http://www.w3.org/1999/xhtml}span ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","line":"92","C":[{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"true"},{"N":"elem","name":"span","sType":"1NE nQ{http://www.w3.org/1999/xhtml}span ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","line":"95","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"sign"}]},{"N":"att","name":"data-idx","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"0"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"fn","name":"substring","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"59","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}text","slot":"0"}]}]},{"N":"fn","name":"number","C":[{"N":"int","val":"1"}]},{"N":"fn","name":"number","C":[{"N":"int","val":"1"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]},{"N":"choose","sType":"* ","line":"99","C":[{"N":"gc10","op":">","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","sType":"1AB","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","line":"99","C":[{"N":"fn","name":"string-length","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}text","slot":"0"}]}]}]},{"N":"int","val":"1"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","line":"100","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1AS","C":[{"N":"fn","name":"substring","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"101","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}text","slot":"0"}]}]},{"N":"fn","name":"number","C":[{"N":"int","val":"2"}]},{"N":"arith10","op":"-","calc":"d-d","C":[{"N":"fn","name":"string-length","C":[{"N":"fn","name":"string","C":[{"N":"first","C":[{"N":"varRef","name":"Q{}text","slot":"0"}]}]}]},{"N":"int","val":"1"}]}]}]}]},{"N":"true"},{"N":"empty","sType":"0 "}]}]}]}]},{"N":"co","id":"4","binds":"3 2 4 0","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"8","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"82","module":"tei2html.xslt","expand-text":"false","match":"tei:w//text()|tei:name//text()|tei:g//text()|tei:placeName//text()|tei:num//text()|tei:orgName//text()|tei:orig//text()","prio":"0.5","matches":"NT","C":[{"N":"p.withUpper","role":"match","axis":"ancestor","sType":"1NT","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}w"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","role":"action","line":"83","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1NT","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"84"}]}]}]},{"N":"templateRule","rank":"1","prec":"0","seq":"8","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"82","module":"tei2html.xslt","expand-text":"false","match":"tei:w//text()|tei:name//text()|tei:g//text()|tei:placeName//text()|tei:num//text()|tei:orgName//text()|tei:orig//text()","prio":"0.5","matches":"NT","C":[{"N":"p.withUpper","role":"match","axis":"ancestor","sType":"1NT","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}name"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","role":"action","line":"83","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1NT","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"84"}]}]}]},{"N":"templateRule","rank":"2","prec":"0","seq":"8","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"82","module":"tei2html.xslt","expand-text":"false","match":"tei:w//text()|tei:name//text()|tei:g//text()|tei:placeName//text()|tei:num//text()|tei:orgName//text()|tei:orig//text()","prio":"0.5","matches":"NT","C":[{"N":"p.withUpper","role":"match","axis":"ancestor","sType":"1NT","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}g"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","role":"action","line":"83","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1NT","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"84"}]}]}]},{"N":"templateRule","rank":"3","prec":"0","seq":"8","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"82","module":"tei2html.xslt","expand-text":"false","match":"tei:w//text()|tei:name//text()|tei:g//text()|tei:placeName//text()|tei:num//text()|tei:orgName//text()|tei:orig//text()","prio":"0.5","matches":"NT","C":[{"N":"p.withUpper","role":"match","axis":"ancestor","sType":"1NT","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}placeName"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","role":"action","line":"83","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1NT","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"84"}]}]}]},{"N":"templateRule","rank":"4","prec":"0","seq":"8","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"82","module":"tei2html.xslt","expand-text":"false","match":"tei:w//text()|tei:name//text()|tei:g//text()|tei:placeName//text()|tei:num//text()|tei:orgName//text()|tei:orig//text()","prio":"0.5","matches":"NT","C":[{"N":"p.withUpper","role":"match","axis":"ancestor","sType":"1NT","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}num"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","role":"action","line":"83","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1NT","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"84"}]}]}]},{"N":"templateRule","rank":"5","prec":"0","seq":"8","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"82","module":"tei2html.xslt","expand-text":"false","match":"tei:w//text()|tei:name//text()|tei:g//text()|tei:placeName//text()|tei:num//text()|tei:orgName//text()|tei:orig//text()","prio":"0.5","matches":"NT","C":[{"N":"p.withUpper","role":"match","axis":"ancestor","sType":"1NT","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}orgName"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","role":"action","line":"83","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1NT","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"84"}]}]}]},{"N":"templateRule","rank":"6","prec":"0","seq":"8","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"82","module":"tei2html.xslt","expand-text":"false","match":"tei:w//text()|tei:name//text()|tei:g//text()|tei:placeName//text()|tei:num//text()|tei:orgName//text()|tei:orig//text()","prio":"0.5","matches":"NT","C":[{"N":"p.withUpper","role":"match","axis":"ancestor","sType":"1NT","C":[{"N":"p.nodeTest","test":"NT"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}orig"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}mark-up-every-character","role":"action","line":"83","C":[{"N":"withParam","name":"Q{}text","slot":"0","sType":"1NT","C":[{"N":"dot","sType":"1NT","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"84"}]}]}]},{"N":"templateRule","rank":"7","prec":"0","seq":"6","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"42","module":"tei2html.xslt","expand-text":"false","match":"tei:div[@type='textpart']","prio":"0.5","matches":"NE nQ{http://www.tei-c.org/ns/1.0}div","C":[{"N":"p.withPredicate","role":"match","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}div","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","C":[{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}div"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}type"},{"N":"str","val":"textpart"}]}]},{"N":"elem","name":"div","sType":"1NE nQ{http://www.w3.org/1999/xhtml}div ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","role":"action","line":"43","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}lossless-attributes","line":"44"},{"N":"elem","name":"p","sType":"1NE nQ{http://www.w3.org/1999/xhtml}p ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","line":"45","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"textpart-number"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}n","name":"attribute","nodeTest":"*NA nQ{}n","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"5"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"applyT","sType":"* ","line":"46","mode":"#unnamed","bSlot":"2","C":[{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]","sType":"*N u[NT,NP,NC,NE]","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"46"}]}]}]}]},{"N":"templateRule","rank":"8","prec":"0","seq":"5","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"35","module":"tei2html.xslt","expand-text":"false","match":"tei:cb","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}cb","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}cb","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}cb","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "},{"N":"sequence","role":"action","sType":"*NE ","C":[{"N":"elem","name":"br","sType":"1NE nQ{http://www.w3.org/1999/xhtml}br ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","line":"36","C":[{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}lossless-attributes","line":"37"}]},{"N":"elem","name":"span","sType":"1NE nQ{http://www.w3.org/1999/xhtml}span ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","line":"39","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"column-number"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}n","name":"attribute","nodeTest":"*NA nQ{}n","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"5"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"templateRule","rank":"9","prec":"0","seq":"4","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"28","module":"tei2html.xslt","expand-text":"false","match":"tei:lb","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}lb","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}lb","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}lb","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "},{"N":"sequence","role":"action","sType":"*NE ","C":[{"N":"elem","name":"br","sType":"1NE nQ{http://www.w3.org/1999/xhtml}br ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","line":"29","C":[{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}lossless-attributes","line":"30"}]},{"N":"elem","name":"span","sType":"1NE nQ{http://www.w3.org/1999/xhtml}span ","nsuri":"http://www.w3.org/1999/xhtml","namespaces":"=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0","line":"32","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"line-number"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"axis","sType":"*NA nQ{}n","name":"attribute","nodeTest":"*NA nQ{}n","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"5"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]}]}]},{"N":"templateRule","rank":"10","prec":"0","seq":"3","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"21","module":"tei2html.xslt","expand-text":"false","match":"tei:p|tei:div","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}p","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}p","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}p"},{"N":"compElem","sType":"1NE ","role":"action","line":"22","C":[{"N":"fn","name":"string-join","sType":"1AS ","role":"name","C":[{"N":"first","C":[{"N":"convert","type":"AS*","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","sType":"1AS","C":[{"N":"fn","name":"local-name","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","line":"22","C":[{"N":"dot"}]}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]},{"N":"sequence","role":"content","sType":"* ","C":[{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}lossless-attributes","line":"23"},{"N":"applyT","sType":"* ","line":"24","mode":"#unnamed","bSlot":"2","C":[{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]","sType":"*N u[NT,NP,NC,NE]","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"24"}]}]}]}]},{"N":"templateRule","rank":"11","prec":"0","seq":"3","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"21","module":"tei2html.xslt","expand-text":"false","match":"tei:p|tei:div","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}div","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}div","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}div"},{"N":"compElem","sType":"1NE ","role":"action","line":"22","C":[{"N":"fn","name":"string-join","sType":"1AS ","role":"name","C":[{"N":"first","C":[{"N":"convert","type":"AS*","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","sType":"1AS","C":[{"N":"fn","name":"local-name","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","line":"22","C":[{"N":"dot"}]}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]},{"N":"sequence","role":"content","sType":"* ","C":[{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}lossless-attributes","line":"23"},{"N":"applyT","sType":"* ","line":"24","mode":"#unnamed","bSlot":"2","C":[{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]","sType":"*N u[NT,NP,NC,NE]","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"24"}]}]}]}]},{"N":"templateRule","rank":"12","prec":"0","seq":"2","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"17","module":"tei2html.xslt","expand-text":"false","match":"*","prio":"-0.5","matches":"NE","C":[{"N":"p.nodeTest","role":"match","test":"NE","sType":"1NE","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "},{"N":"callT","bSlot":"3","sType":"* ","name":"Q{}lossless-span","role":"action","line":"18"}]},{"N":"templateRule","rank":"13","prec":"0","seq":"1","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"14","module":"tei2html.xslt","expand-text":"false","match":"comment()","prio":"-0.5","matches":"NC","C":[{"N":"p.nodeTest","role":"match","test":"NC","sType":"1NC","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "},{"N":"empty","sType":"0 ","role":"action"}]},{"N":"templateRule","rank":"14","prec":"0","seq":"0","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"10","module":"tei2html.xslt","expand-text":"false","match":"/","prio":"-0.5","matches":"ND","C":[{"N":"p.nodeTest","role":"match","test":"ND","sType":"1ND","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "},{"N":"applyT","sType":"* ","line":"11","mode":"#unnamed","role":"action","bSlot":"2","C":[{"N":"docOrder","sType":"*NE nQ{http://www.tei-c.org/ns/1.0}div","role":"select","line":"11","C":[{"N":"docOrder","sType":"*NE nQ{http://www.tei-c.org/ns/1.0}div","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"slash","op":"/","C":[{"N":"root"},{"N":"axis","name":"descendant","nodeTest":"*NE nQ{http://www.tei-c.org/ns/1.0}text"}]},{"N":"axis","name":"child","nodeTest":"*NE nQ{http://www.tei-c.org/ns/1.0}body"}]},{"N":"filter","C":[{"N":"filter","C":[{"N":"axis","name":"child","nodeTest":"*NE nQ{http://www.tei-c.org/ns/1.0}div"},{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}type"},{"N":"str","val":"edition"}]}]},{"N":"fn","name":"not","C":[{"N":"gc10","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}subtype"},{"N":"str","val":"transliteration"}]}]}]}]}]}]}]}]}]}]},{"N":"co","binds":"","id":"5","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}data-tei","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"7","ns":"xml=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 =http://www.w3.org/1999/xhtml","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/crossreads/app/data/tei2html.xslt","line":"78","module":"tei2html.xslt","expand-text":"false","match":"@*","prio":"-0.5","matches":"NA","C":[{"N":"p.nodeTest","role":"match","test":"NA","sType":"1NA","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 "},{"N":"compAtt","sType":"1NA ","role":"action","line":"79","C":[{"N":"fn","name":"string-join","sType":"1AS ","role":"name","C":[{"N":"first","C":[{"N":"convert","type":"AS*","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","sType":"1AS","C":[{"N":"fn","name":"concat","sType":"1AS","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","line":"79","C":[{"N":"str","val":"data-tei-"},{"N":"fn","name":"local-name","C":[{"N":"dot"}]}]}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]},{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"valueOf","sType":"1NT ","flags":"l","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"first","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1NA","ns":"= xml=~ fn=~ xsl=~ tei=http://www.tei-c.org/ns/1.0 ","role":"select","line":"3"}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]}]},{"N":"str","sType":"1AS ","val":""}]}]}]}]}]},{"N":"overridden"},{"N":"output","C":[{"N":"property","name":"Q{http://saxon.sf.net/}stylesheet-version","value":"10"},{"N":"property","name":"method","value":"html"},{"N":"property","name":"encoding","value":"utf-8"},{"N":"property","name":"indent","value":"yes"}]},{"N":"decimalFormat"}],"Σ":"b2a3dcdf"} \ No newline at end of file diff --git a/app/data/tei2html.xslt b/app/data/tei2html.xslt index 8f80fd378..b4b7b3434 100644 --- a/app/data/tei2html.xslt +++ b/app/data/tei2html.xslt @@ -39,6 +39,14 @@ + +
+ +

+ +
+
+