TAN-extra global variables, keys, and functions summarized

Definition: '\{[^\}]+?\}'

Used by function tan:evaluate()

Does not rely upon global variables, keys, functions, or templates.

Option 1 (TAN-extra-functions)

tan:evaluate($string-with-xpath-to-evaluate as xs:string, $context-1 as item()*) as item()*

2-param version of the fuller one below

Used by function tan:group-elements() tan:evaluate()

Relies upon tan:evaluate .

Option 2 (TAN-extra-functions)

tan:evaluate($string-with-xpath-to-evaluate as xs:string, $context-1 as item()*, $context-2 as item()*) as item()*

Input: a string to be evaluated in light of XPath expressions; a context node

Output: the result of the string evaluated as an XPath statement against the context node

Used by function tan:group-elements() tan:evaluate()

Relies upon $xpath-pattern .

tan:reset-hierarchy($expanded-class-1-docs as document-node()*, $flag-misplaced-leaf-divs as xs:boolean?) as document-node()*

Input: any expanded class-1 documents whose <div>s may be in the wrong place, because <rename> or <reassign> have altered the <ref> values; a boolean indicating whether misplaced leaf divs should be flagged

Output: the same documents, with <div>s restored to their proper place in the hierarchy

No variables, keys, functions, or named templates depend upon this xsl:function.

Relies upon ŧ reset-hierarchy .

tan:resolve-keyword($items as item()*, $extra-keys as document-node()*) as item()*

Input: any items; any extra keys

Output: the same items, but with elements with @which expanded into their full form, using the predefined TAN vocabulary and the extra keys supplied

No variables, keys, functions, or named templates depend upon this xsl:function.

Relies upon ŧ resolve-keyword .