From 1a73cd34228fb885d10698de34bd1e45252e260e Mon Sep 17 00:00:00 2001 From: geoffroy-noel-ddh Date: Wed, 5 Apr 2023 07:33:58 +0100 Subject: [PATCH] Implemented first pass on AT rendering rules. --- responses/tei-to-html.sef.json | 2 +- responses/tei-to-html.xsl | 175 ++++++++++++++++++++------------- 2 files changed, 105 insertions(+), 72 deletions(-) diff --git a/responses/tei-to-html.sef.json b/responses/tei-to-html.sef.json index dd81db1..9e27134 100644 --- a/responses/tei-to-html.sef.json +++ b/responses/tei-to-html.sef.json @@ -1 +1 @@ -{"N":"package","version":"20","packageVersion":"1","saxonVersion":"SaxonJS 2.5","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"false","buildDateTime":"2023-03-24T18:33:00.407Z","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","C":[{"N":"co","id":"0","uniform":"true","binds":"2 3","C":[{"N":"template","flags":"os","module":"tei-to-html.xsl","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","name":"Q{}lossless-span","line":"56","expand-text":"false","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}span ","C":[{"N":"elem","name":"span","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}span ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","role":"body","line":"57","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes","line":"58"},{"N":"applyT","sType":"* ","line":"59","mode":"#unnamed","bSlot":"1","C":[{"N":"docOrder","sType":"*N u[NT,NP,NC,NE]","role":"select","line":"59","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "}]}]}]}]}]}]}]},{"N":"co","id":"1","uniform":"true","binds":"2 3","C":[{"N":"template","flags":"os","module":"tei-to-html.xsl","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","name":"Q{}lossless-div","line":"63","expand-text":"false","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}div ","C":[{"N":"elem","name":"div","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}div ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","role":"body","line":"64","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes","line":"65"},{"N":"applyT","sType":"* ","line":"66","mode":"#unnamed","bSlot":"1","C":[{"N":"docOrder","sType":"*N u[NT,NP,NC,NE]","role":"select","line":"66","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "}]}]}]}]}]}]}]},{"N":"co","id":"2","uniform":"true","binds":"4","C":[{"N":"template","flags":"os","module":"tei-to-html.xsl","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","name":"Q{}lossless-attributes","line":"70","expand-text":"false","sType":"* ","C":[{"N":"sequence","role":"body","sType":"* ","C":[{"N":"att","name":"class","sType":"1NA ","line":"71","C":[{"N":"fn","name":"string-join","role":"select","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":"72","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"fn","name":"concat","sType":"1AS","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","role":"select","line":"72","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":"73","C":[{"N":"docOrder","sType":"*NA nQ{}type","line":"73","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "}]}]},{"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":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NA nQ{}type","role":"select","line":"42","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"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":"75","C":[{"N":"fn","name":"string-join","role":"select","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":"fn","name":"local-name","sType":"1AS","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","role":"select","line":"44","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":"76","mode":"Q{}data-tei","bSlot":"0","C":[{"N":"docOrder","sType":"*NA","role":"select","line":"76","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "}]}]}]}]}]}]},{"N":"co","id":"3","binds":"2 3 1 0","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"8","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"47","module":"tei-to-html.xsl","expand-text":"false","match":"*[@ref]","prio":"0.5","matches":"NE","C":[{"N":"p.withPredicate","role":"match","sType":"1NE","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","C":[{"N":"p.nodeTest","test":"NE"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}ref"}]},{"N":"copy","sType":"1NE ","flags":"cin","role":"action","line":"48","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes"},{"N":"elem","name":"a","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}a ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"href","sType":"1NA ","line":"49","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"valueOf","sType":"1NT ","flags":"l","line":"50","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"fn","name":"concat","sType":"1AS","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","role":"select","line":"50","C":[{"N":"str","val":"/entities/"},{"N":"fn","name":"translate","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||translate","C":[{"N":"check","card":"?","diag":"0|0||translate","C":[{"N":"attVal","name":"Q{}ref"}]}]},{"N":"str","val":":"},{"N":"str","val":"/"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"applyT","sType":"* ","line":"52","mode":"#unnamed","bSlot":"1","C":[{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]","sType":"*N u[NT,NP,NC,NE]","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","role":"select","line":"52"}]}]}]}]}]}]},{"N":"templateRule","rank":"1","prec":"0","seq":"7","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"40","module":"tei-to-html.xsl","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":"copy","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}p ","flags":"cin","role":"action","line":"41","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes","line":"42"},{"N":"applyT","sType":"* ","line":"43","mode":"#unnamed","bSlot":"1","C":[{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]","sType":"*N u[NT,NP,NC,NE]","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","role":"select","line":"43"}]}]}]}]},{"N":"templateRule","rank":"2","prec":"0","seq":"7","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"40","module":"tei-to-html.xsl","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":"copy","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}div ","flags":"cin","role":"action","line":"41","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes","line":"42"},{"N":"applyT","sType":"* ","line":"43","mode":"#unnamed","bSlot":"1","C":[{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]","sType":"*N u[NT,NP,NC,NE]","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","role":"select","line":"43"}]}]}]}]},{"N":"templateRule","rank":"3","prec":"0","seq":"6","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"36","module":"tei-to-html.xsl","expand-text":"false","match":"tei:TEI|tei:front|tei:titlePage|tei:figure","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}TEI","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}TEI","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}TEI"},{"N":"callT","bSlot":"2","sType":"* ","name":"Q{}lossless-div","role":"action","line":"37"}]},{"N":"templateRule","rank":"4","prec":"0","seq":"6","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"36","module":"tei-to-html.xsl","expand-text":"false","match":"tei:TEI|tei:front|tei:titlePage|tei:figure","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}front","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}front","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}front"},{"N":"callT","bSlot":"2","sType":"* ","name":"Q{}lossless-div","role":"action","line":"37"}]},{"N":"templateRule","rank":"5","prec":"0","seq":"6","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"36","module":"tei-to-html.xsl","expand-text":"false","match":"tei:TEI|tei:front|tei:titlePage|tei:figure","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}titlePage","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}titlePage","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}titlePage"},{"N":"callT","bSlot":"2","sType":"* ","name":"Q{}lossless-div","role":"action","line":"37"}]},{"N":"templateRule","rank":"6","prec":"0","seq":"6","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"36","module":"tei-to-html.xsl","expand-text":"false","match":"tei:TEI|tei:front|tei:titlePage|tei:figure","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}figure","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}figure","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}figure"},{"N":"callT","bSlot":"2","sType":"* ","name":"Q{}lossless-div","role":"action","line":"37"}]},{"N":"templateRule","rank":"7","prec":"0","seq":"5","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"30","module":"tei-to-html.xsl","expand-text":"false","match":"dts:fragment","prio":"0","matches":"NE nQ{https://w3id.org/dts/api#}fragment","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{https://w3id.org/dts/api#}fragment","sType":"1NE nQ{https://w3id.org/dts/api#}fragment","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"elem","name":"div","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}div ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","role":"action","line":"31","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"dts-fragment"}]},{"N":"att","name":"data-dts","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"fragment"}]},{"N":"applyT","sType":"* ","line":"32","mode":"#unnamed","bSlot":"1","C":[{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]","sType":"*N u[NT,NP,NC,NE]","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","role":"select","line":"32"}]}]}]}]},{"N":"templateRule","rank":"8","prec":"0","seq":"3","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"22","module":"tei-to-html.xsl","expand-text":"false","match":"tei:head","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}head","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}head","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}head","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"elem","name":"h1","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}h1 ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","role":"action","line":"23","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes"},{"N":"applyT","sType":"* ","mode":"#unnamed","bSlot":"1","C":[{"N":"axis","name":"child","nodeTest":"*N u[NT,NP,NC,NE]","sType":"*N u[NT,NP,NC,NE]","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","role":"select","line":"4"}]}]}]}]},{"N":"templateRule","rank":"9","prec":"0","seq":"2","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"16","module":"tei-to-html.xsl","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"elem","name":"br","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}br ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","role":"action","line":"17","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes","line":"18"}]}]},{"N":"templateRule","rank":"10","prec":"0","seq":"1","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"13","module":"tei-to-html.xsl","expand-text":"false","match":"tei:teiHeader","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}teiHeader","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}teiHeader","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}teiHeader","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"empty","sType":"0 ","role":"action"}]},{"N":"templateRule","rank":"11","prec":"0","seq":"4","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"26","module":"tei-to-html.xsl","expand-text":"false","match":"*","prio":"-0.5","matches":"NE","C":[{"N":"p.nodeTest","role":"match","test":"NE","sType":"1NE","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"callT","bSlot":"3","sType":"* ","name":"Q{}lossless-span","role":"action","line":"27"}]},{"N":"templateRule","rank":"12","prec":"0","seq":"0","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"10","module":"tei-to-html.xsl","expand-text":"false","match":"comment()","prio":"-0.5","matches":"NC","C":[{"N":"p.nodeTest","role":"match","test":"NC","sType":"1NC","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"empty","sType":"0 ","role":"action"}]}]}]},{"N":"co","binds":"","id":"4","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","name":"Q{}data-tei","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"9","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"79","module":"tei-to-html.xsl","expand-text":"false","match":"@*","prio":"-0.5","matches":"NA","C":[{"N":"p.nodeTest","role":"match","test":"NA","sType":"1NA","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"compAtt","sType":"1NA ","role":"action","line":"80","C":[{"N":"fn","name":"string-join","sType":"1AS ","role":"name","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","line":"80","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":"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":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1NA","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","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":"20"},{"N":"property","name":"method","value":"html"},{"N":"property","name":"indent","value":"yes"}]},{"N":"decimalFormat"}],"Σ":"943ce495"} \ No newline at end of file +{"N":"package","version":"20","packageVersion":"1","saxonVersion":"SaxonJS 2.5","target":"JS","targetVersion":"2","name":"TOP-LEVEL","relocatable":"false","buildDateTime":"2023-04-05T07:05:37.919+01:00","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","C":[{"N":"co","id":"0","uniform":"true","binds":"3 2","C":[{"N":"template","flags":"os","module":"tei-to-html.xsl","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","name":"Q{}lossless-span","line":"52","expand-text":"false","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}span ","C":[{"N":"elem","name":"span","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}span ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","role":"body","line":"53","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes","line":"54"},{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}process-children","line":"55"}]}]}]}]},{"N":"co","id":"1","uniform":"true","binds":"3 2","C":[{"N":"template","flags":"os","module":"tei-to-html.xsl","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","name":"Q{}lossless-div","line":"59","expand-text":"false","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}div ","C":[{"N":"elem","name":"div","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}div ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","role":"body","line":"60","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes","line":"61"},{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}process-children","line":"62"}]}]}]}]},{"N":"co","id":"2","uniform":"true","binds":"4","C":[{"N":"template","flags":"os","module":"tei-to-html.xsl","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","name":"Q{}process-children","line":"66","expand-text":"false","sType":"* ","C":[{"N":"choose","sType":"* ","type":"item()*","role":"body","line":"67","C":[{"N":"docOrder","sType":"*NA nQ{}norm","line":"68","C":[{"N":"slash","role":"select","simple":"1","sType":"*NA nQ{}norm","C":[{"N":"treat","as":"N","diag":"13|0|XTTE0510|","C":[{"N":"dot"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}norm","sType":"*NA nQ{}norm","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "}]}]},{"N":"sequence","sType":"*NE ","C":[{"N":"elem","name":"span","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}span ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","line":"69","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"norm"}]},{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NA nQ{}norm","role":"select","line":"38","C":[{"N":"slash","role":"select","simple":"1","sType":"*NA nQ{}norm","C":[{"N":"treat","as":"N","diag":"13|0|XTTE0510|","C":[{"N":"dot"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}norm","sType":"*NA nQ{}norm","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"elem","name":"span","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}span ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","line":"70","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"orig"}]},{"N":"applyT","sType":"* ","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*N u[NT,NP,NC,NE]","role":"select","line":"40","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "}]}]}]}]}]}]},{"N":"true"},{"N":"applyT","sType":"* ","mode":"#unnamed","bSlot":"0","C":[{"N":"docOrder","sType":"*N u[NT,NP,NC,NE]","role":"select","line":"42","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "}]}]}]}]}]}]},{"N":"co","id":"3","uniform":"true","binds":"5","C":[{"N":"template","flags":"os","module":"tei-to-html.xsl","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","name":"Q{}lossless-attributes","line":"76","expand-text":"false","sType":"* ","C":[{"N":"sequence","role":"body","sType":"* ","C":[{"N":"att","name":"class","sType":"1NA ","line":"77","C":[{"N":"fn","name":"string-join","role":"select","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":"78","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"fn","name":"concat","sType":"1AS","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","role":"select","line":"78","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":"79","C":[{"N":"docOrder","sType":"*NA nQ{}type","line":"79","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "}]}]},{"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":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NA nQ{}type","role":"select","line":"47","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"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":"81","C":[{"N":"fn","name":"string-join","role":"select","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":"fn","name":"local-name","sType":"1AS","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","role":"select","line":"49","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":"82","mode":"Q{}data-tei","bSlot":"0","C":[{"N":"docOrder","sType":"*NA","role":"select","line":"82","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "}]}]}]}]}]}]},{"N":"co","id":"4","binds":"3 2 4 1 0","C":[{"N":"mode","onNo":"TC","flags":"","patternSlots":"0","prec":"","C":[{"N":"templateRule","rank":"0","prec":"0","seq":"11","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"99","module":"tei-to-html.xsl","expand-text":"false","match":"*[@rend='superscript']","prio":"0.5","matches":"NE","C":[{"N":"p.withPredicate","role":"match","sType":"1NE","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","C":[{"N":"p.nodeTest","test":"NE"},{"N":"gc","op":"=","comp":"GAC|http://www.w3.org/2005/xpath-functions/collation/codepoint","card":"1:1","C":[{"N":"attVal","name":"Q{}rend"},{"N":"str","val":"superscript"}]}]},{"N":"elem","name":"sup","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}sup ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","role":"action","line":"100","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes"},{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}process-children"}]}]}]},{"N":"templateRule","rank":"1","prec":"0","seq":"7","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"43","module":"tei-to-html.xsl","expand-text":"false","match":"(tei:geogName|tei:placeName|tei:rs|tei:persName)[@ref]","prio":"0.5","matches":"NE u[NE u[NE u[NE nQ{http://www.tei-c.org/ns/1.0}geogName,NE nQ{http://www.tei-c.org/ns/1.0}placeName],NE nQ{http://www.tei-c.org/ns/1.0}rs],NE nQ{http://www.tei-c.org/ns/1.0}persName]","C":[{"N":"p.withPredicate","role":"match","sType":"1NE u[NE u[NE u[NE nQ{http://www.tei-c.org/ns/1.0}geogName,NE nQ{http://www.tei-c.org/ns/1.0}placeName],NE nQ{http://www.tei-c.org/ns/1.0}rs],NE nQ{http://www.tei-c.org/ns/1.0}persName]","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","C":[{"N":"p.venn","op":"union","C":[{"N":"p.venn","op":"union","C":[{"N":"p.venn","op":"union","C":[{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}geogName"},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}placeName"}]},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}rs"}]},{"N":"p.nodeTest","test":"NE nQ{http://www.tei-c.org/ns/1.0}persName"}]},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}ref"}]},{"N":"elem","name":"span","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}span ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","role":"action","line":"44","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes"},{"N":"elem","name":"a","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}a ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"href","sType":"1NA ","line":"45","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"valueOf","sType":"1NT ","flags":"l","line":"46","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"fn","name":"concat","sType":"1AS","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","role":"select","line":"46","C":[{"N":"str","val":"/entities/?q="},{"N":"fn","name":"translate","C":[{"N":"cvUntyped","to":"AS","diag":"0|0||translate","C":[{"N":"check","card":"?","diag":"0|0||translate","C":[{"N":"attVal","name":"Q{}ref"}]}]},{"N":"str","val":":"},{"N":"str","val":":"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":""}]}]},{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}process-children","line":"48"}]}]}]}]}]},{"N":"templateRule","rank":"2","prec":"0","seq":"12","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"103","module":"tei-to-html.xsl","expand-text":"false","match":"tei:figure","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}figure","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}figure","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}figure","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"elem","name":"div","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}div ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","role":"action","line":"104","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"tei-figure-wrapper"}]},{"N":"elem","name":"a","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}a ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","line":"105","C":[{"N":"sequence","sType":"*N ","C":[{"N":"att","name":"href","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"#"}]},{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"btn-figure"}]},{"N":"valueOf","sType":"1NT ","C":[{"N":"str","sType":"1AS ","val":"📷"}]}]}]},{"N":"elem","name":"figure","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}figure ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","line":"106","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"tei-figure hidden"}]},{"N":"att","name":"data-tei","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"figure"}]},{"N":"elem","name":"figcaption","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}figcaption ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","line":"107","C":[{"N":"valueOf","flags":"l","sType":"1NT ","C":[{"N":"fn","name":"string-join","role":"select","C":[{"N":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"docOrder","sType":"*NT","role":"select","line":"6","C":[{"N":"slash","op":"/","sType":"*NT","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","C":[{"N":"axis","name":"child","nodeTest":"*NE nQ{http://www.tei-c.org/ns/1.0}head"},{"N":"axis","name":"child","nodeTest":"*NT"}]}]}]}]},{"N":"fn","name":"string","sType":"1AS ","C":[{"N":"dot"}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]},{"N":"elem","name":"img","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}img ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","line":"108","C":[{"N":"sequence","sType":"*NA ","C":[{"N":"att","name":"src","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"/assets/img/posts/book-remembrances-outside-first-sighting.jpg"}]},{"N":"att","name":"data-src","nsuri":"","sType":"1NA ","C":[{"N":"fn","name":"string-join","sType":"1AS ","C":[{"N":"convert","type":"AS*","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","sType":"*NA nQ{}url","C":[{"N":"docOrder","sType":"*NA nQ{}url","line":"108","C":[{"N":"slash","op":"/","sType":"*NA nQ{}url","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","C":[{"N":"axis","name":"child","nodeTest":"*NE nQ{http://www.tei-c.org/ns/1.0}graphic"},{"N":"axis","name":"attribute","nodeTest":"*NA nQ{}url"}]}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]},{"N":"att","name":"alt","nsuri":"","sType":"1NA ","C":[{"N":"fn","name":"string-join","sType":"1AS ","C":[{"N":"convert","type":"AS*","from":"AZ","to":"AS","C":[{"N":"data","C":[{"N":"mergeAdj","sType":"*NT","C":[{"N":"docOrder","sType":"*NT","line":"108","C":[{"N":"slash","op":"/","sType":"*NT","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","C":[{"N":"axis","name":"child","nodeTest":"*NE nQ{http://www.tei-c.org/ns/1.0}head"},{"N":"axis","name":"child","nodeTest":"*NT"}]}]}]}]}]},{"N":"str","sType":"1AS ","val":" "}]}]}]}]},{"N":"applyT","sType":"* ","line":"111","mode":"#unnamed","bSlot":"2","C":[{"N":"axis","name":"child","nodeTest":"*NE nQ{http://www.tei-c.org/ns/1.0}p","sType":"*NE nQ{http://www.tei-c.org/ns/1.0}p","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","role":"select","line":"111"}]}]}]}]}]}]},{"N":"templateRule","rank":"3","prec":"0","seq":"10","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"95","module":"tei-to-html.xsl","expand-text":"false","match":"tei:head","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}head","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}head","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}head","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"elem","name":"h2","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}h2 ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","role":"action","line":"96","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"tei-head"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes"},{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}process-children"}]}]}]},{"N":"templateRule","rank":"4","prec":"0","seq":"9","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"91","module":"tei-to-html.xsl","expand-text":"false","match":"tei:docTitle","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}docTitle","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}docTitle","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}docTitle","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"elem","name":"h1","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}h1 ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","role":"action","line":"92","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"tei-docTitle"}]},{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes"},{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}process-children"}]}]}]},{"N":"templateRule","rank":"5","prec":"0","seq":"6","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"36","module":"tei-to-html.xsl","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":"copy","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}p ","flags":"cin","role":"action","line":"37","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes","line":"38"},{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}process-children","line":"39"}]}]}]},{"N":"templateRule","rank":"6","prec":"0","seq":"6","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"36","module":"tei-to-html.xsl","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":"copy","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}div ","flags":"cin","role":"action","line":"37","C":[{"N":"sequence","sType":"* ","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes","line":"38"},{"N":"callT","bSlot":"1","sType":"* ","name":"Q{}process-children","line":"39"}]}]}]},{"N":"templateRule","rank":"7","prec":"0","seq":"5","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"32","module":"tei-to-html.xsl","expand-text":"false","match":"tei:TEI|tei:front|tei:titlePage","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}TEI","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}TEI","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}TEI"},{"N":"callT","bSlot":"3","sType":"* ","name":"Q{}lossless-div","role":"action","line":"33"}]},{"N":"templateRule","rank":"8","prec":"0","seq":"5","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"32","module":"tei-to-html.xsl","expand-text":"false","match":"tei:TEI|tei:front|tei:titlePage","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}front","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}front","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}front"},{"N":"callT","bSlot":"3","sType":"* ","name":"Q{}lossless-div","role":"action","line":"33"}]},{"N":"templateRule","rank":"9","prec":"0","seq":"5","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"32","module":"tei-to-html.xsl","expand-text":"false","match":"tei:TEI|tei:front|tei:titlePage","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}titlePage","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}titlePage","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}titlePage"},{"N":"callT","bSlot":"3","sType":"* ","name":"Q{}lossless-div","role":"action","line":"33"}]},{"N":"templateRule","rank":"10","prec":"0","seq":"4","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"26","module":"tei-to-html.xsl","expand-text":"false","match":"dts:fragment","prio":"0","matches":"NE nQ{https://w3id.org/dts/api#}fragment","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{https://w3id.org/dts/api#}fragment","sType":"1NE nQ{https://w3id.org/dts/api#}fragment","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"elem","name":"div","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}div ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","role":"action","line":"27","C":[{"N":"sequence","sType":"* ","C":[{"N":"att","name":"class","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"dts-fragment"}]},{"N":"att","name":"data-dts","nsuri":"","sType":"1NA ","C":[{"N":"str","sType":"1AS ","val":"fragment"}]},{"N":"applyT","sType":"* ","line":"28","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","role":"select","line":"28"}]}]}]}]},{"N":"templateRule","rank":"11","prec":"0","seq":"2","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"16","module":"tei-to-html.xsl","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"elem","name":"br","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}br ","nsuri":"http://www.tei-c.org/ns/1.0","namespaces":"=http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 dts=https://w3id.org/dts/api#","role":"action","line":"17","C":[{"N":"callT","bSlot":"0","sType":"* ","name":"Q{}lossless-attributes","line":"18"}]}]},{"N":"templateRule","rank":"12","prec":"0","seq":"1","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"13","module":"tei-to-html.xsl","expand-text":"false","match":"tei:teiHeader","prio":"0","matches":"NE nQ{http://www.tei-c.org/ns/1.0}teiHeader","C":[{"N":"p.nodeTest","role":"match","test":"NE nQ{http://www.tei-c.org/ns/1.0}teiHeader","sType":"1NE nQ{http://www.tei-c.org/ns/1.0}teiHeader","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"empty","sType":"0 ","role":"action"}]},{"N":"templateRule","rank":"13","prec":"0","seq":"3","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"22","module":"tei-to-html.xsl","expand-text":"false","match":"*","prio":"-0.5","matches":"NE","C":[{"N":"p.nodeTest","role":"match","test":"NE","sType":"1NE","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"callT","bSlot":"4","sType":"* ","name":"Q{}lossless-span","role":"action","line":"23"}]},{"N":"templateRule","rank":"14","prec":"0","seq":"0","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"10","module":"tei-to-html.xsl","expand-text":"false","match":"comment()","prio":"-0.5","matches":"NC","C":[{"N":"p.nodeTest","role":"match","test":"NC","sType":"1NC","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"empty","sType":"0 ","role":"action"}]}]}]},{"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":"8","ns":"xml=~ =http://www.tei-c.org/ns/1.0 html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api#","minImp":"0","flags":"s","slots":"200","baseUri":"file:///home/jeff/src/prj/tmp/kdl-dts-server/responses/tei-to-html.xsl","line":"85","module":"tei-to-html.xsl","expand-text":"false","match":"@*","prio":"-0.5","matches":"NA","C":[{"N":"p.nodeTest","role":"match","test":"NA","sType":"1NA","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# "},{"N":"compAtt","sType":"1NA ","role":"action","line":"86","C":[{"N":"fn","name":"string-join","sType":"1AS ","role":"name","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=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","line":"86","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":"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":"forEach","sType":"*AS ","C":[{"N":"data","sType":"*A ","C":[{"N":"mergeAdj","C":[{"N":"dot","sType":"1NA","ns":"= xml=~ fn=~ html=http://www.w3.org/1999/xhtml tei=http://www.tei-c.org/ns/1.0 xsl=~ dts=https://w3id.org/dts/api# ","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":"20"},{"N":"property","name":"method","value":"html"},{"N":"property","name":"indent","value":"yes"}]},{"N":"decimalFormat"}],"Σ":"9bf527dd"} \ No newline at end of file diff --git a/responses/tei-to-html.xsl b/responses/tei-to-html.xsl index b5d8111..2e7e826 100644 --- a/responses/tei-to-html.xsl +++ b/responses/tei-to-html.xsl @@ -7,77 +7,110 @@ xmlns:dts="https://w3id.org/dts/api#"> - - - - - - - -
- -
-
- - -

-
- - - - - - -
- -
-
- - - - - - - - - - - - - - - - - - - - + + + + + + + +
+ +
+
+ + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + - - - - - - - - -
- - -
-
- - - - - tei-type- - - - - - - - - + + + + + + + + +
+ + +
+
+ + + + + + + + + + + + + + + tei-type- + + + + + + + + + + + + +

+
+ + +

+
+ + + + + + +
+ 📷 + +
+