<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns="tag:textalign.net,2015:ns" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tan="tag:textalign.net,2015:ns"
   xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:tei="http://www.tei-c.org/ns/1.0"
   xmlns:math="http://www.w3.org/2005/xpath-functions/math" xmlns:functx="http://www.functx.com"
   xmlns:sch="http://purl.oclc.org/dsdl/schematron" exclude-result-prefixes="#all" version="2.0">
   <!-- This is a special set of parameters with low import precedence, to optimize time spent in Schematron validation -->
   <xsl:param name="validation-is-terse" as="xs:boolean" select="false()"/>
   <xsl:param name="validation-is-normal" as="xs:boolean" select="false()"/>
   <xsl:param name="validation-is-verbose" as="xs:boolean" select="false()"/>
   <xsl:param name="validation-phase" as="xs:string">
      <xsl:choose>
         <xsl:when test="$validation-is-verbose">
            <xsl:value-of select="'verbose'"/>
         </xsl:when>
         <xsl:when test="$validation-is-normal">
            <xsl:value-of select="'normal'"/>
         </xsl:when>
         <xsl:when test="$validation-is-terse">
            <xsl:value-of select="'terse'"/>
         </xsl:when>
         <xsl:otherwise>
            <xsl:value-of select="$validation-phase-names[3]"/>
         </xsl:otherwise>
      </xsl:choose>
   </xsl:param>
</xsl:stylesheet>
