Templates based on modes are frequently found in multiple files and directories, so they are collated here separately, one entry per mode.
TAN-core-errors.xsl
<xsl:template match='tan:error/tan:fix | tan:help/tan:fix | tan:warning/tan:fix | tan:fatal/tan:fix | tan:info/tan:fix' priority='-999' mode='#all' />
No variables, keys, functions, or named templates depend upon this xsl:template.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-html-diff-and-collate.xsl
<xsl:template match='tan:_text' mode='adjust-diff-infusion' />
<xsl:template match='tan:c | tan:u' mode='adjust-diff-infusion' />
<xsl:template match='tan:b' mode='adjust-diff-infusion' />
<xsl:template match='tan:wit' mode='adjust-diff-infusion' />
Used by template ŧ infuse-primary-file-with-diff-results
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-html-diff-and-collate.xsl
<xsl:template match='tan:stats' mode='diff-or-collate-to-html-output-pass-1' />
<xsl:template match='tan:stats/tan:witness | tan:stats/tan:collation | tan:stats/tan:diff' mode='diff-or-collate-to-html-output-pass-1' />
<xsl:template match='tan:stats/tan:witness/* | tan:stats/tan:collation/* | tan:stats/tan:diff/*' mode='diff-or-collate-to-html-output-pass-1' />
<xsl:template match='tan:note' mode='diff-or-collate-to-html-output-pass-1' priority='1' />
<xsl:template match='tan:venns' priority='1' mode='diff-or-collate-to-html-output-pass-1' />
<xsl:template match='tan:venns/tan:venn' priority='1' mode='diff-or-collate-to-html-output-pass-1' />
<xsl:template match='tan:venn/tan:part' mode='diff-or-collate-to-html-output-pass-1' />
<xsl:template match='tan:diff | tan:collation' mode='diff-or-collate-to-html-output-pass-1' />
<xsl:template match='tan:witness' mode='diff-or-collate-to-html-output-pass-1' />
Used by function tan:diff-or-collate-to-html()
.
Relies upon tan:shallow-copy
, tan:stamp-diff-with-text-data
, tan:trim-long-tree
, ŧ infuse-primary-file-with-diff-results
.
TAN-fn-html-diff-and-collate.xsl
<xsl:template match='comment() | processing-instruction()' mode='infuse-primary-file-with-diff-results' />
<xsl:template match='tan:unparsed-text | w:document' mode='infuse-primary-file-with-diff-results' />
<xsl:template match='*[@q or @id]' mode='infuse-primary-file-with-diff-results' />
<xsl:template match=' @q | tei:*/@part | tei:*/@org | tei:*/@sample | /tei:TEI/@* | tan:TAN-T/@*' mode='infuse-primary-file-with-diff-results' />
Used by template ŧ diff-or-collate-to-html-output-pass-1
.
Relies upon ŧ adjust-diff-infusion
.
TAN-fn-language-extended.xsl
<xsl:template match='tan:feature | tan:item[tan:affects-element = 'feature']' mode='tan:add-category-position' />
Used by function tan:morphological-code-conversion-maps()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-language-extended.xsl
<xsl:template match='*:match | *:non-match' mode='tan:add-code-test-toks' />
<xsl:template match='*:match/text()' mode='tan:add-code-test-toks' />
Used by template ŧ tan:convert-morphological-codes
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-collate-standard.xsl
<xsl:template match='tan:wit' mode='tan:add-collation-pos-offset' />
Used by template ŧ tan:clean-up-collation-pass-1
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-standard.xsl
<xsl:template match='tan:tok' mode='tan:add-tok-pos' />
Used by function tan:tokenize-text()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-diff-standard.xsl
<xsl:template match='tan:result' mode='tan:adjust-horizontal-search' />
<xsl:template match='tan:common' mode='tan:adjust-horizontal-search' />
<xsl:template match='tan:check-start' mode='tan:adjust-horizontal-search' />
<xsl:template match='tan:check-end' mode='tan:adjust-horizontal-search' />
<xsl:template match='tan:check-start-and-end' mode='tan:adjust-horizontal-search' />
<xsl:template match='tan:a | tan:b' mode='tan:adjust-horizontal-search' />
Used by function tan:diff-loop()
.
Relies upon tan:common-end-string()
, tan:common-start-string
, tan:ellipses
.
TAN-fn-resolve-files.xsl
<xsl:template match='tan:inclusion/*[tan:head]' mode='tan:apply-inclusions-and-adjust-vocabulary' />
<xsl:template match='*[@include]' mode='tan:apply-inclusions-and-adjust-vocabulary' />
<xsl:template match='tan:vocabulary/tan:TAN-voc' mode='tan:apply-inclusions-and-adjust-vocabulary' />
<xsl:template match='tan:vocabulary/tan:TAN-voc/tan:item | tan:vocabulary/tan:TAN-voc/tan:verb' priority='1' mode='tan:apply-inclusions-and-adjust-vocabulary' />
<xsl:template match='tan:head/tan:TAN-voc' mode='tan:apply-inclusions-and-adjust-vocabulary' />
Used by function tan:resolve-doc-loop()
.
Relies upon tan:copy-of-except
, tan:element-vocabulary
, ŧ tan:prefix-attr-include
.
TAN-fn-docx.xsl
<xsl:template match='w:p' mode='tan:archive-to-plain-text' />
<xsl:template match='ssh:c[not(@t)]' mode='tan:archive-to-plain-text' />
<xsl:template match='w:tab' mode='tan:archive-to-plain-text' />
<xsl:template match='w:br' mode='tan:archive-to-plain-text' />
<xsl:template match='w:noBreakHyphen' mode='tan:archive-to-plain-text' />
<xsl:template match='w:softHyphen' mode='tan:archive-to-plain-text' />
<xsl:template match='w:instrText | prop:Properties | cp:coreProperties | w:pPr' mode='tan:archive-to-plain-text' />
Used by function tan:docx-to-text()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-arrays-extended.xsl
<xsl:template match='.[. instance of array(*)]' mode='tan:array-to-map' />
TAN-fn-maps-extended.xsl
<xsl:template match='.[. instance of map(*)]' priority='-1' mode='tan:shallow-copy tan:map-put tan:array-to-map' />
Used by function tan:array-to-map()
.
Relies upon tan:duplicate-items
, tan:item-type
.
TAN-fn-expand-files.xsl
<xsl:template match='tan:inclusion | *[@include]' mode='tan:attributes-not-in-inclusions' />
<xsl:template match='@xml:id | @id' mode='tan:attributes-not-in-inclusions' />
Used by template ŧ tan:core-expansion-terse-attributes
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-extended.xsl
<xsl:template match='text()' mode='tan:batch-replace-advanced-pass-1' />
<xsl:template match='.[. instance of xs:string]' mode='tan:batch-replace-advanced-pass-1' />
Used by function tan:batch-replace-advanced()
.
Relies upon Ŧ tan:regex-group-count
, ŧ tan:batch-replace-advanced-pass-2
.
TAN-fn-strings-extended.xsl
<xsl:template match='@*' mode='tan:batch-replace-advanced-pass-2' />
<xsl:template match='text()' mode='tan:batch-replace-advanced-pass-2' />
Used by template ŧ tan:batch-replace-advanced-pass-1
.
Relies upon Ŧ tan:regex-group-count
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tei:lb | tei:pb | tei:cb | tei:milestone' mode='tan:build-anchor-reference' />
<xsl:template match='tan:ref | tan:n | tan:type | tan:ed-who' mode='tan:build-anchor-reference' />
Used by template ŧ tan:core-expansion-terse
tan:dependency-adjustments-pass-1.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-standard.xsl
<xsl:template match='text()' mode='tan:build-grouping-key' />
<xsl:template match='*' mode='tan:build-grouping-key' />
Used by function tan:group-elements-by-shared-node-values()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-sequences-standard.xsl
<xsl:template match='*' mode='tan:build-integer-arrays' />
<xsl:template match='.[. castable as xs:integer]' priority='-1' mode='tan:build-integer-arrays' />
<xsl:template match='.[. instance of array(xs:integer*)]' mode='tan:build-integer-arrays' />
Used by function tan:longest-ascending-subsequence()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-language-extended.xsl
<xsl:template match='tan:ana' mode='tan:build-lm-arrays' />
<xsl:template match='tan:lm' mode='tan:build-lm-arrays' />
<xsl:template match='tan:l' mode='tan:build-lm-arrays' />
<xsl:template match='tan:m' mode='tan:build-lm-arrays' />
Used by function tan:ana-lm-arrays()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-maps-extended.xsl
<xsl:template match='map:item[@type eq 'document-node'] | array:item[@type eq 'document-node']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:item[@type eq 'comment'] | array:item[@type eq 'comment']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:item[@type eq 'processing-instruction'] | array:item[@type eq 'processing-instruction']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:item[@type eq 'element'] | array:item[@type eq 'element']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:item[@type eq 'attribute'] | array:item[@type eq 'attribute']' mode='tan:build-maps-and-arrays' />
<xsl:template match='@_type' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:item[@type eq 'text'] | array:item[@type eq 'text']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:item[@type eq 'map'] | array:item[@type eq 'map']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:item[@type eq 'array'] | array:item[@type eq 'array']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:item[@type = ('function')] | array:item[@type = ('function')]' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key | map:item' priority='-1' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:anyURI'] | map:item[@type eq 'xs:anyURI'] | array:item[@type eq 'xs:anyURI']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:base64Binary'] | map:item[@type eq 'xs:base64Binary'] | array:item[@type eq 'xs:base64Binary']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:boolean'] | map:item[@type eq 'xs:boolean'] | array:item[@type eq 'xs:boolean']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:date'] | map:item[@type eq 'xs:date'] | array:item[@type eq 'xs:date']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:dateTime'] | map:item[@type eq 'xs:dateTime'] | array:item[@type eq 'xs:dateTime']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:decimal'] | map:item[@type eq 'xs:decimal'] | array:item[@type eq 'xs:decimal']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:integer'] | map:item[@type eq 'xs:integer'] | array:item[@type eq 'xs:integer']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:long'] | map:item[@type eq 'xs:long'] | array:item[@type eq 'xs:long']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:int'] | map:item[@type eq 'xs:int'] | array:item[@type eq 'xs:int']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:short'] | map:item[@type eq 'xs:short'] | array:item[@type eq 'xs:short']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:byte'] | map:item[@type eq 'xs:byte'] | array:item[@type eq 'xs:byte']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:nonNegativeInteger'] | map:item[@type eq 'xs:nonNegativeInteger'] | array:item[@type eq 'xs:nonNegativeInteger']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:positiveInteger'] | map:item[@type eq 'xs:positiveInteger'] | array:item[@type eq 'xs:positiveInteger']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:unsignedLong'] | map:item[@type eq 'xs:unsignedLong'] | array:item[@type eq 'xs:unsignedLong']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:unsignedInt'] | map:item[@type eq 'xs:unsignedInt'] | array:item[@type eq 'xs:unsignedInt']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:unsignedShort'] | map:item[@type eq 'xs:unsignedShort'] | array:item[@type eq 'xs:unsignedShort']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:unsignedByte'] | map:item[@type eq 'xs:unsignedByte'] | array:item[@type eq 'xs:unsignedByte']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:nonPositiveInteger'] | map:item[@type eq 'xs:nonPositiveInteger'] | array:item[@type eq 'xs:nonPositiveInteger']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:negativeInteger'] | map:item[@type eq 'xs:negativeInteger'] | array:item[@type eq 'xs:negativeInteger']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:double'] | map:item[@type eq 'xs:double'] | array:item[@type eq 'xs:double']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:duration'] | map:item[@type eq 'xs:duration'] | array:item[@type eq 'xs:duration']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:dayTimeDuration'] | map:item[@type eq 'xs:dayTimeDuration'] | array:item[@type eq 'xs:dayTimeDuration']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:yearMonthDuration'] | map:item[@type eq 'xs:yearMonthDuration'] | array:item[@type eq 'xs:yearMonthDuration']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:float'] | map:item[@type eq 'xs:float'] | array:item[@type eq 'xs:float']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:gDay'] | map:item[@type eq 'xs:gDay'] | array:item[@type eq 'xs:gDay']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:gMonth'] | map:item[@type eq 'xs:gMonth'] | array:item[@type eq 'xs:gMonth']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:gMonthDay'] | map:item[@type eq 'xs:gMonthDay'] | array:item[@type eq 'xs:gMonthDay']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:gYear'] | map:item[@type eq 'xs:gYear'] | array:item[@type eq 'xs:gYear']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:gYearMonth'] | map:item[@type eq 'xs:gYearMonth'] | array:item[@type eq 'xs:gYearMonth']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:hexBinary'] | map:item[@type eq 'xs:hexBinary'] | array:item[@type eq 'xs:hexBinary']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:QName'] | map:item[@type eq 'xs:QName'] | array:item[@type eq 'xs:QName']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:string'] | map:item[@type eq 'xs:string'] | array:item[@type eq 'xs:string']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:normalizedString'] | map:item[@type eq 'xs:normalizedString'] | array:item[@type eq 'xs:normalizedString']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:token'] | map:item[@type eq 'xs:token'] | array:item[@type eq 'xs:token']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:language'] | map:item[@type eq 'xs:language'] | array:item[@type eq 'xs:language']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:Name'] | map:item[@type eq 'xs:Name'] | array:item[@type eq 'xs:Name']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:NCName'] | map:item[@type eq 'xs:NCName'] | array:item[@type eq 'xs:NCName']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:ENTITY'] | map:item[@type eq 'xs:ENTITY'] | array:item[@type eq 'xs:ENTITY']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:ID'] | map:item[@type eq 'xs:ID'] | array:item[@type eq 'xs:ID']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:IDREF'] | map:item[@type eq 'xs:IDREF'] | array:item[@type eq 'xs:IDREF']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:NMTOKEN'] | map:item[@type eq 'xs:NMTOKEN'] | array:item[@type eq 'xs:NMTOKEN']' mode='tan:build-maps-and-arrays' />
<xsl:template match='map:key[@type eq 'xs:time'] | map:item[@type eq 'xs:time'] | array:item[@type eq 'xs:time']' mode='tan:build-maps-and-arrays' />
Used by template ŧ tan:xml-to-map-and-array
.
Used by function tan:array-members()
, tan:build-xml-to-map-key()
.
Relies upon tan:xml-to-map()
, ŧ tan:xml-to-map-and-array
.
TAN-fn-search-extended.xsl
<xsl:template match='oac:Body' mode='tan:build-morpheus-ana' />
<xsl:template match='entry' mode='tan:build-morpheus-ana' />
<xsl:template match='dict' mode='tan:build-morpheus-ana' />
<xsl:template match='infl' mode='tan:build-morpheus-ana' />
<xsl:template match='pofs | case | gend | num | mood | tense | voice | comp' mode='tan:build-morpheus-ana tan:build-morpheus-lex' />
Used by template ŧ tan:claims-morpheus
.
Relies upon $morpheus-map
, $tan:TAN-feature-vocabulary
.
TAN-fn-search-extended.xsl
<xsl:template match='pofs | case | gend | num | mood | tense | voice | comp' mode='tan:build-morpheus-ana tan:build-morpheus-lex' />
<xsl:template match='infl' mode='tan:build-morpheus-lex' />
<xsl:template match='dict' mode='tan:build-morpheus-lex' />
<xsl:template match='hdwd' mode='tan:build-morpheus-lex' />
<xsl:template match='@xml:lang' mode='tan:build-morpheus-lex' />
Used by template ŧ tan:claims-morpheus
.
Relies upon $morpheus-map
, $tan:TAN-feature-vocabulary
.
TAN-fn-nodes-extended.xsl
<xsl:template match='*' mode='tan:build-namespace-map' />
Used by function tan:get-namespace-map()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-files.xsl
<xsl:template match='collection' mode='tan:catalog-expansion-terse' />
<xsl:template match='doc' mode='tan:catalog-expansion-terse' />
Used by function tan:expand-doc()
.
Relies upon tan:duplicate-items
.
TAN-fn-sequences-standard.xsl
<xsl:template match='*[@from][text()]' mode='tan:check-and-expand-ranges' />
<xsl:template match='tan:ref[@from][tan:n]' priority='1' mode='tan:check-and-expand-ranges' />
Used by function tan:analyze-sequence()
.
Relies upon $tan:separator-hierarchy
, tan:expand-numerical-expression
, tan:string-to-numerals
.
TAN-fn-expand-files.xsl
<xsl:template match='tan:inclusion/* | tan:vocabulary/tan:item' priority='1' mode='tan:check-referred-doc' />
<xsl:template match='tan:algorithm | tan:TAN-T/tan:head/tan:source | tei:TEI/tan:head/tan:source' mode='tan:check-referred-doc' />
<xsl:template match='tan:predecessor | tan:see-also' mode='tan:check-referred-doc' priority='1' />
<xsl:template match=' tan:inclusion | tan:vocabulary | tan:TAN-A/tan:head/tan:source | tan:TAN-A-lm/tan:head/tan:source | tan:TAN-A-tok/tan:head/tan:source | tan:see-also | tan:morphology | tan:redivision | tan:model | tan:successor | tan:predecessor | tan:annotation' mode='tan:check-referred-doc' />
<xsl:template match='tan:checksum/tan:IRI' priority='3' mode='tan:check-referred-doc' />
<xsl:template match='tan:IRI' priority='2' mode='tan:check-referred-doc' />
<xsl:template match='*[@href]' mode='tan:check-referred-doc' />
TAN-fn-expand-terse-class-2.xsl
<xsl:template match='tan:vocabulary/tan:item' priority='2' mode='tan:check-referred-doc' />
Used by template ŧ tan:core-expansion-terse
, ŧ tan:core-expansion-normal
.
Relies upon $tan:TAN-namespace
, $tan:TAN-vocabularies
, $tan:TEI-namespace
, $tan:doc-id
, $tan:duplicate-head-iris
, $tan:empty-doc
, $tan:empty-element
, $tan:inclusions-resolved
, $tan:internet-available
, $tan:sources-resolved
, $tan:vocabularies-resolved
, tan:base-uri
, tan:distinct-items
, tan:element-vocabulary
, tan:get-1st-doc
, tan:get-doc-history
, tan:last-change-agent
, tan:normalize-text
, tan:resolve-doc
, tan:shallow-copy
, tan:url-is-local
.
TAN-fn-search-extended.xsl
<xsl:template match='/*' mode='tan:claims-morpheus' />
Used by function tan:search-results-to-claims()
.
Relies upon ŧ tan:build-morpheus-ana
, ŧ tan:build-morpheus-lex
.
TAN-fn-expand-verbose.xsl
<xsl:template match='tan:head' mode='tan:class-1-expansion-verbose-pass-1' />
<xsl:template match='tan:redivision' mode='tan:class-1-expansion-verbose-pass-1' />
<xsl:template match='tan:model' mode='tan:class-1-expansion-verbose-pass-1' />
<xsl:template match='tan:body' mode='tan:class-1-expansion-verbose-pass-1' />
Used by function tan:expand-doc()
.
Relies upon $tan:doc-id
, $tan:model-resolved
, $tan:redivisions-resolved
, tan:copy-of-except
, tan:diff
, tan:expand-doc
, tan:get-1st-doc
, tan:merge-expanded-docs
, tan:resolve-doc
, tan:stamp-diff-with-text-data
, tan:text-join
.
TAN-fn-expand-verbose.xsl
<xsl:template match='tan:model' mode='tan:class-1-expansion-verbose-pass-2' />
<xsl:template match='tan:model/tan:body' mode='tan:class-1-expansion-verbose-pass-2' />
<xsl:template match='tan:TAN-T/tan:body | tei:TEI/tan:body' mode='tan:class-1-expansion-verbose-pass-2' />
<xsl:template match='tan:div' mode='tan:class-1-expansion-verbose-pass-2' />
Used by function tan:expand-doc()
.
Relies upon <div>
, tan:shallow-copy
, tan:string-to-numerals
.
TAN-fn-expand-verbose.xsl
<xsl:template match='tan:model/tan:body' mode='tan:class-1-expansion-verbose-pass-3' />
<xsl:template match='tan:TAN-T/tan:body | tei:TEI/tan:body' mode='tan:class-1-expansion-verbose-pass-3' />
<xsl:template match='tan:div[not(tan:div)][@_pos]' mode='tan:class-1-expansion-verbose-pass-3' />
Used by function tan:expand-doc()
.
Relies upon $tan:char-regex
, tan:chop-diff-output
, tan:xml-to-string
, ŧ tan:ellipses
, ŧ tan:strip-attributes
.
TAN-fn-expand-normal.xsl
<xsl:template match='tan:div-ref' mode='tan:core-expansion-normal tan:class-2-expansion-normal' />
Used by function tan:expand-doc()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-terse-class-2.xsl
<xsl:template match='tan:skip/tan:div-type | tan:skip/tan:n | tan:rename/tan:n | tan:passage | tan:from-tok | tan:through-tok | tan:rename | tan:reassign' mode='tan:class-2-expansion-terse tan:class-2-expansion-terse-for-validation' />
<xsl:template match='tan:equate' mode='tan:class-2-expansion-terse tan:class-2-expansion-terse-for-validation' />
<xsl:template match='tan:to/tan:ref | tan:new/tan:ref' mode='tan:class-2-expansion-terse tan:class-2-expansion-terse-for-validation' />
<xsl:template match='tan:ref' mode='tan:class-2-expansion-terse tan:class-2-expansion-terse-for-validation' />
<xsl:template match='tan:pos' mode='tan:class-2-expansion-terse tan:class-2-expansion-terse-for-validation' />
<xsl:template match='tan:chars' mode='tan:class-2-expansion-terse tan:class-2-expansion-terse-for-validation' />
Used by function tan:expand-doc()
.
Relies upon tan:duplicate-items
, tan:ordinal
.
TAN-fn-expand-terse-class-2.xsl
<xsl:template match='tan:skip/tan:div-type | tan:skip/tan:n | tan:rename/tan:n | tan:passage | tan:from-tok | tan:through-tok | tan:rename | tan:reassign' mode='tan:class-2-expansion-terse tan:class-2-expansion-terse-for-validation' />
<xsl:template match='tan:equate' mode='tan:class-2-expansion-terse tan:class-2-expansion-terse-for-validation' />
<xsl:template match='tan:to/tan:ref | tan:new/tan:ref' mode='tan:class-2-expansion-terse tan:class-2-expansion-terse-for-validation' />
<xsl:template match='tan:ref' mode='tan:class-2-expansion-terse tan:class-2-expansion-terse-for-validation' />
<xsl:template match='tan:pos' mode='tan:class-2-expansion-terse tan:class-2-expansion-terse-for-validation' />
<xsl:template match='tan:chars' mode='tan:class-2-expansion-terse tan:class-2-expansion-terse-for-validation' />
Used by function tan:expand-doc()
.
Relies upon tan:duplicate-items
, tan:ordinal
.
TAN-fn-expand-verbose.xsl
<xsl:template match='tan:source' mode='tan:class-2-expansion-verbose' />
Used by function tan:expand-doc()
.
Relies upon tan:get-1st-doc
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:div' mode='tan:clean-reset-divs-1' />
No variables, keys, functions, or named templates depend upon this xsl:template.
Relies upon ŧ tan:clean-reset-divs-2
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:div[tan:ref/@reset]' mode='tan:reset-hierarchy tan:clean-reset-divs-2' />
<xsl:template match='tan:ref' mode='tan:clean-reset-divs-2' />
Used by template ŧ tan:clean-reset-divs-1
.
Used by function tan:expand-doc()
, tan:reset-hierarchy-loop()
, tan:reset-hierarchy()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-file-archive-extended.xsl
<xsl:template match='@_archive-path | @xml:base' mode='tan:clean-up-archive' />
Used by template Ŧ tan:save-archive
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-collate-standard.xsl
<xsl:template match='tan:x | tan:witness' mode='tan:clean-up-collation-pass-1' />
<xsl:template match='tan:previous-collation | tan:diagnostics' mode='tan:clean-up-collation-pass-1' />
<xsl:template match='*[tan:u]' mode='tan:clean-up-collation-pass-1' />
Used by function tan:collate()
.
Relies upon tan:collate
, ŧ tan:add-collation-pos-offset
.
TAN-fn-strings-collate-standard.xsl
<xsl:template match='*[tan:u]' mode='tan:clean-up-collation-pass-2' />
Used by function tan:collate()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-diff-standard.xsl
<xsl:template match='tan:long-seq' mode='tan:collated-sequences-to-diff' />
<xsl:template match='tan:item[@p1 and @p2]' priority='1' mode='tan:collated-sequences-to-diff' />
<xsl:template match='tan:item[@p1]' mode='tan:collated-sequences-to-diff' />
<xsl:template match='tan:item[@p2]' mode='tan:collated-sequences-to-diff' />
Used by function tan:diff-loop()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-collate-standard.xsl
<xsl:template match='tan:witness' mode='tan:collation-to-strings' />
Used by function tan:collation-to-strings()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-extended.xsl
<xsl:template match='*[*:div]' mode='tan:consolidate-identical-adjacent-divs' />
Used by function tan:consolidate-identical-adjacent-divs()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-language-extended.xsl
<xsl:template match='tan:m' mode='tan:convert-morphological-codes' />
Used by function tan:convert-morphological-codes()
.
Relies upon tan:duplicate-values
, ŧ tan:add-code-test-toks
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:tok' mode='tan:convert-tok-to-push' />
Used by template ŧ tan:mark-dependencies-pass-2
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-standard.xsl
<xsl:template match='*' mode='tan:copy-of-except' />
Used by function tan:copy-of-except()
, tan:stamp-tree-with-text-data()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-files.xsl
<xsl:template match='/*' mode='tan:core-expansion-normal tan:dependency-expansion-normal' />
<xsl:template match='tan:master-location' mode='tan:core-expansion-normal' />
<xsl:template priority='1' match='tan:TAN-A/tan:head/tan:source | tan:TAN-A-tok/tan:head/tan:source | tan:TAN-A-lm/tan:head/tan:source' mode='tan:core-expansion-normal' />
<xsl:template match='tan:see-also | tan:model | tan:redivision | tan:successor | tan:predecessor | tan:algorithm | tan:source[tan:location] | tan:annotation' mode='tan:core-expansion-normal' />
<xsl:template match='text()[matches(., '\S')]' mode='tan:core-expansion-normal' />
TAN-fn-expand-normal.xsl
<xsl:template match='tan:TAN-T/tan:body | tan:div' mode='tan:core-expansion-normal' />
<xsl:template match='tan:div-ref' mode='tan:core-expansion-normal tan:class-2-expansion-normal' />
<xsl:template match='tan:subject/tan:div | tan:object/tan:div' priority='1' mode='tan:core-expansion-normal' />
<xsl:template match='tan:TAN-voc/tan:body' mode='tan:core-expansion-normal' />
<xsl:template match='tan:name' mode='tan:core-expansion-normal' />
Used by function tan:expand-doc()
.
Relies upon $tan:doc-uri
, $tan:orig-self
, $tan:regex-characters-not-permitted
, tan:copy-of-except
, tan:dec-to-hex
, tan:diff
, tan:duplicate-values
, tan:get-1st-doc
, tan:get-doc-history
, tan:normalize-name
, tan:xml-to-string
, ŧ tan:check-referred-doc
, ŧ tan:ellipses
.
TAN-fn-expand-files.xsl
<xsl:template match='tei:teiHeader | tan:tail | tei:div[not(tei:div)]/node()' mode='tan:core-expansion-prep-for-attr-query' />
Used by template ŧ tan:core-expansion-terse-attributes
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-files.xsl
<xsl:template match='tei:teiHeader | tan:tail' use-when='$tan:validation-mode-on' mode='tan:core-expansion-terse-attributes tan:core-expansion-terse' />
<xsl:template match='tei:teiHeader | tan:tail' use-when='not($tan:validation-mode-on)' mode='tan:core-expansion-terse-attributes tan:core-expansion-terse' />
<xsl:template match='/*' mode='tan:core-expansion-terse' priority='-2' />
<xsl:template match='tan:head' mode='tan:core-expansion-terse' />
<xsl:template match='tan:inclusion | tan:vocabulary' mode='tan:core-expansion-terse' />
<xsl:template match='*[@which]/tan:id' mode='tan:core-expansion-terse' />
<xsl:template match='tan:feature[@which]/tan:id' priority='1' mode='tan:core-expansion-terse' />
<xsl:template match='tan:name' mode='tan:core-expansion-terse' />
<xsl:template match='tan:IRI' mode='tan:core-expansion-terse' />
<xsl:template match='tan:token-definition' mode='tan:core-expansion-terse' />
<xsl:template match='tan:alias/tan:idref' mode='tan:core-expansion-terse' />
<xsl:template match='tan:vocabulary-key' mode='tan:core-expansion-terse' />
<xsl:template match='tan:file-resp' mode='tan:core-expansion-terse' />
<xsl:template match='tan:to-do' mode='tan:core-expansion-terse' />
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:redivision | /tan:TAN-T/tan:head/tan:companion-version | /tei:TEI/tan:head/tan:companion-version' mode='tan:core-expansion-terse' />
<xsl:template match='tan:reference-system' mode='tan:core-expansion-terse' />
<xsl:template match='tan:model' mode='tan:core-expansion-terse' />
<xsl:template match='tan:TAN-T | tei:TEI' mode='tan:core-expansion-terse tan:dependency-adjustments-pass-1' />
<xsl:template match='*:body' mode='tan:core-expansion-terse tan:dependency-adjustments-pass-1' />
<xsl:template match='tei:text' mode='tan:core-expansion-terse tan:dependency-adjustments-pass-1' />
<xsl:template match='tan:div | tei:div' mode='tan:core-expansion-terse' />
<xsl:template match='tei:teiHeader' mode='tan:core-expansion-terse tan:dependency-adjustments-pass-1' />
<xsl:template match='tei:lb | tei:pb | tei:cb' mode='tan:core-expansion-terse tan:dependency-adjustments-pass-1' />
TAN-fn-expand-terse-class-2.xsl
<xsl:template match='tan:source | tan:morphology[not(@attr)]' mode='tan:core-expansion-terse' />
<xsl:template match='tan:rename' mode='tan:core-expansion-terse' />
<xsl:template match='tan:rename/tan:by' mode='tan:core-expansion-terse' />
<xsl:template match='tan:tok[not(tan:from)] | tan:tok/tan:from | tan:tok/tan:to | tan:from-tok | tan:through-tok' mode='tan:core-expansion-terse' />
<xsl:template match=' tan:adjustments/tan:skip/tan:div-type | tan:adjustments/tan:*/tan:ref | tan:adjustments/tan:*/tan:n | tan:passage/tan:ref[not(@q)]' mode='tan:core-expansion-terse' />
<xsl:template match='tan:ref[@q][@from]' priority='1' mode='tan:core-expansion-terse' />
<xsl:template match='tan:ref[@q][@to]' priority='1' mode='tan:core-expansion-terse' />
<xsl:template match='/' mode='tan:core-expansion-terse' />
<xsl:template match='tan:claim/tan:work | tan:object/tan:work | tan:subject/tan:work' mode='tan:core-expansion-terse' />
<xsl:template match='tan:group[tan:work]' mode='tan:core-expansion-terse' />
<xsl:template match='tan:TAN-A/tan:body' mode='tan:core-expansion-terse' />
<xsl:template match='tan:claim' mode='tan:core-expansion-terse' />
<xsl:template match='tan:subject | tan:object' mode='tan:core-expansion-terse' />
<xsl:template match='tan:adjustments' mode='tan:core-expansion-terse' />
<xsl:template match='tan:TAN-A-lm/tan:body' mode='tan:core-expansion-terse' />
<xsl:template match='tan:tok' mode='tan:core-expansion-terse' />
<xsl:template match='tan:m' mode='tan:core-expansion-terse' />
TAN-fn-expand-terse-class-3.xsl
<xsl:template match='tan:TAN-mor/tan:body' mode='tan:dependency-adjustments-pass-1 tan:core-expansion-terse' />
<xsl:template match='tan:category' mode='tan:dependency-adjustments-pass-1 tan:core-expansion-terse' />
<xsl:template match='tan:category/tan:code/tan:val | tan:body/tan:code/tan:val' mode='tan:dependency-adjustments-pass-1 tan:core-expansion-terse' />
<xsl:template match='tan:code/tan:val/text()' mode='tan:dependency-adjustments-pass-1 tan:core-expansion-terse' />
<xsl:template match='tan:TAN-voc/tan:body' mode='tan:core-expansion-terse' />
<xsl:template match='*[@affects-element]/tan:affects-element' mode='tan:core-expansion-terse' />
<xsl:template match='tan:item | tan:verb' mode='tan:core-expansion-terse' />
Used by template ŧ tan:dependency-adjustments-pass-1
.
Used by function tan:expand-doc()
.
Relies upon $tan:TAN-id-namespace
, $tan:TAN-namespace
, $tan:TAN-version
, $tan:TAN-version-is-under-development
, $tan:TAN-vocabularies
, $tan:TAN-vocabulary-files
, $tan:all-selector
, $tan:break-marker-regex
, $tan:datatypes-that-require-unit-specification
, $tan:doc-id
, $tan:doc-id-namespace
, $tan:doc-is-error-test
, $tan:doc-uri
, $tan:duplicate-head-iris
, $tan:empty-element
, $tan:model-resolved
, $tan:names-of-elements-targeted-by-objects
, $tan:names-of-elements-targeted-by-subjects
, $tan:names-of-elements-that-describe-text-bearers
, $tan:names-of-elements-that-describe-textual-entities
, $tan:names-of-elements-that-take-which
, $tan:official-urn-namespaces
, $tan:previous-TAN-versions
, $tan:redivisions-resolved
, $tan:separator-hierarchy
, $tan:token-definition-default
, tan:attribute-vocabulary
, tan:data-type-check
, tan:distinct-items
, tan:duplicate-items
, tan:duplicate-values
, tan:element-vocabulary
, tan:ellipses
, tan:get-1st-doc
, tan:group-elements-by-shared-node-values
, tan:last-change-agent
, tan:normalize-name
, tan:resolve-doc
, tan:shallow-copy
, tan:vocabulary
, ŧ tan:build-anchor-reference
, ŧ tan:check-referred-doc
, ŧ tan:rebuild-divs-with-ref-aliases
, ŧ tan:resolve-reference-tree-numerals
.
TAN-fn-expand-files.xsl
<xsl:template match='tei:teiHeader | tan:tail' use-when='$tan:validation-mode-on' mode='tan:core-expansion-terse-attributes tan:core-expansion-terse' />
<xsl:template match='tei:teiHeader | tan:tail' use-when='not($tan:validation-mode-on)' mode='tan:core-expansion-terse-attributes tan:core-expansion-terse' />
<xsl:template match='comment()' mode='tan:core-expansion-terse-attributes' />
<xsl:template match='/*' priority='1' mode='tan:core-expansion-terse-attributes' />
<xsl:template match='tan:head[tan:adjustments]' priority='1' mode='tan:core-expansion-terse-attributes' />
<xsl:template match='tan:head/tan:vocabulary[tan:location] | tan:head/tan:tan-vocabulary | tei:div[not(tei:div)]/tei:*' priority='1' mode='tan:core-expansion-terse-attributes' />
<xsl:template match='*[@*]' mode='tan:core-expansion-terse-attributes' />
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tei:div[not(tei:div)]/tei:*' priority='1' mode='tan:resolve-numerals tan:core-expansion-terse-attributes' />
Used by template ŧ tan:dependency-adjustments-pass-1
.
Used by function tan:expand-doc()
.
Relies upon $tan:TAN-vocabularies
, $tan:help-trigger-regex
, $tan:names-of-attributes-that-take-idrefs
, tan:distinct-items
, tan:duplicate-items
, tan:normalize-name
, tan:vocabulary
, ŧ tan:attributes-not-in-inclusions
, ŧ tan:core-expansion-prep-for-attr-query
, ŧ tan:core-expansion-terse-attributes-to-elements
, ŧ tan:remove-inclusions
.
TAN-fn-expand-files.xsl
<xsl:template match='@*' mode='tan:core-expansion-terse-attributes-to-elements' />
<xsl:template match='@xml:id | @id' mode='tan:core-expansion-terse-attributes-to-elements' />
<xsl:template match='@from | @to | tan:*/@when | @ed-when | @accessed-when' mode='tan:core-expansion-terse-attributes-to-elements' />
<xsl:template match='@pattern | @matches-m | @matches-tok | @rgx' mode='tan:core-expansion-terse-attributes-to-elements' />
<xsl:template match='@href' mode='tan:core-expansion-terse-attributes-to-elements' />
<xsl:template match='@ref | @pos | @chars | tan:equate/@n | tan:skip/@n | tan:rename/@n' mode='tan:core-expansion-terse-attributes-to-elements' />
<xsl:template match='*[@val]/@chars' priority='1' mode='tan:core-expansion-terse-attributes-to-elements' />
<xsl:template match='*[@ref]/@new' mode='tan:core-expansion-terse-attributes-to-elements' />
<xsl:template match='*[@n]/@new' mode='tan:core-expansion-terse-attributes-to-elements' />
<xsl:template match='@val | @by' mode='tan:core-expansion-terse-attributes-to-elements' />
<xsl:template match='@div-type | @affects-element | @affects-attribute | @item-type | @in-lang' mode='tan:core-expansion-terse-attributes-to-elements' />
Used by template ŧ tan:core-expansion-terse-attributes
.
Relies upon $tan:doc-uri
, $tan:internet-available
, $tan:names-of-attributes-that-are-case-indifferent
, $tan:names-of-attributes-that-may-take-multiple-space-delimited-values
, $tan:now
, tan:chop-string
, tan:duplicate-values
, tan:expand-numerical-expression
, tan:path
, tan:stamp-q-id
, tan:uri-relative-to
, tan:url-is-local
.
TAN-fn-expand-files.xsl
<xsl:template match='/*' mode='tan:core-expansion-verbose' />
Used by function tan:expand-doc()
.
Relies upon tan:catalogs
, tan:collection
, tan:expand-doc
, tan:resolve-doc
, ŧ tan:prepend-error-message
.
TAN-fn-uris-standard.xsl
<xsl:template match='/collection/doc[@href]' mode='tan:cut-faulty-hrefs' />
Used by function tan:catalogs()
.
Relies upon $tan:internet-available
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='/' mode='tan:dependency-adjustments-pass-1' />
<xsl:template match='tan:TAN-T | tei:TEI' mode='tan:core-expansion-terse tan:dependency-adjustments-pass-1' />
<xsl:template match='*:body' mode='tan:core-expansion-terse tan:dependency-adjustments-pass-1' />
<xsl:template match='tei:text' mode='tan:core-expansion-terse tan:dependency-adjustments-pass-1' />
<xsl:template match='*:body/text() | *:div[*:div]/text()' mode='tan:dependency-adjustments-pass-1' />
<xsl:template match='tan:div | tei:div' mode='tan:dependency-adjustments-pass-1' />
<xsl:template match='tei:teiHeader' mode='tan:core-expansion-terse tan:dependency-adjustments-pass-1' />
<xsl:template match='tei:lb | tei:pb | tei:cb' mode='tan:core-expansion-terse tan:dependency-adjustments-pass-1' />
<xsl:template match='tan:div/comment()' mode='tan:dependency-adjustments-pass-1' />
TAN-fn-expand-terse-class-2.xsl
<xsl:template match='tan:tan-vocabulary/tan:item[tan:affects-element = 'feature']/tan:id' mode='tan:dependency-adjustments-pass-1' />
<xsl:template match='tan:vocabulary-key/tan:feature[@xml:id][tan:IRI]' mode='tan:dependency-adjustments-pass-1' />
TAN-fn-expand-terse-class-3.xsl
<xsl:template match='tan:TAN-mor/tan:body' mode='tan:dependency-adjustments-pass-1 tan:core-expansion-terse' />
<xsl:template match='tan:category' mode='tan:dependency-adjustments-pass-1 tan:core-expansion-terse' />
<xsl:template match='tan:category/tan:code/tan:val | tan:body/tan:code/tan:val' mode='tan:dependency-adjustments-pass-1 tan:core-expansion-terse' />
<xsl:template match='tan:code/tan:val/text()' mode='tan:dependency-adjustments-pass-1 tan:core-expansion-terse' />
Used by function tan:expand-doc()
.
Relies upon $tan:TAN-version
, $tan:TAN-version-is-under-development
, $tan:all-selector
, $tan:break-marker-regex
, $tan:doc-id
, $tan:empty-element
, $tan:previous-TAN-versions
, $tan:separator-hierarchy
, tan:duplicate-values
, tan:ellipses
, tan:last-change-agent
, tan:path
, tan:shallow-copy
, ŧ tan:build-anchor-reference
, ŧ tan:core-expansion-terse-attributes
, ŧ tan:rebuild-divs-with-ref-aliases
, ŧ tan:resolve-reference-tree-numerals
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='/' mode='tan:dependency-adjustments-pass-2' />
<xsl:template match='tan:head' mode='tan:dependency-adjustments-pass-2' />
<xsl:template match='tan:div' mode='tan:dependency-adjustments-pass-2' />
<xsl:template match='tan:passage/tan:tok' mode='tan:dependency-adjustments-pass-2' />
Used by function tan:expand-doc()
.
Relies upon $tan:all-selector
, $tan:token-definition-default
, tan:duplicate-items
, tan:shallow-copy
, tan:tokenize-text
, ŧ tan:expand-reassigns
, ŧ tan:mark-reassigns
, ŧ tan:resolve-reference-tree-numerals
, ŧ tan:unmark-tokens
.
TAN-fn-expand-files.xsl
<xsl:template match='/*' mode='tan:core-expansion-normal tan:dependency-expansion-normal' />
TAN-fn-expand-normal.xsl
<xsl:template match='tan:body' mode='tan:dependency-expansion-normal' />
<xsl:template match='tan:div' mode='tan:dependency-expansion-normal' />
Used by function tan:expand-doc()
.
Relies upon tan:tokenize-text
.
TAN-fn-expand-verbose.xsl
<xsl:template match='/tan:TAN-T | /tei:TEI' mode='tan:dependency-expansion-verbose' />
<xsl:template match='tan:div' mode='tan:dependency-expansion-verbose' />
<xsl:template match='tan:tok | tan:non-tok' mode='tan:dependency-expansion-verbose' />
<xsl:template match='text()' mode='tan:dependency-expansion-verbose' />
No variables, keys, functions, or named templates depend upon this xsl:template.
Relies upon tan:tokenize-text
.
TAN-fn-strings-diff-extended.xsl
<xsl:template match='tan:diff' mode='tan:diff-a-map' />
<xsl:template match='tan:b' mode='tan:diff-a-map' />
<xsl:template match='tan:common[@_pos = '1']' priority='1' mode='tan:diff-a-map' />
<xsl:template match='tan:common' mode='tan:diff-a-map' />
<xsl:template match='tan:a' mode='tan:diff-a-map' />
Used by function tan:diff-a-map()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-diff-extended.xsl
<xsl:template match='tan:diff' mode='tan:diff-to-delta' />
Used by function tan:diff-to-delta()
.
Relies upon tan:checksum-fletcher-64
.
TAN-fn-file-output.xsl
<xsl:template match='/node()' mode='tan:doc-nodes-on-new-lines' />
No variables, keys, functions, or named templates depend upon this xsl:template.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-standard.xsl
<xsl:template match='*' mode='tan:element-fingerprint' />
<xsl:template match='comment() | processing-instruction()' mode='tan:element-fingerprint' />
<xsl:template match='text()' mode='tan:element-fingerprint' />
Used by function tan:element-fingerprint()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-core-errors.xsl
<xsl:template match='*' mode='tan:element-to-error' />
Used by template ŧ tan:tan-a-lm-expansion-terse
.
Relies upon $tan:errors
.
TAN-fn-strings-standard.xsl
<xsl:template match='text()' mode='tan:ellipses' />
Used by template ŧ tan:class-1-expansion-verbose-pass-3
, ŧ tan:core-expansion-normal
.
Relies upon tan:ellipses
.
TAN-fn-nodes-standard.xsl
<xsl:template match='*' mode='tan:evaluate-conditions' />
<xsl:template match='@*' mode='tan:evaluate-conditions' />
<xsl:template match='@m-matches' mode='tan:evaluate-conditions' />
<xsl:template match='@m-has-how-many-features | @m-has-how-many-codes' mode='tan:evaluate-conditions' />
<xsl:template match='@m-has-features | @m-has-codes' mode='tan:evaluate-conditions' />
<xsl:template match='@tok-matches' mode='tan:evaluate-conditions' />
Used by function tan:all-conditions-hold-evaluation-loop()
.
Relies upon tan:expand-numerical-expression
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:passage' mode='tan:expand-reassigns' />
<xsl:template match='tan:from-tok' mode='tan:expand-reassigns' />
<xsl:template match='tan:through-tok' mode='tan:expand-reassigns' />
Used by template ŧ tan:dependency-adjustments-pass-2
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-resolve-files.xsl
<xsl:template match='/*' mode='tan:expand-standard-tan-voc' />
<xsl:template match='tan:body' mode='tan:expand-standard-tan-voc' />
<xsl:template match='tan:item | tan:verb' mode='tan:expand-standard-tan-voc' />
<xsl:template match='*[@href]' mode='tan:resolve-href tan:expand-standard-tan-voc' />
Used by variable $tan:TAN-vocabularies
.
Relies upon tan:base-uri
, tan:shallow-copy
.
TAN-fn-resolve-files.xsl
<xsl:template match='/tan:TAN-voc' mode='tan:extract-essential-TAN-vocabulary' />
Used by template ŧ tan:resolve-critical-dependencies-loop
.
Relies upon ŧ tan:first-stamp-shallow-skip
.
TAN-fn-resolve-files.xsl
<xsl:template match='/*' mode='tan:first-stamp-shallow-skip tan:first-stamp-shallow-copy tan:resolve-href' />
<xsl:template match='processing-instruction()' mode='tan:resolve-href tan:first-stamp-shallow-copy' />
<xsl:template match='*' mode='tan:first-stamp-shallow-copy' />
<xsl:template match='tan:head/tan:vocabulary[@which]' mode='tan:first-stamp-shallow-copy' />
<xsl:template match='tan:name' mode='tan:first-stamp-shallow-copy' />
<xsl:template match='tan:alias' mode='tan:first-stamp-shallow-copy' />
Used by template ŧ tan:first-stamp-shallow-skip
, ŧ tan:extract-essential-TAN-vocabulary
.
Used by function tan:tokenize-text()
, tan:resolve-doc-loop()
, tan:resolve-href()
, tan:get-1st-doc()
.
Relies upon $tan:TAN-vocabularies
, tan:base-uri
, tan:is-valid-uri
, tan:normalize-name
.
TAN-fn-resolve-files.xsl
<xsl:template match='/' mode='tan:first-stamp-shallow-skip' />
<xsl:template match='*' mode='tan:first-stamp-shallow-skip' />
<xsl:template match='tan:head' mode='tan:first-stamp-shallow-skip' />
<xsl:template match='/*' mode='tan:first-stamp-shallow-skip tan:first-stamp-shallow-copy tan:resolve-href' />
Used by template ŧ tan:extract-essential-TAN-vocabulary
.
Used by function tan:resolve-doc-loop()
.
Relies upon tan:normalize-name
, tan:shallow-copy
, ŧ tan:first-stamp-shallow-copy
.
TAN-fn-nodes-standard.xsl
<xsl:template match='node() | document-node()' mode='tan:fn-shallow-copy' />
Used by function tan:shallow-copy()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-standard.xsl
<xsl:template match='*' mode='tan:fragment-to-text' />
<xsl:template match='@*' mode='tan:fragment-to-text' />
<xsl:template match='comment()' mode='tan:fragment-to-text' />
<xsl:template match='processing-instruction()' mode='tan:fragment-to-text' />
<xsl:template match='text()' mode='tan:fragment-to-text' />
Used by function tan:xml-to-string()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-resolve-files.xsl
<xsl:template match='tan:source | tan:morphology | tan:vocabulary | tan:key | tan:inclusion' mode='tan:get-and-resolve-dependency' />
Used by function tan:get-and-resolve-dependency()
.
Relies upon $tan:empty-doc
, tan:element-vocabulary
, tan:get-1st-doc
, tan:normalize-tree-space
, tan:resolve-doc
, tan:shallow-copy
.
TAN-fn-strings-diff-extended.xsl
<xsl:template match='tan:stats | tan:witness | tan:stats/tan:diff | tan:length | tan:diff-count | tan:diff-length | tan:diff-portion' mode='tan:get-diff-stats' />
<xsl:template match='tan:group/tan:diff' mode='tan:get-diff-stats' />
<xsl:template match='text()' mode='tan:get-diff-stats' />
Used by function tan:get-diff-stats()
, tan:get-collate-stats()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-time.xsl
<xsl:template match='tan:tan-vocabulary | tan:inclusion/tei:* | tan:inclusion/tan:TAN-T | tan:inclusion/tan:TAN-A | tan:inclusion/tan:TAN-A-tok | tan:inclusion/tan:TAN-A-lm | tan:inclusion/tan:TAN-mor | tan:inclusion/tan:TAN-voc' mode='tan:get-doc-history' />
<xsl:template match='*[@when or @ed-when or @accessed-when or @claim-when]' mode='tan:get-doc-history' />
Used by function tan:get-doc-history()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-search-extended.xsl
<xsl:template match='xhtml:a | a[@href]' mode='tan:get-IRI-name' priority='2' />
<xsl:template match='mods:mods' mode='tan:get-IRI-name' priority='2' />
<xsl:template match='ul[@class = 'mw-search-results']/li' mode='tan:get-IRI-name' />
Used by function tan:search-results-to-IRI-name-pattern()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-html-core.xsl
<xsl:template match='*[@class]' mode='tan:html-class' />
Used by function tan:find-class()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-diagnostics.xsl
<xsl:template match='*' mode='tan:imitate-validation' />
Used by variable $tan:orig-self-validated
.
Relies upon $tan:errors-to-squelch
, $tan:self-expanded
, tan:get-via-q-ref
.
TAN-fn-nodes-standard.xsl
<xsl:template match='*' mode='tan:indent-items' />
<xsl:template match='text()' mode='tan:indent-items' />
Used by function tan:copy-indentation()
.
Relies upon tan:fill
.
TAN-fn-strings-diff-extended.xsl
<xsl:template match='*[tan:diff[not(*)]] | *[tan:collation[not(*/tan:txt)]]' priority='1' mode='tan:infuse-diff-and-collate-stats' />
<xsl:template match='*[tan:diff[tan:a][not(tan:b) and not(tan:common)]] | *[tan:diff[tan:b][not(tan:a) and not(tan:common)]]' priority='1' mode='tan:infuse-diff-and-collate-stats' />
<xsl:template match='*[tan:diff]' mode='tan:infuse-diff-and-collate-stats' />
<xsl:template match='tan:diff' mode='tan:infuse-diff-and-collate-stats' />
<xsl:template match='*[tan:collation]' mode='tan:infuse-diff-and-collate-stats' />
Used by function tan:infuse-diff-and-collate-stats()
.
Relies upon tan:distinct-items
, tan:stamp-diff-with-text-data
.
TAN-fn-nodes-extended.xsl
<xsl:template match='@_pos | @_len' mode='tan:infuse-tokenized-text' />
<xsl:template match='*[@_pos][text()]' mode='tan:infuse-tokenized-text' />
<xsl:template match='tan:_text' priority='1' mode='tan:infuse-tokenized-text' />
Used by function tan:infuse-tree()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-extended.xsl
<xsl:template match='*' mode='tan:insert-content' />
Used by function tan:insert-as-last-child()
, tan:insert-as-first-child()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-numerals-extended.xsl
<xsl:template match='tan:n' mode='tan:integers-to-expression' />
Used by function tan:integers-to-expression()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-language-extended.xsl
<xsl:template match='tan:ana' mode='tan:itemize-lms' />
<xsl:template match='tan:l' mode='tan:itemize-lms' />
Used by function tan:merge-anas()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-diff-extended.xsl
<xsl:template match='tan:a' mode='tan:levenshtein-distance' />
<xsl:template match='tan:b' mode='tan:levenshtein-distance' />
Used by function tan:levenshtein-distance()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-extended.xsl
<xsl:template match='*[text()]' mode='tan:make-non-mixed' />
<xsl:template match='text()' mode='tan:make-non-mixed' />
Used by function tan:make-non-mixed()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-maps-extended.xsl
<xsl:template match='.[. instance of map(*)]' mode='tan:map-and-array-to-xml' />
<xsl:template match='.[. instance of array(*)]' mode='tan:map-and-array-to-xml' />
Used by function tan:array-to-xml()
, tan:map-to-xml()
.
Relies upon tan:item-type
.
TAN-fn-maps-extended.xsl
<xsl:template match='.[. instance of map(*)]' mode='tan:map-keys' />
Used by function tan:map-keys()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-arrays-extended.xsl
<xsl:template match='.[. instance of array(*)]' priority='-1' mode='tan:shallow-copy tan:map-put tan:map-remove' />
TAN-fn-maps-extended.xsl
<xsl:template match='.[. instance of map(*)]' priority='-1' mode='tan:shallow-copy tan:map-put tan:array-to-map' />
<xsl:template match='.[. instance of map(*)]' mode='tan:map-put' />
Used by function tan:map-remove()
, tan:map-put()
.
Relies upon tan:item-type
.
TAN-fn-arrays-extended.xsl
<xsl:template match='.[. instance of array(*)]' priority='-1' mode='tan:shallow-copy tan:map-put tan:map-remove' />
TAN-fn-maps-extended.xsl
<xsl:template match='.[. instance of map(*)]' mode='tan:map-remove' />
Used by function tan:map-remove()
, tan:map-put()
.
Relies upon tan:item-type
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:reassign | tan:equate | tan:skip | tan:rename | tan:passage' mode='tan:mark-dependencies-for-validation tan:mark-dependencies-for-validation-skip-divs' />
<xsl:template match='/*' mode='tan:mark-dependencies-for-validation' />
<xsl:template match='tan:TAN-T/tan:body' mode='tan:mark-dependencies-for-validation' />
<xsl:template match='tan:div' mode='tan:mark-dependencies-for-validation' />
Used by template ŧ tan:mark-dependencies-pass-2-for-validation
, ŧ tan:mark-dependencies-pass-1
, ŧ tan:mark-dependencies-for-validation
.
Relies upon tan:shallow-copy
, tan:tokenize-text
, tan:xml-to-string
, ŧ tan:mark-dependencies-for-validation-skip-divs
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:reassign | tan:equate | tan:skip | tan:rename | tan:passage' mode='tan:mark-dependencies-for-validation tan:mark-dependencies-for-validation-skip-divs' />
<xsl:template match='tan:div' mode='tan:mark-dependencies-for-validation-skip-divs' />
Used by template ŧ tan:mark-dependencies-pass-2-for-validation
, ŧ tan:mark-dependencies-pass-1
, ŧ tan:mark-dependencies-for-validation
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='/' priority='1' mode='tan:mark-dependencies-pass-1' />
<xsl:template match='tan:body' mode='tan:mark-dependencies-pass-1' />
<xsl:template match='tan:div' mode='tan:mark-dependencies-pass-1' />
<xsl:template match='tan:div[not(tan:div)]/text()' mode='tan:mark-dependencies-pass-1' />
TAN-fn-expand-terse-class-3.xsl
<xsl:template match='tan:TAN-mor' mode='tan:mark-dependencies-pass-1 tan:mark-dependencies-pass-2' />
Used by function tan:expand-doc()
.
Relies upon $tan:token-definition-default
, tan:shallow-copy
, tan:tokenize-text
, tan:vocabulary
, tan:xml-to-string
, ŧ tan:mark-dependencies-for-validation
, ŧ tan:resolve-reference-tree-numerals
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='document-node()[tan:TAN-T]' mode='tan:mark-dependencies-pass-2' />
<xsl:template match='tan:div[not(tan:hold)]' mode='tan:mark-dependencies-pass-2' />
<xsl:template match='*[tan:hold]' mode='tan:mark-dependencies-pass-2' />
<xsl:template match='tan:hold' mode='tan:mark-dependencies-pass-2' />
<xsl:template match='tan:tok' mode='tan:mark-dependencies-pass-2' />
TAN-fn-expand-terse-class-3.xsl
<xsl:template match='tan:TAN-mor' mode='tan:mark-dependencies-pass-1 tan:mark-dependencies-pass-2' />
Used by function tan:expand-doc()
.
Relies upon tan:chop-string
, ŧ tan:convert-tok-to-push
, ŧ tan:mark-dependencies-pass-2-from-tos
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='/' priority='1' mode='tan:mark-dependencies-pass-2-for-validation' />
<xsl:template match='tan:div/tan:n | tan:div/tan:ref | tan:non-tok | tan:div/tan:tok[not(*)]' mode='tan:mark-dependencies-pass-2-for-validation' />
<xsl:template match='tan:body' mode='tan:mark-dependencies-pass-2-for-validation' />
<xsl:template match='tan:div' mode='tan:mark-dependencies-pass-2-for-validation' />
Used by function tan:expand-doc()
.
Relies upon tan:expand-numerical-expression
, ŧ tan:mark-dependencies-for-validation-skip-divs
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:body | tan:div' mode='tan:mark-dependencies-pass-2-from-tos' />
Used by template ŧ tan:mark-dependencies-pass-2
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:tok | tan:non-tok' mode='tan:mark-reassigns' />
Used by template ŧ tan:dependency-adjustments-pass-2
.
Relies upon tan:copy-of-except
, tan:shallow-copy
.
TAN-fn-nodes-standard.xsl
<xsl:template match='tan:_removed' mode='tan:mark-removed-characters' />
<xsl:template match='*[tan:_removed]' mode='tan:mark-removed-characters' />
Used by template ŧ tan:normalize-tree-space
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:chars' mode='tan:mark-tok-chars' />
No variables, keys, functions, or named templates depend upon this xsl:template.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:pos' mode='tan:mark-tok-pos' />
No variables, keys, functions, or named templates depend upon this xsl:template.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-merging.xsl
<xsl:template match='tan:body' mode='tan:merge-divs' />
<xsl:template match='tan:group' mode='tan:merge-divs' />
<xsl:template match='tan:div[not(tan:div)]' mode='tan:merge-divs' />
Used by function tan:merge-divs()
.
Relies upon $tan:separator-hierarchy
, tan:group-divs
, tan:text-join
, ŧ tan:strip-duplicate-children-by-attribute-value
.
TAN-fn-merging.xsl
<xsl:template match='tan:div' mode='tan:merge-tan-doc-leaf-divs' />
<xsl:template match='tan:ref[tan:n]' mode='tan:merge-tan-docs tan:merge-tan-doc-leaf-divs' />
<xsl:template match='tan:_weight | tan:_rel-pos | tan:_n-pos | tan:_n-integer | tan:non-numbered' mode='tan:merge-tan-docs tan:merge-tan-doc-leaf-divs' />
Used by template ŧ tan:merge-tan-docs
.
Relies upon $tan:separator-hierarchy
.
TAN-fn-merging.xsl
<xsl:template match='document-node()' mode='tan:merge-tan-docs' />
<xsl:template match='/tan:TAN-T | /tei:TEI' mode='tan:merge-tan-docs' />
<xsl:template match='/tan:TAN-T/tan:head | tei:TEI/tan:head' mode='tan:merge-tan-docs' />
<xsl:template match='tan:body[tan:div] | tan:div' mode='tan:merge-tan-docs' />
<xsl:template match='tan:ref[tan:n]' mode='tan:merge-tan-docs tan:merge-tan-doc-leaf-divs' />
<xsl:template match='tan:_weight | tan:_rel-pos | tan:_n-pos | tan:_n-integer | tan:non-numbered' mode='tan:merge-tan-docs tan:merge-tan-doc-leaf-divs' />
Used by function tan:merge-expanded-docs()
.
Relies upon $tan:separator-hierarchy
, tan:distinct-items
, ŧ tan:merge-tan-doc-leaf-divs
, ŧ tan:prep-class-1-files-for-merge
.
TAN-fn-nodes-standard.xsl
<xsl:template match='text()' mode='tan:normalize-non-mixed-content-space' />
Used by template ŧ tan:normalize-tree-space
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-standard.xsl
<xsl:template match='tan:head | tan:TAN-voc | tan:TAN-A | tan:TAN-A-tok | tan:TAN-A-lm | tan:TAN-mor' priority='1' mode='tan:normalize-tree-space' />
<xsl:template match='tan:TAN-T[tan:expanded]' mode='tan:normalize-tree-space' />
<xsl:template match='*[@xml:space eq 'preserve']' priority='1' mode='tan:normalize-tree-space tan:selectively-adjust-tei-space' />
<xsl:template match='*:div[not(*:div)] | *[text()[matches(., '\S')]]' mode='tan:normalize-tree-space' />
Used by function tan:normalize-tree-space()
.
Relies upon $tan:special-end-div-chars-regex
, tan:sequence-to-tree
, tan:tree-to-sequence
, ŧ tan:mark-removed-characters
, ŧ tan:normalize-non-mixed-content-space
.
TAN-fn-strings-extended.xsl
<xsl:template match='text()' mode='tan:normalize-unicode' />
<xsl:template match='.[. instance of xs:string]' mode='tan:normalize-unicode' />
Used by function tan:normalize-unicode()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-html-core.xsl
<xsl:template match='html:a' mode='tan:parse-a-hrefs' />
<xsl:template match='.[. instance of xs:string]' mode='tan:parse-a-hrefs' />
<xsl:template match='text()' mode='tan:parse-a-hrefs' />
Used by function tan:convert-to-html()
.
Relies upon tan:parse-a-hrefs
.
TAN-fn-uris-writing-fragids.xsl
<xsl:template match='tan:reference' mode='tan:parse-lf-references' />
Used by function tan:parse-lf-uri()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-extended.xsl
<xsl:template match='*' mode='tan:pluck' />
<xsl:template match='text()' mode='tan:pluck' />
<xsl:template match='comment() | processing-instruction()' mode='tan:pluck' />
Used by function tan:pluck()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-resolve-files.xsl
<xsl:template match='*[@include]' mode='tan:prefix-attr-include' />
Used by template ŧ tan:apply-inclusions-and-adjust-vocabulary
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-merging.xsl
<xsl:template match='tan:div[not(tan:div)][not(text())][not(tan:tok)][not(tei:*)]' mode='tan:prep-class-1-files-for-merge' />
<xsl:template match='tan:div' mode='tan:prep-class-1-files-for-merge' />
<xsl:template match='tan:ref' mode='tan:prep-class-1-files-for-merge' />
Used by template ŧ tan:merge-tan-docs
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-html-core.xsl
<xsl:template match='*[@href]' priority='1' mode='tan:prepare-to-convert-to-html-pass-1' />
<xsl:template match='*' mode='tan:prepare-to-convert-to-html-pass-1' />
Used by function tan:prepare-to-convert-to-html()
.
Relies upon $tan:excluded-class-characters-regex
.
TAN-fn-html-core.xsl
<xsl:template match='@*' mode='tan:prepare-to-convert-to-html-pass-2' />
<xsl:template match='*' mode='tan:prepare-to-convert-to-html-pass-2' />
Used by function tan:prepare-to-convert-to-html()
.
Relies upon $attributes-to-preserve
.
TAN-fn-html-core.xsl
<xsl:template match='*' mode='tan:prepare-to-convert-to-html-pass-3' />
Used by function tan:prepare-to-convert-to-html()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-files.xsl
<xsl:template match='tan:error | tan:help | tan:warning | tan:fix | tan:fatal | tan:info' priority='-1' mode='tan:prepend-error-message' />
<xsl:template match='tan:warning[not(tan:message)] | tan:error[not(tan:message)] | tan:fatal[not(tan:message)] | tan:help[not(tan:message)]' mode='tan:prepend-error-message' />
<xsl:template match='tan:message/text()' mode='tan:prepend-error-message' />
Used by template ŧ tan:core-expansion-verbose
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-extended.xsl
<xsl:template match='* | processing-instruction() | comment()' mode='tan:prepend-line-break' />
No variables, keys, functions, or named templates depend upon this xsl:template.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:group' mode='tan:process-appended-div' />
<xsl:template match='tan:div' mode='tan:process-appended-div' />
Used by template ŧ tan:reset-hierarchy
.
Relies upon $tan:separator-hierarchy
, ŧ tan:strip-divs-to-reset
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:div' mode='tan:process-merged-div' />
Used by template ŧ tan:reset-hierarchy
.
Relies upon ŧ tan:strip-divs-to-reset
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='*:div' mode='tan:rebuild-div-chain' />
Used by template ŧ tan:rebuild-divs-with-ref-aliases
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='*:div[@ref-alias]' mode='tan:rebuild-divs-with-ref-aliases' />
Used by template ŧ tan:core-expansion-terse
tan:dependency-adjustments-pass-1.
Relies upon ŧ tan:rebuild-div-chain
.
TAN-fn-nodes-standard.xsl
<xsl:template match='*[@_recheck]' mode='tan:recheck-chopped-tree' />
Used by function tan:chop-tree()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-uris-extended.xsl
<xsl:template match='processing-instruction()' mode='tan:relativize-hrefs' />
<xsl:template match='@href | html:script/@src' mode='tan:relativize-hrefs' />
Used by function tan:relativize-hrefs()
.
Relies upon tan:uri-is-resolved
, tan:uri-relative-to
.
TAN-fn-nodes-extended.xsl
<xsl:template match='*' mode='tan:remove-duplicate-siblings' />
Used by function tan:remove-duplicate-siblings()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:div[not(tan:div)]' mode='tan:remove-first-token' />
Used by function tan:expand-doc()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-files.xsl
<xsl:template match='tan:inclusion' mode='tan:remove-inclusions' />
Used by template ŧ tan:core-expansion-terse-attributes
.
Used by function tan:attribute-vocabulary()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-collate-extended.xsl
<xsl:template match='tan:collation' mode='tan:replace-collation' />
Used by function tan:replace-collation()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-diff-extended.xsl
<xsl:template match='tan:common' mode='tan:replace-diff' />
<xsl:template match='tan:a' mode='tan:replace-diff' />
<xsl:template match='tan:b' mode='tan:replace-diff' />
Used by function tan:replace-diff()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-extended.xsl
<xsl:template match='*[@_pos]' mode='tan:replace-expanded-class-1' />
<xsl:template match='tan:div[not(tan:div)]' priority='1' mode='tan:replace-expanded-class-1' />
Used by function tan:replace-expanded-class-1-body()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='/' mode='tan:reset-hierarchy' />
<xsl:template match='tan:head' mode='tan:reset-hierarchy' />
<xsl:template match='tan:div[tan:ref/@reset]' mode='tan:reset-hierarchy tan:clean-reset-divs-2' />
<xsl:template match='tan:body | tan:div' mode='tan:reset-hierarchy' />
Used by function tan:expand-doc()
, tan:reset-hierarchy-loop()
, tan:reset-hierarchy()
.
Relies upon ŧ tan:process-appended-div
, ŧ tan:process-merged-div
.
TAN-fn-resolve-files.xsl
<xsl:template match='tan:inclusion[tan:location] | tan:vocabulary[tan:location]' mode='tan:resolve-critical-dependencies-loop' />
<xsl:template match='tan:inclusion/tan:IRI | tan:vocabulary/tan:IRI' mode='tan:resolve-critical-dependencies-loop' />
<xsl:template match='tan:inclusion/tan:location[@href] | tan:vocabulary/tan:location[@href]' mode='tan:resolve-critical-dependencies-loop' />
<xsl:template match='tan:vocabulary-key' mode='tan:resolve-critical-dependencies-loop' />
Used by function tan:resolve-doc-loop()
.
Relies upon $tan:TAN-version
, $tan:TAN-vocabularies
, tan:base-uri
, tan:get-1st-doc
, tan:is-valid-uri
, tan:shallow-copy
, ŧ tan:extract-essential-TAN-vocabulary
.
TAN-fn-resolve-files.xsl
<xsl:template match='/*' mode='tan:first-stamp-shallow-skip tan:first-stamp-shallow-copy tan:resolve-href' />
<xsl:template match='processing-instruction()' mode='tan:resolve-href tan:first-stamp-shallow-copy' />
<xsl:template match='*[@href]' mode='tan:resolve-href tan:expand-standard-tan-voc' />
Used by template ŧ tan:first-stamp-shallow-skip
, ŧ tan:extract-essential-TAN-vocabulary
.
Used by function tan:tokenize-text()
, tan:resolve-doc-loop()
, tan:resolve-href()
, tan:get-1st-doc()
.
Relies upon tan:base-uri
, tan:shallow-copy
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tei:div[not(tei:div)]/tei:*' priority='1' mode='tan:resolve-numerals tan:core-expansion-terse-attributes' />
TAN-fn-resolve-files.xsl
<xsl:template match='/*' priority='1' mode='tan:resolve-numerals' />
<xsl:template match='*[@include] | tan:inclusion' priority='1' mode='tan:resolve-numerals' />
<xsl:template match='*:div[@n]' mode='tan:resolve-numerals' />
<xsl:template match='tan:ref | tan:n' mode='tan:resolve-numerals' priority='1' />
Used by template ŧ tan:dependency-adjustments-pass-1
.
Used by function tan:expand-doc()
, tan:resolve-doc-loop()
.
Relies upon tan:string-to-numerals
.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='comment()' mode='tan:resolve-reference-tree-numerals' />
<xsl:template match='tan:n | tan:ref' mode='tan:resolve-reference-tree-numerals' />
Used by template ŧ tan:dependency-adjustments-pass-2
, ŧ tan:core-expansion-terse
tan:dependency-adjustments-pass-1, ŧ tan:mark-dependencies-pass-1
.
Used by function tan:expand-doc()
.
Relies upon $tan:separator-hierarchy
.
TAN-fn-uris-extended.xsl
<xsl:template match='processing-instruction()' priority='1' mode='tan:revise-hrefs' />
<xsl:template match='@href' mode='tan:revise-hrefs' />
<xsl:template match='html:script/@src' mode='tan:revise-hrefs' />
Used by function tan:revise-hrefs()
, tan:absolutize-hrefs()
.
Relies upon tan:uri-relative-to
.
TAN-fn-file-output.xsl
<xsl:template match='/' mode='tan:save-file' />
<xsl:template match='/node()' priority='1' mode='tan:save-file' />
<xsl:template match='/*[@save-as | @_target-uri | @_target-format]' priority='2' mode='tan:save-file' />
Used by template Ŧ tan:save-as
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-diff-extended.xsl
<xsl:template match='tan:common' mode='tan:score-diff-output' />
<xsl:template match='tan:a | tan:b' mode='tan:score-diff-output' />
Used by function tan:get-diff-output-slices()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-standard.xsl
<xsl:template match='*[@xml:space eq 'preserve']' priority='1' mode='tan:normalize-tree-space tan:selectively-adjust-tei-space' />
<xsl:template match='text()[matches(., '\S')]' mode='tan:selectively-adjust-tei-space' />
<xsl:template match='tei:div[not(tei:div)]/node()[last()]/node()[last()]/self::tei:*' mode='tan:selectively-adjust-tei-space' priority='1' />
<xsl:template match='*[tei:app/tei:lem[matches(., '^\s|\s$')]]/node()' mode='tan:selectively-adjust-tei-space' />
<xsl:template match='tei:app/tei:lem | tei:app/tei:rdg' mode='tan:selectively-adjust-tei-space' />
Used by function tan:normalize-tree-space()
.
Relies upon ŧ tan:trim-initial-and-terminal-space
.
TAN-fn-nodes-standard.xsl
<xsl:template match='*[*[@_level]]' mode='tan:sequence-to-tree' />
Used by function tan:sequence-to-tree()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-arrays-extended.xsl
<xsl:template match='.[. instance of array(*)]' priority='-1' mode='tan:shallow-copy tan:map-put tan:map-remove' />
TAN-fn-maps-extended.xsl
<xsl:template match='.[. instance of map(*)]' priority='-1' mode='tan:shallow-copy tan:map-put tan:array-to-map' />
Used by function tan:map-remove()
, tan:map-put()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-arrays-extended.xsl
<xsl:template match='.[. instance of array(*)]' priority='-1' mode='tan:shallow-skip tan:text-only-copy' />
TAN-fn-maps-extended.xsl
<xsl:template match='.[. instance of map(*)]' priority='-1' mode='tan:shallow-skip tan:text-only-copy' />
No variables, keys, functions, or named templates depend upon this xsl:template.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-diff-extended.xsl
<xsl:template match='tan:add' mode='tan:shallow-skip-diff-add' />
Used by function tan:replace-diff()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-diff-standard.xsl
<xsl:template match='tan:common' mode='tan:snap-to-word-pass-1' />
Used by function tan:snap-diff-to-word()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-extended.xsl
<xsl:template match='tan:head[tan:change]' mode='tan:sort-change-log' />
Used by function tan:sort-change-log()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-diff-standard.xsl
<xsl:template match='tan:common | tan:a | tan:b' mode='tan:split-diff-components-1' />
Used by function tan:chop-diff-output()
.
Relies upon tan:chop-string
.
TAN-fn-strings-diff-standard.xsl
<xsl:template match='tan:first | tan:last' mode='tan:split-diff-components-2' />
<xsl:template match='tan:a | tan:b' mode='tan:split-diff-components-2' />
No variables, keys, functions, or named templates depend upon this xsl:template.
Relies upon tan:chop-string
, tan:string-length
.
TAN-fn-strings-diff-standard.xsl
<xsl:template match='tan:diff' mode='tan:stamp-diff-with-text-data' />
Used by function tan:stamp-diff-with-text-data()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-standard.xsl
<xsl:template match='*' mode='tan:stamp-q-id' />
Used by function tan:stamp-q-id()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-numerals-standard.xsl
<xsl:template match='tan:tok' mode='tan:string-to-numerals' />
Used by function tan:analyze-numbers-in-string()
.
Relies upon $tan:n-type
, $tan:n-type-regex
, $tan:separator-hierarchy-minor
, tan:aaa-to-int
, tan:letter-to-number
, tan:rom-to-int
.
TAN-fn-nodes-standard.xsl
<xsl:template match='@*' mode='tan:strip-attributes' />
Used by template ŧ tan:class-1-expansion-verbose-pass-3
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:head | text()' mode='tan:strip-dependencies-to-markers' />
<xsl:template match='/*' mode='tan:strip-dependencies-to-markers' />
<xsl:template match='*' mode='tan:strip-dependencies-to-markers' />
<xsl:template match='tan:skip | tan:rename | tan:equate | tan:reassign | tan:passage | tan:ref | tan:pos | tan:chars | tan:tok[@val]' mode='tan:strip-dependencies-to-markers' />
Used by function tan:expand-doc()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-files.xsl
<xsl:template match='*[@attr]/tan:item' mode='tan:strip-distributed-vocabulary-from-idrefs' />
Used by function tan:expand-doc()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:rename | tan:reassign | tan:passage' mode='tan:strip-divs-to-reset' />
<xsl:template match='tan:ref[@reset]' mode='tan:strip-divs-to-reset' />
<xsl:template match='tan:div[tan:ref[@reset]]' mode='tan:strip-divs-to-reset' />
Used by template ŧ tan:process-merged-div
, ŧ tan:process-appended-div
.
Used by function tan:reset-hierarchy-loop()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-standard.xsl
<xsl:template match='*' mode='tan:strip-duplicate-children-by-attribute-value' />
Used by template ŧ tan:merge-divs
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-files.xsl
<xsl:template match='/' mode='tan:strip-for-validation' />
<xsl:template match='*[tan:error | tan:help | tan:warning | tan:fix | tan:fatal | tan:info]' priority='-2' mode='tan:strip-for-validation' />
<xsl:template match='tan:error | tan:help | tan:warning | tan:fix | tan:fatal | tan:info' priority='-1' mode='tan:strip-for-validation' />
<xsl:template match='/*' priority='-1' mode='tan:strip-for-validation' />
Used by function tan:expand-doc()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-standard.xsl
<xsl:template match='text()[not(matches(., '\S'))]' mode='tan:strip-outer-indentation' />
<xsl:template match='*[text()]' mode='tan:strip-outer-indentation' />
Used by function tan:strip-outer-indentation()
, tan:normalize-tree-space()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-extended.xsl
<xsl:template match='text()' mode='tan:strip-text' />
No variables, keys, functions, or named templates depend upon this xsl:template.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-diff-extended.xsl
<xsl:template match='@_pos-a | @_pos-b | @_len | @_pos' mode='tan:strip-text-data-stamps' />
Used by function tan:get-diff-output-transpositions()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-terse-class-2.xsl
<xsl:template match='tan:TAN-A-lm/tan:body' mode='tan:tan-a-lm-expansion-terse' />
<xsl:template match='tan:m' mode='tan:tan-a-lm-expansion-terse' />
<xsl:template match='tan:f[text()]' mode='tan:tan-a-lm-expansion-terse' />
Used by function tan:expand-doc()
.
Relies upon tan:vocabulary
, ŧ tan:element-to-error
.
TAN-fn-nodes-standard.xsl
<xsl:template match='*[text()]' mode='tan:temp-mark-and-remove-outer-indentations' />
<xsl:template match='text()[not(matches(., '\S'))]' mode='tan:temp-mark-and-remove-outer-indentations' />
Used by function tan:stamp-tree-with-text-data()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-standard.xsl
<xsl:template match='/tan:*/tan:expanded[1]' mode='tan:text-join' />
<xsl:template match='*:div[*:div]' mode='tan:text-join' />
<xsl:template match='*:div[not(*:div)]' mode='tan:text-join' />
Used by function tan:text-join()
.
Relies upon tan:normalize-div-text
, tan:text-join()
.
TAN-fn-arrays-extended.xsl
<xsl:template match='.[. instance of array(*)]' priority='-1' mode='tan:shallow-skip tan:text-only-copy' />
TAN-fn-maps-extended.xsl
<xsl:template match='.[. instance of map(*)]' priority='-1' mode='tan:shallow-skip tan:text-only-copy' />
No variables, keys, functions, or named templates depend upon this xsl:template.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-strings-extended.xsl
<xsl:template match='tan:word[1] | tan:word[last()]' mode='tan:title-case' />
Used by function tan:title-case()
.
Relies upon tan:initial-upper-case
.
TAN-fn-strings-standard.xsl
<xsl:template match='tan:div[not((tan:div, tan:tok))]/text()' mode='tan:tokenize-div' />
Used by function tan:tokenize-div()
.
Relies upon $tan:special-end-div-chars-regex
, tan:normalize-div-text
, tan:tokenize-text
.
TAN-fn-html-core.xsl
<xsl:template match='html:*' priority='1' mode='tan:tree-to-html' />
<xsl:template match='html:*/@*' priority='1' mode='tan:tree-to-html' />
<xsl:template match='*' mode='tan:tree-to-html' />
<xsl:template match='@*' mode='tan:tree-to-html' />
Used by function tan:convert-to-html()
.
Relies upon $attributes-to-preserve
, $tan:global-html-attributes
, $tan:namespaces-and-prefixes
, ŧ tan:tree-to-html-for-attr
.
TAN-fn-html-core.xsl
<xsl:template match='@xml:*' mode='tan:tree-to-html-for-attr' />
Used by template ŧ tan:tree-to-html
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-standard.xsl
<xsl:template match='*[node()]' mode='tan:tree-to-sequence' />
Used by function tan:tree-to-sequence()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-standard.xsl
<xsl:template match='text()' mode='tan:trim-initial-and-terminal-space' />
Used by template ŧ tan:selectively-adjust-tei-space
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-standard.xsl
<xsl:template match='text()' mode='tan:trim-long-text' />
Used by function tan:trim-long-text()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-extended.xsl
<xsl:template match='*' mode='tan:trim-long-tree' />
Used by function tan:trim-long-tree()
.
Relies upon tan:shallow-copy
.
TAN-fn-strings-diff-standard.xsl
<xsl:template match='tan:a | tan:b | tan:common' mode='tan:trim-or-add-text' />
Used by function tan:adjust-diff()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-expand-terse-class-1.xsl
<xsl:template match='tan:tok/* | tan:non-tok/*' mode='tan:unmark-tokens' />
Used by template ŧ tan:dependency-adjustments-pass-2
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-TAN-output.xsl
<xsl:template match='tan:person | tan:organization | tan:algorithm' mode='tan:update-TAN-change-log' />
<xsl:template match='tan:person/tan:name[last()] | tan:organization/tan:name[last()] | tan:algorithm/tan:name[last()]' mode='tan:update-TAN-change-log' />
<xsl:template match='tan:person/tan:IRI[last()] | tan:organization/tan:IRI[last()] | tan:algorithm/tan:IRI[last()]' mode='tan:update-TAN-change-log' />
<xsl:template match='tan:vocabulary-key/*[last()]' mode='tan:update-TAN-change-log' />
<xsl:template match='tan:vocabulary-key[not(*)]' mode='tan:update-TAN-change-log' />
<xsl:template match='tan:resp' mode='tan:update-TAN-change-log' />
<xsl:template match='tan:resp/@who' mode='tan:update-TAN-change-log' />
<xsl:template match='tan:head/tan:change[1] | tan:head[not(tan:change)]/tan:to-do' mode='tan:update-TAN-change-log' />
<xsl:template match='tan:head/tan:resp[last()] | tan:head[not(tan:resp)]/tan:file-resp' priority='1' mode='tan:update-TAN-change-log' />
Used by function tan:update-TAN-change-log()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-vocabulary.xsl
<xsl:template match='text() | comment() | processing-instruction()' mode='tan:vocabulary-all-vals tan:vocabulary-by-id tan:vocabulary-by-name' />
<xsl:template priority='1' match='tan:vocabulary | tan:tan-vocabulary' mode='tan:vocabulary-all-vals tan:vocabulary-by-id tan:vocabulary-by-name' />
<xsl:template priority='1' match='tan:vocabulary/tan:IRI | tan:vocabulary/tan:name | tan:vocabulary/tan:location | tan:tan-vocabulary/tan:IRI | tan:tan-vocabulary/tan:name | tan:tan-vocabulary/tan:location' mode='tan:vocabulary-all-vals tan:vocabulary-by-id tan:vocabulary-by-name' />
<xsl:template match='*[tan:IRI] | tan:token-definition | tan:item[tan:token-definition] | tan:claim' mode='tan:vocabulary-all-vals' />
Used by function tan:vocabulary()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-vocabulary.xsl
<xsl:template match='text() | comment() | processing-instruction()' mode='tan:vocabulary-all-vals tan:vocabulary-by-id tan:vocabulary-by-name' />
<xsl:template priority='1' match='tan:vocabulary | tan:tan-vocabulary' mode='tan:vocabulary-all-vals tan:vocabulary-by-id tan:vocabulary-by-name' />
<xsl:template priority='1' match='tan:vocabulary/tan:IRI | tan:vocabulary/tan:name | tan:vocabulary/tan:location | tan:tan-vocabulary/tan:IRI | tan:tan-vocabulary/tan:name | tan:tan-vocabulary/tan:location' mode='tan:vocabulary-all-vals tan:vocabulary-by-id tan:vocabulary-by-name' />
<xsl:template match='*[tan:id][tan:IRI] | tan:claim[tan:id]' mode='tan:vocabulary-by-id' />
Used by function tan:vocabulary()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-vocabulary.xsl
<xsl:template match='text() | comment() | processing-instruction()' mode='tan:vocabulary-all-vals tan:vocabulary-by-id tan:vocabulary-by-name' />
<xsl:template priority='1' match='tan:vocabulary | tan:tan-vocabulary' mode='tan:vocabulary-all-vals tan:vocabulary-by-id tan:vocabulary-by-name' />
<xsl:template priority='1' match='tan:vocabulary/tan:IRI | tan:vocabulary/tan:name | tan:vocabulary/tan:location | tan:tan-vocabulary/tan:IRI | tan:tan-vocabulary/tan:name | tan:tan-vocabulary/tan:location' mode='tan:vocabulary-all-vals tan:vocabulary-by-id tan:vocabulary-by-name' />
<xsl:template match='*[tan:IRI][tan:name] | tan:token-definition | tan:item[tan:token-definition]' mode='tan:vocabulary-by-name' />
Used by function tan:vocabulary()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-nodes-extended.xsl
<xsl:template match='text()' mode='tan:wrap-text-nodes' />
Used by function tan:wrap-text-nodes()
.
Does not rely upon global variables, keys, functions, or templates.
TAN-fn-maps-extended.xsl
<xsl:template match='map:map' mode='tan:xml-to-map-and-array' />
<xsl:template match='map:entry' mode='tan:xml-to-map-and-array' />
<xsl:template match='array:array' mode='tan:xml-to-map-and-array' />
Used by template ŧ tan:build-maps-and-arrays
.
Used by function tan:xml-to-array()
, tan:xml-to-map()
.
Relies upon ŧ tan:build-maps-and-arrays
.