metanorma/metanorma-ieee

View on GitHub
lib/isodoc/ieee/ieee.standard.xsl

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:ieee="https://www.metanorma.org/ns/ieee" xmlns:mathml="http://www.w3.org/1998/Math/MathML" xmlns:xalan="http://xml.apache.org/xalan" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" xmlns:pdf="http://xmlgraphics.apache.org/fop/extensions/pdf" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:java="http://xml.apache.org/xalan/java" xmlns:barcode="http://barcode4j.krysalis.org/ns" exclude-result-prefixes="java" version="1.0">

    <xsl:output method="xml" encoding="UTF-8" indent="no"/>

    <!-- mandatory 'key' -->
    <xsl:key name="kfn" match="*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure' or local-name() = 'localized-strings')] and not(ancestor::*[local-name() = 'name']))]" use="@reference"/>

    <!-- mandatory variable -->

    <!-- mandatory variable -->
    <xsl:variable name="debug">false</xsl:variable>

    <!-- mandatory variable -->
    <xsl:variable name="contents_">
        <xsl:variable name="bundle" select="count(//ieee:ieee-standard) &gt; 1"/>
        <xsl:for-each select="//ieee:ieee-standard">
            <xsl:variable name="num"><xsl:number level="any" count="ieee:ieee-standard"/></xsl:variable>
            <xsl:variable name="docnumber"><xsl:value-of select="ieee:bibdata/ieee:docidentifier[@type = 'IEEE']"/></xsl:variable>
            <!-- <xsl:variable name="current_document">
                <xsl:copy-of select="."/>
            </xsl:variable> -->
            <xsl:for-each select="."> <!-- xalan:nodeset($current_document) -->
                <doc num="{$num}" firstpage_id="firstpage_id_{$num}" title-part="{$docnumber}" bundle="{$bundle}"> <!-- 'bundle' means several different documents (not language versions) in one xml -->
                    <contents>
                        <xsl:call-template name="processPrefaceSectionsDefault_Contents"/>
                        <xsl:call-template name="processMainSectionsDefault_Contents"/>
                        <xsl:apply-templates select="//ieee:indexsect" mode="contents"/>

                        <xsl:call-template name="processTablesFigures_Contents"/>
                    </contents>
                </doc>
            </xsl:for-each>
        </xsl:for-each>
    </xsl:variable>
    <xsl:variable name="contents" select="xalan:nodeset($contents_)"/>

    <!-- mandatory variable -->
    <xsl:variable name="ids">
        <xsl:for-each select="//*[@id]">
            <id name="{local-name()}"><xsl:value-of select="@id"/></id>
        </xsl:for-each>
    </xsl:variable>

    <xsl:variable name="doctype" select="(//ieee:ieee-standard)[1]/ieee:bibdata/ieee:ext/ieee:doctype[normalize-space(@language) = '']"/> <!-- values standard, guide, recommended-practice -->

    <xsl:variable name="doctype_localized" select="(//ieee:ieee-standard)[1]/ieee:bibdata/ieee:ext/ieee:doctype[@language = $lang]"/>

    <xsl:variable name="subdoctype" select="(//ieee:ieee-standard)[1]/ieee:bibdata/ieee:ext/ieee:subdoctype[normalize-space(@language) = '']"/> <!-- has values amendment, corrigendum, erratum -->

    <xsl:variable name="stage_" select="normalize-space((//ieee:ieee-standard)[1]/ieee:bibdata/ieee:status/ieee:stage)"/>

    <xsl:variable name="stage">
        <xsl:choose>
            <xsl:when test="translate($stage_,'0123456789','') != ''">
                <xsl:choose>
                    <xsl:when test="$stage_ = 'Developing' or $stage_ = 'developing' or $stage_ = 'draft'">draft</xsl:when>
                    <xsl:when test="$stage_ = 'Active' or $stage_ = 'active' or $stage_ = 'Inactive' or $stage_ = 'inactive'">published</xsl:when>
                    <xsl:otherwise>
                        <xsl:value-of select="$stage_"/>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:when> <!-- 'draft' or 'published' -->
            <xsl:otherwise> <!-- stage in digits form -->
                <xsl:choose>
                    <xsl:when test="number($stage_) &lt; 60">draft</xsl:when>
                    <xsl:otherwise>published</xsl:otherwise>
                </xsl:choose>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:variable>

    <xsl:variable name="trial_use" select="(//ieee:ieee-standard)[1]/ieee:bibdata/ieee:ext/ieee:trial-use[normalize-space(@language) = '']"/>

    <xsl:variable name="current_template">
        <xsl:choose>
            <xsl:when test="($doctype = 'standard' or $doctype = 'guide' or $doctype = 'recommended-practice') and $stage = 'draft'">draft</xsl:when>
            <xsl:when test="($doctype = 'standard' or $doctype = 'guide' or $doctype = 'recommended-practice') and ($stage = 'published' or $stage = 'approved')">standard</xsl:when>
            <xsl:when test="$doctype = 'whitepaper' and $subdoctype = 'icap'">icap-whitepaper</xsl:when>
            <xsl:when test="$doctype = 'whitepaper' and $subdoctype = 'industry-connection-report'">industry-connection-report</xsl:when>
            <xsl:otherwise><xsl:value-of select="$doctype"/></xsl:otherwise>
        </xsl:choose>
    </xsl:variable>

    <xsl:variable name="title_prefix">
        <xsl:choose>
            <xsl:when test="$current_template = 'draft'">
                <xsl:text>Draft </xsl:text>
            </xsl:when>
            <xsl:when test="$current_template = 'standard'">
                <xsl:text>IEEE </xsl:text>
            </xsl:when>
        </xsl:choose>
        <xsl:if test="$trial_use = 'true'">Trial-Use </xsl:if>
        <xsl:value-of select="$doctype_localized"/>
        <xsl:if test="normalize-space($doctype_localized) = ''">
            <xsl:choose>
                <xsl:when test="$doctype = 'standard'">Standard</xsl:when>
                <xsl:when test="$doctype = 'guide'">Guide</xsl:when>
                <xsl:when test="$doctype = 'recommended-practice'">Recommended Practice</xsl:when>
            </xsl:choose>
        </xsl:if>
        <xsl:text> for </xsl:text>
        <!-- <xsl:copy-of select="$title"/> -->
    </xsl:variable>

    <xsl:variable name="color_blue">
        <xsl:choose>
            <xsl:when test="$current_template = 'standard'">rgb(57,82,164)</xsl:when>
            <xsl:otherwise>rgb(0,176,240)</xsl:otherwise>
        </xsl:choose>
    </xsl:variable>

    <xsl:variable name="line-height">1.8</xsl:variable>

    <xsl:template match="/">
        <fo:root xml:lang="{$lang}">
            <xsl:variable name="root-style">
                <root-style xsl:use-attribute-sets="root-style">
                    <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                        <xsl:attribute name="font-family">Calibri, STIX Two Math, <xsl:value-of select="$font_noto_serif"/></xsl:attribute>
                        <xsl:attribute name="font-size">11pt</xsl:attribute>
                    </xsl:if>
                </root-style>
            </xsl:variable>
            <xsl:call-template name="insertRootStyle">
                <xsl:with-param name="root-style" select="$root-style"/>
            </xsl:call-template>

            <xsl:if test="$stage = 'draft'"> <!-- //ieee:ieee-standard/ieee:bibdata[ieee:ext/ieee:doctype = 'international-standard' and ieee:version/ieee:draft] -->
                <xsl:processing-instruction name="add_line_numbers">true</xsl:processing-instruction>
            </xsl:if>

            <fo:layout-master-set>

                <!-- IEEE template for:
                    - draft documents
                    - non standard documents (whitepaper, ICAP whitepaper, industry connection report)
                    - standard documents
                -->

                <!-- ======================== -->
                <!-- IEEE pages -->
                <!-- ======================== -->
                <!-- IEEE cover page -->

                <!-- IEEE standard cover page -->
                <fo:simple-page-master master-name="cover-and-back-page-standard" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
                    <fo:region-body margin-top="62mm" margin-bottom="25mm" margin-left="21.2mm" margin-right="25mm"/>
                    <fo:region-before region-name="header" extent="62mm" precedence="true"/>
                    <fo:region-after region-name="footer" extent="25mm"/>
                    <fo:region-start region-name="left-region" extent="21.2mm"/>
                    <fo:region-end region-name="right-region" extent="25mm"/>
                </fo:simple-page-master>

                <!-- IEEE industry connection report cover page -->
                <fo:simple-page-master master-name="cover-and-back-page-industry-connection-report" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
                    <fo:region-body margin-top="116mm" margin-bottom="15mm" margin-left="62mm" margin-right="35mm"/>
                    <fo:region-before region-name="header" extent="116mm"/>
                    <fo:region-after region-name="footer" extent="15mm"/>
                    <fo:region-start region-name="left-region" extent="62mm" precedence="true"/>
                    <fo:region-end region-name="right-region" extent="35mm"/>
                </fo:simple-page-master>

                <!-- ================== -->
                <!-- IEEE whitepaper, ICAP whitepaper, connection-report -->
                <!-- ================== -->
                <fo:simple-page-master master-name="cover-page-nonstandard" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
                    <fo:region-body margin-top="115mm" margin-bottom="15mm" margin-left="64mm" margin-right="35mm"/>
                    <fo:region-before region-name="header" extent="115mm"/>
                    <fo:region-after region-name="footer" extent="15mm"/>
                    <fo:region-start region-name="left-region" extent="64mm" precedence="true"/>
                    <fo:region-end region-name="right-region" extent="35mm"/>
                </fo:simple-page-master>

                <fo:simple-page-master master-name="document-nonstandard" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
                    <fo:region-body margin-top="25.4mm" margin-bottom="25.4mm" margin-left="19mm" margin-right="19mm"/>
                    <fo:region-before region-name="header" extent="25.4mm"/>
                    <fo:region-after region-name="footer" extent="25.4mm"/>
                    <fo:region-start region-name="left-region" extent="19mm"/>
                    <fo:region-end region-name="right-region" extent="19mm"/>
                </fo:simple-page-master>

                <!-- landscape -->
                <fo:simple-page-master master-name="document-nonstandard-landscape" page-width="{$pageHeight}mm" page-height="{$pageWidth}mm">
                    <fo:region-body margin-top="19mm" margin-bottom="19mm" margin-left="25.4mm" margin-right="25.4mm"/>
                    <fo:region-before region-name="header" extent="19mm" precedence="true"/>
                    <fo:region-after region-name="footer" extent="19mm" precedence="true"/>
                    <fo:region-start region-name="left-region-landscape" extent="25.4mm"/>
                    <fo:region-end region-name="right-region-landscape" extent="25.4mm"/>
                </fo:simple-page-master>

                <fo:simple-page-master master-name="back-page-nonstandard" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
                    <fo:region-body margin-top="73mm" margin-bottom="15mm" margin-left="63.5mm" margin-right="35mm"/>
                    <fo:region-before region-name="header" extent="73mm"/>
                    <fo:region-after region-name="footer" extent="15mm"/>
                    <fo:region-start region-name="left-region" extent="63.5mm" precedence="true"/>
                    <fo:region-end region-name="right-region" extent="35mm"/>
                </fo:simple-page-master>
                <!-- ================== -->
                <!-- End: IEEE whitepaper -->
                <!-- ================== -->

                <!-- ToC for non-standards (whitepaper, icap-whitepaper, industry-connection-report) -->
                <fo:simple-page-master master-name="page-toc-first" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
                    <fo:region-body margin-top="{$marginTop}mm" margin-bottom="{$marginBottom}mm" margin-left="19mm" margin-right="19mm"/>
                    <fo:region-before region-name="header" extent="{$marginTop}mm" precedence="true"/>
                    <fo:region-after region-name="footer_empty" extent="{$marginBottom}mm"/> <!-- empty footer for 1st ToC page -->
                    <fo:region-start region-name="left-region" extent="19mm"/>
                    <fo:region-end region-name="right-region" extent="19mm"/>
                </fo:simple-page-master>
                <fo:simple-page-master master-name="page-toc-any" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
                    <fo:region-body margin-top="{$marginTop}mm" margin-bottom="{$marginBottom}mm" margin-left="19mm" margin-right="19mm"/>
                    <fo:region-before region-name="header" extent="{$marginTop}mm" precedence="true"/>
                    <fo:region-after region-name="footer" extent="{$marginBottom}mm"/>
                    <fo:region-start region-name="left-region" extent="19mm"/>
                    <fo:region-end region-name="right-region" extent="19mm"/>
                </fo:simple-page-master>
                <fo:page-sequence-master master-name="page-toc">
                    <fo:repeatable-page-master-alternatives>
                        <fo:conditional-page-master-reference page-position="first" master-reference="page-toc-first"/>
                        <fo:conditional-page-master-reference page-position="any" master-reference="page-toc-any"/>
                    </fo:repeatable-page-master-alternatives>
                </fo:page-sequence-master>

                <!-- =================== -->
                <!-- Drafts pages -->
                <!-- =================== -->
                <fo:simple-page-master master-name="document-draft" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
                    <fo:region-body margin-top="{$marginTop}mm" margin-bottom="{$marginBottom}mm" margin-left="{$marginLeftRight1}mm" margin-right="{$marginLeftRight2}mm"/>
                    <fo:region-before region-name="header" extent="{$marginTop}mm"/>
                    <fo:region-after region-name="footer" extent="{$marginBottom}mm"/>
                    <fo:region-start region-name="left-region" extent="{$marginLeftRight1}mm"/>
                    <fo:region-end region-name="right-region" extent="{$marginLeftRight2}mm"/>
                </fo:simple-page-master>

                <!-- landscape -->
                <fo:simple-page-master master-name="document-draft-landscape" page-width="{$pageHeight}mm" page-height="{$pageWidth}mm">
                    <fo:region-body margin-top="{$marginLeftRight1}mm" margin-bottom="{$marginLeftRight2}mm" margin-left="{$marginBottom}mm" margin-right="{$marginTop}mm"/>
                    <fo:region-before region-name="header" extent="{$marginLeftRight1}mm" precedence="true"/>
                    <fo:region-after region-name="footer" extent="{$marginLeftRight2}mm" precedence="true"/>
                    <fo:region-start region-name="left-region-landscape" extent="{$marginBottom}mm"/>
                    <fo:region-end region-name="right-region-landscape" extent="{$marginTop}mm"/>
                </fo:simple-page-master>
                <!-- =================== -->
                <!-- =================== -->

                <!-- ======================= -->
                <!-- Standard document pages -->
                <!-- ======================= -->
                <fo:simple-page-master master-name="document-standard-first" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
                    <fo:region-body margin-top="{$marginTop}mm" margin-bottom="{$marginBottom}mm" margin-left="{$marginLeftRight1}mm" margin-right="{$marginLeftRight2}mm"/>
                    <fo:region-before region-name="header_empty" extent="{$marginTop}mm"/>
                    <fo:region-after region-name="footer" extent="{$marginBottom}mm"/>
                    <fo:region-start region-name="left-region" extent="{$marginLeftRight1}mm"/>
                    <fo:region-end region-name="right-region" extent="{$marginLeftRight2}mm"/>
                </fo:simple-page-master>
                <fo:page-sequence-master master-name="document-standard">
                    <fo:repeatable-page-master-alternatives>
                        <fo:conditional-page-master-reference page-position="first" master-reference="document-standard-first"/>
                        <fo:conditional-page-master-reference page-position="any" master-reference="document-draft"/>
                    </fo:repeatable-page-master-alternatives>
                </fo:page-sequence-master>

                <!-- landscape -->
                <fo:simple-page-master master-name="document-standard-landscape" page-width="{$pageHeight}mm" page-height="{$pageWidth}mm">
                    <fo:region-body margin-top="{$marginLeftRight1}mm" margin-bottom="{$marginLeftRight2}mm" margin-left="{$marginBottom}mm" margin-right="{$marginTop}mm"/>
                    <fo:region-before region-name="header" extent="{$marginLeftRight1}mm" precedence="true"/>
                    <fo:region-after region-name="footer" extent="{$marginLeftRight2}mm" precedence="true"/>
                    <fo:region-start region-name="left-region-landscape" extent="{$marginBottom}mm"/>
                    <fo:region-end region-name="right-region-landscape" extent="{$marginTop}mm"/>
                </fo:simple-page-master>
                <!-- ======================= -->
                <!-- ======================= -->

                <!-- Index pages -->
                <fo:simple-page-master master-name="page-index" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
                    <fo:region-body margin-top="{$marginTop}mm" margin-bottom="{$marginBottom}mm" margin-left="{$marginLeftRight1}mm" margin-right="{$marginLeftRight2}mm" column-count="2" column-gap="10mm"/>
                    <fo:region-before region-name="header" extent="{$marginTop}mm"/>
                    <fo:region-after region-name="footer" extent="{$marginBottom}mm"/>
                    <fo:region-start region-name="left-region" extent="{$marginLeftRight1}mm"/>
                    <fo:region-end region-name="right-region" extent="{$marginLeftRight2}mm"/>
                </fo:simple-page-master>

                <!-- ======================== -->
                <!-- END IEEE pages -->
                <!-- ======================== -->

            </fo:layout-master-set>

            <fo:declarations>
                <xsl:call-template name="addPDFUAmeta"/>
            </fo:declarations>

            <xsl:call-template name="addBookmarks">
                <xsl:with-param name="contents" select="$contents"/>
            </xsl:call-template>

            <xsl:variable name="updated_xml_step1">
                <xsl:apply-templates mode="update_xml_step1"/>
            </xsl:variable>
            <!-- DEBUG: updated_xml_step1=<xsl:copy-of select="$updated_xml_step1"/> -->

            <xsl:variable name="updated_xml_step2">
                <xsl:apply-templates select="xalan:nodeset($updated_xml_step1)" mode="update_xml_step2"/>
            </xsl:variable>
            <!-- DEBUG: updated_xml_step2=<xsl:copy-of select="$updated_xml_step2"/> -->

            <xsl:for-each select="xalan:nodeset($updated_xml_step2)//ieee:ieee-standard">
                <xsl:variable name="num"><xsl:number level="any" count="ieee:ieee-standard"/></xsl:variable>

                <xsl:for-each select=".">

                    <xsl:variable name="copyright_year" select="/ieee:ieee-standard/ieee:bibdata/ieee:copyright/ieee:from"/>

                    <xsl:variable name="approved_date_year" select="substring(normalize-space(/ieee:ieee-standard/ieee:bibdata/ieee:date[@type = 'issued']),1,4)"/>

                    <!-- IEEE Std 802.1X™-2020 -->
                    <xsl:variable name="standard_number">IEEE Std <xsl:value-of select="/ieee:ieee-standard/ieee:bibdata/ieee:docidentifier[@type = 'IEEE']"/>-<xsl:value-of select="$approved_date_year"/></xsl:variable>
                    <!-- <xsl:value-of select="substring(/ieee:ieee-standard/ieee:bibdata/ieee:date[@type = 'published'],1,4)"/> -->

                    <xsl:variable name="designation" select="/ieee:ieee-standard/ieee:bibdata/ieee:docnumber"/>
                    <xsl:variable name="draft_number" select="/ieee:ieee-standard/ieee:bibdata/ieee:version/ieee:draft"/>
                    <xsl:variable name="revision_month" select="/ieee:ieee-standard/ieee:bibdata/ieee:version/ieee:revision-date"/>
                    <xsl:variable name="draft_month">
                        <xsl:call-template name="getMonthLocalizedByNum">
                            <xsl:with-param name="num" select="substring($revision_month, 6, 2)"/>
                        </xsl:call-template>
                    </xsl:variable>
                    <xsl:variable name="draft_year" select="substring($revision_month, 1, 4)"/>

                    <xsl:variable name="title_intro">
                        <!-- Example Local and Metropolitan Area Networks— -->
                        <xsl:apply-templates select="/ieee:ieee-standard/ieee:bibdata/ieee:title[@language = 'en']/node()"/>
                        <!-- <xsl:apply-templates select="/ieee:ieee-standard/ieee:bibdata/ieee:title[@language = 'intro' or @language = 'intro-en']/node()"/>
                        <xsl:if test="not(/ieee:ieee-standard/ieee:bibdata/ieee:title[@language = 'intro' or @language = 'intro-en'])">
                        </xsl:if>
                        <xsl:if test="/ieee:ieee-standard/ieee:bibdata/ieee:title[@language = 'intro' or @language = 'intro-en' or @language = 'en'] and /ieee:ieee-standard/ieee:bibdata/ieee:title[@language = 'main' or @language = 'main-en']">—</xsl:if> -->
                    </xsl:variable>

                    <xsl:variable name="title_main">
                        <!-- Example: Port-Based Network Access Control -->
                        <!-- <xsl:apply-templates select="/ieee:ieee-standard/ieee:bibdata/ieee:title[@language = 'main' or @language = 'main-en']/node()"/> -->
                    </xsl:variable>

                    <xsl:variable name="title">
                        <xsl:choose>
                            <xsl:when test="$current_template = 'standard'">
                                <xsl:copy-of select="$title_intro"/>
                                <xsl:copy-of select="$title_main"/>
                            </xsl:when>
                            <xsl:otherwise>
                                <xsl:apply-templates select="/ieee:ieee-standard/ieee:bibdata/ieee:title[1]/node()"/>

                                <!-- Example: Amendment # -->
                                <xsl:if test="contains('amendment corrigendum erratum', $subdoctype) and $subdoctype != ''">
                                    <xsl:value-of select="$linebreak"/>
                                    <xsl:call-template name="capitalize">
                                        <xsl:with-param name="str" select="$subdoctype"/>
                                    </xsl:call-template>
                                    <fo:inline> #</fo:inline>
                                </xsl:if>

                            </xsl:otherwise>
                        </xsl:choose>
                    </xsl:variable>

                    <xsl:variable name="copyright_abbreviation" select="normalize-space(/ieee:ieee-standard/ieee:bibdata/ieee:copyright/ieee:owner/ieee:organization/ieee:abbreviation)"/>
                    <xsl:variable name="copyright_holder">
                        <xsl:value-of select="$copyright_abbreviation"/>
                        <xsl:if test="$copyright_abbreviation = ''">
                            <xsl:for-each select="/ieee:ieee-standard/ieee:bibdata/ieee:contributor[ieee:role/@type = 'publisher']/ieee:organization/ieee:abbreviation">
                                <xsl:value-of select="."/>
                                <xsl:if test="position() != last()">, </xsl:if>
                            </xsl:for-each>
                        </xsl:if>
                    </xsl:variable>

                    <xsl:variable name="document_id">
                        <xsl:choose>
                            <xsl:when test="$current_template = 'draft'">
                                <xsl:if test="contains('amendment corrigendum erratum', $subdoctype) and $subdoctype != ''">
                                    <xsl:text>IEEE </xsl:text>
                                </xsl:if>
                                <xsl:text>P</xsl:text>
                                <xsl:value-of select="$designation"/>
                                <xsl:text>/D</xsl:text>
                                <xsl:value-of select="$draft_number"/>
                                <xsl:text>, </xsl:text>
                                <xsl:value-of select="$draft_month"/>
                                <xsl:text> </xsl:text>
                                <xsl:value-of select="$draft_year"/>
                            </xsl:when>
                            <xsl:when test="$current_template = 'standard'">
                                <xsl:value-of select="$standard_number"/>
                            </xsl:when>
                        </xsl:choose>
                    </xsl:variable>

                    <xsl:variable name="society" select="/ieee:ieee-standard/ieee:bibdata/ieee:ext/ieee:editorialgroup/ieee:society"/>

                    <xsl:variable name="committee" select="/ieee:ieee-standard/ieee:bibdata/ieee:ext/ieee:editorialgroup/ieee:committee"/>

                    <xsl:variable name="approved_by">IEEE SA Standards Board</xsl:variable>
                    <xsl:variable name="approved_date">
                        <xsl:call-template name="convertDate">
                            <xsl:with-param name="date" select="normalize-space(/ieee:ieee-standard/ieee:bibdata/ieee:date[@type = 'issued'])"/>
                            <xsl:with-param name="format" select="'ddMMyyyy'"/>
                        </xsl:call-template>
                    </xsl:variable>

                    <xsl:variable name="cutoff_date">
                        <xsl:call-template name="convertDate">
                            <xsl:with-param name="date" select="normalize-space(/ieee:ieee-standard/ieee:bibdata/ieee:date[@type = 'feedback-ended'])"/>
                            <xsl:with-param name="format" select="'ddMMyyyy'"/>
                        </xsl:call-template>
                    </xsl:variable>

                    <xsl:variable name="expiration_date">
                        <xsl:call-template name="convertDate">
                            <xsl:with-param name="date" select="normalize-space(/ieee:ieee-standard/ieee:bibdata/ieee:date[@type = 'obsoleted'])"/>
                            <xsl:with-param name="format" select="'ddMMyyyy'"/>
                        </xsl:call-template>
                    </xsl:variable>

                    <!-- Example: Revision of IEEE Std 802.1X™-2010
                        Incorporating IEEE Std 802.1Xbx™-2014
                        and IEEE Std 802.1Xck™-2018 -->
                    <xsl:variable name="history_">
                        <xsl:for-each select="/ieee:ieee-standard/ieee:bibdata/ieee:relation[@type = 'updates']">
                            <revision_of><xsl:value-of select="ieee:bibitem/ieee:docidentifier"/></revision_of>
                        </xsl:for-each>
                        <xsl:for-each select="/ieee:ieee-standard/ieee:bibdata/ieee:relation[@type = 'merges']">
                            <incorporating><xsl:value-of select="ieee:bibitem/ieee:docidentifier"/></incorporating>
                        </xsl:for-each>
                    </xsl:variable>
                    <xsl:variable name="history" select="xalan:nodeset($history_)"/>

                    <xsl:variable name="history_text">
                        <xsl:if test="string-length($history) != 0">(</xsl:if>
                        <xsl:for-each select="$history/*[normalize-space() != '']">

                            <xsl:if test="local-name() = 'revision_of' and not(preceding-sibling::*[local-name() = 'revision_of'])">Revision of </xsl:if>

                            <xsl:if test="local-name() = 'incorporating' and not(preceding-sibling::*[local-name() = 'incorporating'])">Incorporating </xsl:if>

                            <xsl:variable name="curr" select="local-name()"/>
                            <xsl:if test="preceding-sibling::*[local-name() = $curr] and not(following-sibling::*[local-name() = $curr])">and </xsl:if>

                            <xsl:value-of select="."/>

                            <xsl:if test="position() != last()"><xsl:value-of select="$linebreak"/></xsl:if>
                        </xsl:for-each>

                        <xsl:if test="string-length($history) != 0">)</xsl:if>
                    </xsl:variable>

                    <!-- <fo:page-sequence master-reference="document-draft" force-page-count="no-force">
                        <fo:flow flow-name="xsl-region-body">
                            <fo:block-container>
                                <fo:block>DEBUG:</fo:block>
                                <fo:block>current_template=<xsl:value-of select="$current_template"/></fo:block>
                                <fo:block>doctype=<xsl:value-of select="$doctype"/></fo:block>
                            </fo:block-container>
                        </fo:flow>
                    </fo:page-sequence> -->

                    <!-- ======================= -->
                    <!-- Cover page -->
                    <!-- ======================= -->
                    <xsl:choose>

                        <xsl:when test="$current_template = 'draft'">
                            <!-- 'Draft' first page -->
                            <fo:page-sequence master-reference="document-draft" force-page-count="no-force">

                                <xsl:call-template name="insertFootnoteSeparator"/>

                                <xsl:call-template name="insertHeaderFooter">
                                    <xsl:with-param name="document_id" select="$document_id"/>
                                    <xsl:with-param name="title_prefix" select="$title_prefix"/>
                                    <xsl:with-param name="title" select="$title"/>
                                    <xsl:with-param name="doctype" select="$doctype"/>

                                    <xsl:with-param name="copyright_year" select="$copyright_year"/>
                                    <xsl:with-param name="copyright_holder" select="$copyright_holder"/>
                                    <xsl:with-param name="hideFooter">true</xsl:with-param>
                                </xsl:call-template>

                                <fo:flow flow-name="xsl-region-body">
                                    <fo:block-container margin-top="18mm" id="firstpage_id_{$num}">
                                        <fo:block font-family="Arial">
                                            <fo:block font-size="23pt" font-weight="bold" margin-top="50pt" margin-bottom="36pt">
                                                <xsl:if test="contains('amendment corrigendum erratum', $subdoctype) and $subdoctype != ''">
                                                    <xsl:attribute name="font-size">24pt</xsl:attribute>
                                                </xsl:if>
                                                <xsl:text>P</xsl:text>
                                                <xsl:value-of select="$designation"/>
                                                <xsl:text>™/D</xsl:text>
                                                <xsl:value-of select="$draft_number"/>
                                                <xsl:value-of select="$linebreak"/>
                                                <xsl:copy-of select="$title_prefix"/>
                                                <xsl:copy-of select="$title"/>

                                                <!-- <xsl:copy-of select="$draft_title_part"/> -->
                                            </fo:block>
                                            <fo:block>Developed by the</fo:block>
                                            <fo:block> </fo:block>
                                            <fo:block font-size="11pt" font-weight="bold">
                                                <!-- <Committee Name> -->
                                                <xsl:value-of select="$committee"/>
                                            </fo:block>
                                            <fo:block>of the</fo:block>
                                            <fo:block font-size="11pt" font-weight="bold">
                                                 <!-- IEEE <Society Name> -->
                                                <xsl:text>IEEE </xsl:text><xsl:value-of select="$society"/>
                                            </fo:block>
                                            <fo:block> </fo:block>
                                            <fo:block> </fo:block>
                                            <fo:block>
                                                <!-- Approved <Date Approved> -->
                                                <xsl:text>Approved </xsl:text>
                                                <xsl:value-of select="$approved_date"/>
                                            </fo:block>
                                            <fo:block> </fo:block>
                                            <!-- Example: IEEE SA Standards Board -->
                                            <fo:block font-size="11pt" font-weight="bold"><xsl:value-of select="$approved_by"/></fo:block>

                                            <xsl:if test="normalize-space($cutoff_date) != ''">
                                                <fo:block> </fo:block>
                                                <fo:block>
                                                    <xsl:text>Cutoff date </xsl:text>
                                                    <xsl:value-of select="$cutoff_date"/>
                                                </fo:block>
                                            </xsl:if>
                                            <xsl:if test="normalize-space($cutoff_date) != ''">
                                                <fo:block> </fo:block>
                                                <fo:block>
                                                    <xsl:text>Expiration date </xsl:text>
                                                    <xsl:value-of select="$expiration_date"/>
                                                </fo:block>
                                            </xsl:if>
                                        </fo:block>

                                        <xsl:apply-templates select="/ieee:ieee-standard/ieee:boilerplate/ieee:copyright-statement"/>

                                        <xsl:apply-templates select="/ieee:ieee-standard/ieee:boilerplate/ieee:license-statement"/>

                                        <fo:block break-after="page"/>

                                        <!-- Second page -->

                                        <fo:block font-family="Arial" text-align="justify">
                                            <fo:block>
                                                <fo:inline font-weight="bold">
                                                    <xsl:call-template name="getLocalizedString">
                                                        <xsl:with-param name="key">abstract</xsl:with-param>
                                                    </xsl:call-template>
                                                    <xsl:text>: </xsl:text>
                                                </fo:inline>
                                                <xsl:apply-templates select="/ieee:ieee-standard/ieee:preface/ieee:abstract/node()[not(self::ieee:title)] | /ieee:ieee-standard/ieee:preface/ieee:clause[@id = '_abstract' or ieee:title = 'Abstract']/node()[not(self::ieee:title)]"/>
                                            </fo:block>
                                            <fo:block> </fo:block>
                                            <fo:block>
                                                <fo:inline font-weight="bold">Keywords: </fo:inline>
                                                <xsl:for-each select="/ieee:ieee-standard/ieee:bibdata/ieee:keyword">
                                                    <xsl:value-of select="."/>
                                                    <xsl:if test="position() != last()">, </xsl:if>
                                                </xsl:for-each>
                                            </fo:block>
                                            <xsl:apply-templates select="/ieee:ieee-standard/ieee:preface/ieee:acknowledgements"/>
                                        </fo:block>

                                        <!-- Example:
                                        The Institute of Electrical and Electronics Engineers, Inc.
                                        3 Park Avenue, New York, NY 10016-5997, USA
                                        ...
                                        PDF: ISBN 978-0-XXXX-XXXX-X STDXXXXX
                                        Print: ISBN 978-0-XXXX-XXXX-X STDPDXXXXX
                                        -->
                                        <xsl:apply-templates select="/ieee:ieee-standard/ieee:boilerplate/ieee:feedback-statement"/>

                                    </fo:block-container>
                                </fo:flow>
                            </fo:page-sequence> <!-- End: 'Draft' first page -->
                        </xsl:when>

                        <xsl:when test="$current_template = 'standard'">
                            <xsl:call-template name="insertCoverPage_Standard">
                                <xsl:with-param name="title_intro" select="$title_intro"/>
                                <xsl:with-param name="title_main" select="$title_main"/>
                                <xsl:with-param name="society" select="$society"/>
                                <xsl:with-param name="committee" select="$committee"/>
                                <xsl:with-param name="standard_number" select="$standard_number"/>
                                <xsl:with-param name="history" select="$history_text"/>
                                <xsl:with-param name="standard_title_prefix" select="$title_prefix"/>
                                <xsl:with-param name="cutoff_date" select="$cutoff_date"/>
                                <xsl:with-param name="expiration_date" select="$expiration_date"/>
                            </xsl:call-template>
                        </xsl:when>

                        <xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                            <xsl:call-template name="insertCoverPage_NonStandard">
                                <xsl:with-param name="title" select="$title"/>
                            </xsl:call-template>
                        </xsl:when>

                    </xsl:choose>
                    <!-- ======================= -->
                    <!-- END Cover page -->
                    <!-- ======================= -->

                    <xsl:variable name="title_standard_coverpage_">
                        <xsl:choose>
                            <!-- title starts with lower-cased letter -->
                            <xsl:when test="translate(substring($title_intro,1,1),$lower,'') = ''">
                                <fo:block font-size="18pt">
                                    <xsl:value-of select="$title_prefix"/>
                                    <xsl:copy-of select="$title_intro"/>
                                </fo:block>
                            </xsl:when>
                            <xsl:otherwise>
                                <!-- Example: IEEE Standard for -->
                                <fo:block font-size="18pt">
                                <xsl:value-of select="$title_prefix"/>
                            </fo:block>
                                <fo:block font-size="18pt" margin-left="6mm">
                                    <!-- Example Local and Metropolitan Area Networks— -->
                                    <xsl:copy-of select="$title_intro"/>
                                </fo:block>
                            </xsl:otherwise>
                        </xsl:choose>
                        <fo:block font-size="24pt" space-before="12pt">
                            <!-- Example: Port-Based Network Access Control -->
                            <xsl:copy-of select="$title_main"/>
                        </fo:block>
                    </xsl:variable>
                    <xsl:variable name="title_standard_coverpage" select="xalan:nodeset($title_standard_coverpage_)"/>

                    <!-- =================== -->
                    <!-- Second page(s) -->
                    <!-- =================== -->
                    <xsl:choose>

                        <xsl:when test="$current_template = 'draft'">
                            <!-- Legal statement -->
                            <fo:page-sequence master-reference="document-draft" force-page-count="no-force" format="1">
                                <xsl:call-template name="insertFootnoteSeparator"/>

                                <xsl:call-template name="insertHeaderFooter">
                                    <xsl:with-param name="document_id" select="$document_id"/>
                                    <xsl:with-param name="title_prefix" select="$title_prefix"/>
                                    <xsl:with-param name="title" select="$title"/>
                                    <xsl:with-param name="doctype" select="$doctype"/>
                                    <xsl:with-param name="copyright_year" select="$copyright_year"/>
                                    <xsl:with-param name="copyright_holder" select="$copyright_holder"/>
                                    <xsl:with-param name="hideFooter"><xsl:if test="not(contains('amendment corrigendum erratum', $subdoctype) and $subdoctype != '')">false</xsl:if></xsl:with-param>
                                </xsl:call-template>

                                <fo:flow flow-name="xsl-region-body">
                                    <fo:block>
                                        <!-- Example:
                                        Important Notices and Disclaimers Concerning IEEE Standards Documents
                                        IEEE Standards documents are made available for use subject to important notices and legal disclaimers. These notices and disclaimers, or a reference to this page (https://standards.ieee.org/ipr/disclaimers.html), appear in all standards and may be found under the heading “Important Notices and Disclaimers Concerning IEEE Standards Documents.”
                                        ...
                                        -->
                                        <xsl:apply-templates select="/ieee:ieee-standard/ieee:boilerplate/ieee:legal-statement"/>
                                    </fo:block>
                                </fo:flow>

                            </fo:page-sequence> <!-- End: Legal statement -->

                        </xsl:when> <!-- $current_template = 'draft' -->

                        <xsl:when test="$current_template = 'standard'">
                            <!-- Second, third page -->
                            <fo:page-sequence master-reference="document-draft" force-page-count="no-force" font-family="Arial" initial-page-number="1">

                                <xsl:call-template name="insertFootnoteSeparator"/>

                                <xsl:call-template name="insertHeaderFooter">
                                    <xsl:with-param name="doctype" select="$doctype"/>
                                    <xsl:with-param name="copyright_year" select="$copyright_year"/>
                                    <xsl:with-param name="copyright_holder" select="$copyright_holder"/>
                                    <xsl:with-param name="hideHeader">true</xsl:with-param>
                                </xsl:call-template>

                                <fo:flow flow-name="xsl-region-body">
                                    <fo:block text-align="right" margin-top="2mm">
                                        <fo:block font-size="12pt" font-weight="bold"><xsl:value-of select="$standard_number"/></fo:block>
                                        <fo:block font-size="9pt"><xsl:value-of select="$history_text"/></fo:block>
                                    </fo:block>

                                    <fo:block font-weight="bold" space-before="13mm">
                                        <xsl:copy-of select="$title_standard_coverpage"/>
                                    </fo:block>

                                    <fo:block font-size="10pt" space-before="9mm" space-after="4pt">Developed by the</fo:block>
                                    <fo:block font-size="11pt" font-weight="bold">
                                        <!-- Example: LAN/MAN Standards Committee -->
                                        <xsl:value-of select="$committee"/>
                                        <xsl:value-of select="$linebreak"/>
                                        <xsl:text>of the</xsl:text>
                                        <xsl:value-of select="$linebreak"/>
                                        <!-- Example: IEEE Computer Society -->
                                        <xsl:text>IEEE </xsl:text><xsl:value-of select="$society"/>
                                        <xsl:value-of select="$linebreak"/>
                                    </fo:block>

                                    <fo:block font-size="10pt" space-before="8mm" space-after="4pt">Approved <xsl:value-of select="$approved_date"/></fo:block>
                                    <!-- Example: IEEE SA Standards Board -->
                                    <fo:block font-size="11pt" font-weight="bold"><xsl:value-of select="$approved_by"/></fo:block>

                                    <fo:block break-after="page"/>

                                    <fo:block font-family="Arial" text-align="justify">
                                        <fo:block>
                                            <fo:inline font-weight="bold">
                                                <xsl:call-template name="getLocalizedString">
                                                    <xsl:with-param name="key">abstract</xsl:with-param>
                                                </xsl:call-template>
                                                <xsl:text>: </xsl:text>
                                            </fo:inline>
                                            <xsl:apply-templates select="/ieee:ieee-standard/ieee:preface/ieee:abstract/node()[not(self::ieee:title)] | /ieee:ieee-standard/ieee:preface/ieee:clause[@id = '_abstract' or ieee:title = 'Abstract']/node()[not(self::ieee:title)]"/>
                                        </fo:block>
                                        <fo:block> </fo:block>
                                        <fo:block>
                                            <fo:inline font-weight="bold">Keywords: </fo:inline>
                                            <xsl:for-each select="/ieee:ieee-standard/ieee:bibdata/ieee:keyword">
                                                <xsl:value-of select="."/>
                                                <xsl:if test="position() != last()">, </xsl:if>
                                            </xsl:for-each>
                                        </fo:block>
                                        <xsl:apply-templates select="/ieee:ieee-standard/ieee:preface/ieee:acknowledgements"/>
                                    </fo:block>

                                    <!-- Example:
                                    The Institute of Electrical and Electronics Engineers, Inc.
                                    3 Park Avenue, New York, NY 10016-5997, USA
                                    ...
                                    PDF: ISBN 978-0-XXXX-XXXX-X STDXXXXX
                                    Print: ISBN 978-0-XXXX-XXXX-X STDPDXXXXX
                                    -->
                                    <xsl:apply-templates select="/ieee:ieee-standard/ieee:boilerplate/ieee:feedback-statement"/>

                                </fo:flow>
                            </fo:page-sequence>

                            <fo:page-sequence master-reference="document-draft" force-page-count="no-force">
                                <xsl:call-template name="insertFootnoteSeparator"/>
                                <xsl:call-template name="insertHeaderFooter">
                                    <xsl:with-param name="document_id" select="$document_id"/>
                                    <xsl:with-param name="title_prefix" select="$title_prefix"/>
                                    <xsl:with-param name="title" select="$title"/>
                                    <xsl:with-param name="doctype" select="$doctype"/>
                                    <xsl:with-param name="copyright_year" select="$copyright_year"/>
                                    <xsl:with-param name="copyright_holder" select="$copyright_holder"/>
                                </xsl:call-template>

                                <fo:flow flow-name="xsl-region-body">
                                    <fo:block>
                                        <!-- Example:
                                        Important Notices and Disclaimers Concerning IEEE Standards Documents
                                        IEEE Standards documents are made available for use subject to important notices and legal disclaimers. These notices and disclaimers, or a reference to this page (https://standards.ieee.org/ipr/disclaimers.html), appear in all standards and may be found under the heading “Important Notices and Disclaimers Concerning IEEE Standards Documents.”
                                        ...
                                        -->
                                        <xsl:apply-templates select="/ieee:ieee-standard/ieee:boilerplate/ieee:legal-statement"/>
                                    </fo:block>
                                </fo:flow>
                            </fo:page-sequence>
                        </xsl:when> <!-- $current_template = 'standard' -->

                        <xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                            <fo:page-sequence master-reference="document-nonstandard" force-page-count="no-force" font-family="Calibri Light">

                                <xsl:call-template name="insertHeaderFooter">
                                    <xsl:with-param name="doctype" select="$doctype"/>
                                    <xsl:with-param name="copyright_year" select="$copyright_year"/>
                                    <xsl:with-param name="copyright_holder" select="$copyright_holder"/>
                                    <xsl:with-param name="hideHeader">true</xsl:with-param>
                                </xsl:call-template>

                                <fo:flow flow-name="xsl-region-body">
                                    <fo:block-container>

                                        <fo:block>
                                            <!-- TRADEMARKS AND DISCLAIMERS -->
                                            <!-- ACKNOWLEDGEMENTS -->
                                            <xsl:apply-templates select="/ieee:ieee-standard/ieee:boilerplate/ieee:legal-statement/*[@id = 'boilerplate-tm' or ieee:title = 'Trademarks and Disclaimers' or @id = 'boilerplate-participants' or ieee:title = 'Acknowledgements']" mode="whitepaper"/>
                                        </fo:block>

                                        <!-- Example:
                                        The Institute of Electrical and Electronics Engineers, Inc. 3 Park Avenue, New York, NY 10016-5997, USA
                                        ...
                                        PDF: STDXXXXX ISBN 978-0-XXXX-XXXX-X 
                                        -->
                                        <fo:block font-style="italic">
                                            <xsl:apply-templates select="/ieee:ieee-standard/ieee:boilerplate/ieee:feedback-statement"/>
                                        </fo:block>

                                        <!-- NOTICE AND DISCLAIMER OF LIABILITY CONCERNING THE USE OF IEEE SA DOCUMENTS -->
                                        <fo:block break-after="page"/>
                                        <xsl:apply-templates select="/ieee:ieee-standard/ieee:boilerplate/ieee:legal-statement/*[not(@id = 'boilerplate-tm') and not(ieee:title = 'Trademarks and Disclaimers') and not(@id = 'boilerplate-participants') and not(ieee:title = 'Acknowledgements')]"/>

                                    </fo:block-container>
                                </fo:flow>

                            </fo:page-sequence>

                        </xsl:when> <!-- $current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report' -->

                    </xsl:choose>
                    <!-- =================== -->
                    <!-- End Second page(s) -->
                    <!-- =================== -->

                    <!-- ================================ -->
                    <!-- PREFACE pages (Introduction, Contents -->
                    <!-- ================================ -->

                    <xsl:variable name="structured_xml_preface">
                        <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name() = 'introduction']" mode="flatxml"/>
                    </xsl:variable>

                    <!-- structured_xml_preface=<xsl:copy-of select="$structured_xml_preface"/> -->

                    <xsl:variable name="paged_xml_preface">
                        <xsl:call-template name="makePagedXML">
                            <xsl:with-param name="structured_xml" select="$structured_xml_preface"/>
                        </xsl:call-template>
                    </xsl:variable>

                    <xsl:if test="$debug = 'true'">
                        <xsl:text disable-output-escaping="yes">&lt;!--</xsl:text>
                            DEBUG
                            contents=<xsl:copy-of select="$contents"/>
                        <xsl:text disable-output-escaping="yes">--&gt;</xsl:text>
                    </xsl:if>

                    <xsl:choose>

                        <xsl:when test="$current_template = 'standard' or $current_template = 'draft'">
                            <fo:page-sequence master-reference="document-draft" id="prefaceSequence"> <!-- format="i" initial-page-number="1" -->

                                <xsl:call-template name="insertFootnoteSeparator"/>

                                <xsl:call-template name="insertHeaderFooter">
                                    <xsl:with-param name="document_id" select="$document_id"/>
                                    <xsl:with-param name="title_prefix" select="$title_prefix"/>
                                    <xsl:with-param name="title" select="$title"/>
                                    <xsl:with-param name="doctype" select="$doctype"/>
                                    <xsl:with-param name="copyright_year" select="$copyright_year"/>
                                    <xsl:with-param name="copyright_holder" select="$copyright_holder"/>
                                </xsl:call-template>

                                <fo:flow flow-name="xsl-region-body">

                                    <fo:block>
                                        <xsl:for-each select="xalan:nodeset($paged_xml_preface)/*[local-name()='page']">
                                            <xsl:apply-templates select="*" mode="page"/>
                                            <fo:block break-after="page"/>
                                        </xsl:for-each>
                                    </fo:block>

                                    <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name() = 'clause'][@type = 'toc']">
                                        <xsl:with-param name="num" select="$num"/>
                                    </xsl:apply-templates>

                                </fo:flow>
                            </fo:page-sequence>
                        </xsl:when> <!-- 'standard' or 'draft' -->

                        <xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                            <!-- TRADEMARKS AND DISCLAIMERS -->
                            <!-- ACKNOWLEDGEMENTS -->
                            <!-- NOTICE AND DISCLAIMER OF LIABILITY CONCERNING THE USE OF IEEE SA INDUSTRY CONNECTIONS DOCUMENTS -->

                            <!-- ToC -->
                            <fo:page-sequence master-reference="page-toc" force-page-count="no-force">

                                <xsl:call-template name="insertHeaderFooter">
                                    <xsl:with-param name="doctype" select="$doctype"/>
                                    <xsl:with-param name="copyright_year" select="$copyright_year"/>
                                    <xsl:with-param name="copyright_holder" select="$copyright_holder"/>
                                    <xsl:with-param name="hideHeader">true</xsl:with-param>
                                </xsl:call-template>

                                <fo:static-content flow-name="header" role="artifact">
                                    <fo:block-container position="absolute" left="0mm" top="0mm" width="54mm" height="{$pageHeight}mm" background-color="rgb(35,31,32)">
                                        <fo:block> </fo:block>
                                    </fo:block-container>

                                    <fo:block-container position="absolute" left="0.5mm" top="252mm">
                                        <fo:block font-size="1">
                                            <fo:instream-foreign-object content-width="38mm" content-height="2.5mm" scaling="non-uniform" fox:alt-text="Image Box">
                                                <xsl:call-template name="insertImageBoxSVG">
                                                    <xsl:with-param name="color"><xsl:value-of select="$color_blue"/></xsl:with-param>
                                                </xsl:call-template>
                                            </fo:instream-foreign-object>
                                        </fo:block>
                                    </fo:block-container>

                                </fo:static-content>
                                <fo:static-content flow-name="left-region" role="artifact">
                                    <fo:block-container font-family="Arial Black" font-weight="normal" reference-orientation="90" font-size="48pt" text-align="left" color="white" id="__internal_layout__toc_{generate-id()}">
                                        <fo:block margin-left="31.4mm" margin-top="20mm">TABLE OF CONTENTS</fo:block>
                                    </fo:block-container>
                                </fo:static-content>
                                <fo:flow flow-name="xsl-region-body">

                                    <fo:block-container margin-left="47mm" margin-top="10mm"> <!-- margin-top="27mm" -->

                                        <fo:block-container margin-left="0mm">

                                            <xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name() = 'clause'][@type = 'toc']">
                                                <xsl:with-param name="num" select="$num"/>
                                            </xsl:apply-templates>

                                        </fo:block-container>
                                    </fo:block-container>
                                </fo:flow>
                            </fo:page-sequence> <!-- page-toc -->

                        </xsl:when> <!-- $current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report' -->
                    </xsl:choose>

                    <!-- ================================ -->
                    <!-- END: PREFACE pages (Table of Contents, Foreword -->
                    <!-- ================================ -->

                    <!-- item - page sequence -->
                    <xsl:variable name="structured_xml_">

                        <xsl:choose>

                            <xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">

                                <item>
                                    <xsl:apply-templates select="/ieee:ieee-standard/ieee:preface/ieee:introduction" mode="flatxml"/>
                                </item>

                                <item>
                                    <xsl:apply-templates select="/ieee:ieee-standard/ieee:preface/ieee:acknowledgements" mode="flatxml"/>
                                </item>

                                <item>
                                    <xsl:apply-templates select="/ieee:ieee-standard/ieee:preface/ieee:abstract" mode="flatxml"/>
                                </item>

                                <xsl:for-each select="/*/*[local-name()='sections']/*"> <!-- each section starts with a new page -->
                                    <item>
                                        <xsl:apply-templates select="." mode="flatxml"/>
                                    </item>
                                </xsl:for-each>
                            </xsl:when> <!-- $current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report' -->

                            <xsl:when test="$current_template = 'standard'">
                                <xsl:for-each select="/*/*[local-name()='sections']/*"> <!-- each section starts with a new page -->
                                    <item>
                                        <xsl:apply-templates select="." mode="flatxml"/>
                                    </item>
                                </xsl:for-each>
                            </xsl:when> <!-- $current_template = 'standard' -->

                            <xsl:otherwise>
                                <item>
                                    <xsl:apply-templates select="/*/*[local-name()='sections']/*" mode="flatxml"/>
                                </item>
                            </xsl:otherwise>
                        </xsl:choose>

                        <!-- Annexes -->
                        <xsl:for-each select="/*/*[local-name()='annex']">
                            <item>
                                <xsl:apply-templates select="." mode="flatxml"/>
                            </item>
                        </xsl:for-each>

                        <!-- Bibliography -->
                        <xsl:for-each select="/*/*[local-name()='bibliography']/*">
                            <item><xsl:apply-templates select="." mode="flatxml"/></item>
                        </xsl:for-each>

                        <item>
                            <xsl:copy-of select="//ieee:indexsect"/>
                        </item>

                    </xsl:variable>

                    <!-- page break before each section -->
                    <xsl:variable name="structured_xml">
                        <xsl:for-each select="xalan:nodeset($structured_xml_)/item[*]">
                            <xsl:element name="pagebreak" namespace="https://www.metanorma.org/ns/ieee"/>
                            <xsl:copy-of select="./*"/>
                        </xsl:for-each>
                    </xsl:variable>

                    <!-- structured_xml=<xsl:copy-of select="$structured_xml" />=end structured_xml -->

                    <xsl:variable name="paged_xml">
                        <xsl:call-template name="makePagedXML">
                            <xsl:with-param name="structured_xml" select="$structured_xml"/>
                        </xsl:call-template>
                    </xsl:variable>

                    <!-- paged_xml=<xsl:copy-of select="$paged_xml"/> -->

                    <xsl:for-each select="xalan:nodeset($paged_xml)/*[local-name()='page'][*]">
                        <fo:page-sequence master-reference="document-draft" force-page-count="no-force">

                            <xsl:if test="@orientation = 'landscape'">
                                <xsl:attribute name="master-reference">document-draft-<xsl:value-of select="@orientation"/></xsl:attribute>
                            </xsl:if>

                            <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                                <xsl:attribute name="master-reference">document-nonstandard</xsl:attribute>
                                <xsl:if test="@orientation = 'landscape'">
                                    <xsl:attribute name="master-reference">document-nonstandard<xsl:value-of select="@orientation"/></xsl:attribute>
                                </xsl:if>
                            </xsl:if>

                            <xsl:if test="$current_template = 'standard'">
                                <xsl:attribute name="master-reference">document-standard</xsl:attribute>
                                <xsl:if test="@orientation = 'landscape'">
                                    <xsl:attribute name="master-reference">document-standard<xsl:value-of select="@orientation"/></xsl:attribute>
                                </xsl:if>
                            </xsl:if>

                            <!-- <xsl:if test="position() = 1">
                                <xsl:attribute name="initial-page-number">1</xsl:attribute>
                            </xsl:if> -->
                            <xsl:if test=".//ieee:indexsect">
                                <xsl:attribute name="master-reference">page-index</xsl:attribute>
                            </xsl:if>

                            <xsl:call-template name="insertFootnoteSeparator"/>

                            <xsl:choose>
                                <xsl:when test="$current_template = 'standard' or $current_template = 'draft'">
                                    <xsl:call-template name="insertHeaderFooter">
                                        <xsl:with-param name="document_id" select="$document_id"/>
                                        <xsl:with-param name="title_prefix" select="$title_prefix"/>
                                        <xsl:with-param name="title" select="$title"/>
                                        <xsl:with-param name="doctype" select="$doctype"/>
                                        <xsl:with-param name="copyright_year" select="$copyright_year"/>
                                        <xsl:with-param name="copyright_holder" select="$copyright_holder"/>
                                        <xsl:with-param name="orientation">@orientation</xsl:with-param>
                                    </xsl:call-template>
                                </xsl:when>
                                <xsl:otherwise> <!-- ($current_template = 'international-standard' and $isDraft = 'false') or $current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report' -->
                                    <xsl:call-template name="insertHeaderFooter">
                                        <xsl:with-param name="doctype" select="$doctype"/>
                                        <xsl:with-param name="copyright_year" select="$copyright_year"/>
                                        <xsl:with-param name="copyright_holder" select="$copyright_holder"/>
                                        <xsl:with-param name="hideHeader">true</xsl:with-param>
                                    </xsl:call-template>
                                </xsl:otherwise>
                            </xsl:choose>

                            <fo:flow flow-name="xsl-region-body">
                                <!-- debugpage=<xsl:copy-of select="."/> -->

                                <!-- <xsl:if test="position() = 1">
                                    
                                    <xsl:choose>
                                        <xsl:when test="$current_template = 'draft'">
                                            <fo:block font-family="Arial" font-size="23pt" font-weight="bold" margin-top="70pt" margin-bottom="48pt">
                                            
                                                <xsl:if test="contains('amendment corrigendum erratum', $subdoctype) and $subdoctype != ''">
                                                    <xsl:attribute name="font-size">24pt</xsl:attribute>
                                                </xsl:if>
                                                
                                                <xsl:copy-of select="$title_prefix"/>
                                                <xsl:copy-of select="$title"/>
                                                
                                            </fo:block>
                                        </xsl:when>
                                        
                                        <xsl:when test="$current_template = 'standard'">
                                            <fo:block font-family="Arial" font-weight="bold" margin-top="13mm" space-after="12pt">
                                                <fo:block font-weight="bold" space-before="13mm">
                                                    <xsl:copy-of select="$title_standard_coverpage"/>
                                                </fo:block>
                                            </fo:block>
                                        </xsl:when>
                                        
                                        <xsl:otherwise>  --><!-- $current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report' -->

                                            <!-- <xsl:attribute name="font-family">Calibri Light</xsl:attribute>
                                            <xsl:attribute name="font-size">12pt</xsl:attribute>
                                            
                                            <fo:block font-family="Arial Black" font-size="20pt" margin-top="18pt">
                                                <xsl:copy-of select="$title"/>
                                            </fo:block>
                                            <xsl:call-template name="addBlueBox"/>
                                            <fo:block margin-bottom="12pt">&#xa0;</fo:block>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                    
                                </xsl:if> -->

                                <xsl:apply-templates select="*" mode="page"/>
                                <xsl:if test="position() = last()"><fo:block id="lastBlockMain"/></xsl:if>
                            </fo:flow>
                        </fo:page-sequence>
                    </xsl:for-each>
                    <!-- ===================== -->
                    <!-- End IEEE pages -->
                    <!-- ===================== -->

                    <!-- ======================= -->
                    <!-- Back page -->
                    <!-- ======================= -->
                    <xsl:choose>
                        <xsl:when test="$current_template = 'standard'">
                            <xsl:call-template name="insertBackPage_Standard"/>
                        </xsl:when>

                        <xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                            <xsl:call-template name="insertBackPage_NonStandard"/>
                        </xsl:when>
                    </xsl:choose>
                    <!-- ======================= -->
                    <!-- END Back page -->
                    <!-- ======================= -->
                    <xsl:if test="not(xalan:nodeset($paged_xml)/*[local-name()='page'][*])">
                        <fo:page-sequence master-reference="document-nonstandard" force-page-count="no-force">
                            <fo:flow flow-name="xsl-region-body">
                                <fo:block><!-- prevent fop error for empty document --></fo:block>
                            </fo:flow>
                        </fo:page-sequence>
                    </xsl:if>

                </xsl:for-each>
            </xsl:for-each> <!-- END of //ieee-standard iteration -->

            <xsl:if test="not(//ieee:ieee-standard)">
                <fo:page-sequence master-reference="document-nonstandard" force-page-count="no-force">
                    <fo:flow flow-name="xsl-region-body">
                        <fo:block><!-- prevent fop error for empty document --></fo:block>
                    </fo:flow>
                </fo:page-sequence>
            </xsl:if>

        </fo:root>
    </xsl:template>

    <xsl:template match="ieee:preface/ieee:clause[@type = 'toc']" priority="3">
        <xsl:param name="num"/>

        <xsl:apply-templates/>

        <xsl:if test="count(*) = 1 and *[local-name() = 'title']"> <!-- if there isn't user ToC -->
            <fo:block role="TOC">
                <xsl:if test="$contents/doc[@num = $num]//item[@display = 'true']">
                    <xsl:choose>
                        <xsl:when test="$current_template = 'standard' or $current_template = 'draft'">

                            <xsl:choose>
                                <xsl:when test="$stage = 'draft'">

                                    <xsl:variable name="margin-left">4</xsl:variable>

                                    <xsl:for-each select="$contents/doc[@num = $num]//item[@display = 'true']">
                                        <fo:block role="TOCI">
                                            <xsl:if test="@level = 1">
                                                <xsl:attribute name="margin-top">12pt</xsl:attribute>
                                            </xsl:if>

                                            <fo:block text-align-last="justify">
                                                <xsl:attribute name="margin-left"><xsl:value-of select="$margin-left * (@level - 1)"/>mm</xsl:attribute>
                                                <xsl:if test="@type = 'annex'">
                                                    <xsl:attribute name="font-weight">normal</xsl:attribute>
                                                </xsl:if>

                                                <fo:basic-link internal-destination="{@id}" fox:alt-text="{title}">

                                                    <xsl:value-of select="@section"/>
                                                    <!-- <xsl:if test="normalize-space(@section) != '' and @level = 1">.</xsl:if> -->
                                                    <xsl:if test="normalize-space(@section) != ''"><xsl:text> </xsl:text></xsl:if>

                                                    <xsl:apply-templates select="title"/>

                                                    <fo:inline keep-together.within-line="always">
                                                        <fo:leader font-size="9pt" font-weight="normal" leader-pattern="dots"/>
                                                        <fo:inline>
                                                            <fo:page-number-citation ref-id="{@id}"/>
                                                        </fo:inline>
                                                    </fo:inline>

                                                </fo:basic-link>
                                            </fo:block>
                                        </fo:block>
                                    </xsl:for-each>

                                    <!-- List of Tables -->
                                    <xsl:if test="$contents//tables/table">
                                        <xsl:call-template name="insertListOf_Title">
                                            <xsl:with-param name="title" select="$title-list-tables"/>
                                        </xsl:call-template>
                                        <xsl:for-each select="$contents//tables/table">
                                            <xsl:call-template name="insertListOf_Item"/>
                                        </xsl:for-each>
                                    </xsl:if>

                                    <!-- List of Figures -->
                                    <xsl:if test="$contents//figures/figure">
                                        <xsl:call-template name="insertListOf_Title">
                                            <xsl:with-param name="title" select="$title-list-figures"/>
                                        </xsl:call-template>
                                        <xsl:for-each select="$contents//figures/figure">
                                            <xsl:call-template name="insertListOf_Item"/>
                                        </xsl:for-each>
                                    </xsl:if>

                                </xsl:when> <!-- $stage = 'draft' -->

                                <xsl:when test="$stage = 'published' or $stage = 'approved'">

                                    <xsl:variable name="provisional-distance-between-starts">10</xsl:variable>

                                    <xsl:for-each select="$contents/doc[@num = $num]//item[@display = 'true']">

                                        <fo:list-block provisional-distance-between-starts="{$provisional-distance-between-starts}mm" role="TOCI">

                                            <xsl:if test="@level = 1">
                                                <xsl:attribute name="margin-top">12pt</xsl:attribute>
                                                <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
                                            </xsl:if>

                                            <xsl:attribute name="margin-left"><xsl:value-of select="$provisional-distance-between-starts * (@level - 1)"/>mm</xsl:attribute>

                                            <fo:list-item>
                                                <fo:list-item-label end-indent="label-end()">
                                                    <fo:block>
                                                        <xsl:value-of select="@section"/>
                                                    </fo:block>
                                                </fo:list-item-label>
                                                <fo:list-item-body start-indent="body-start()">
                                                    <fo:block text-align-last="justify">

                                                        <xsl:if test="@type = 'annex'">
                                                            <xsl:attribute name="font-weight">normal</xsl:attribute>
                                                            <xsl:if test="@level = 1">
                                                                <xsl:attribute name="margin-left">-<xsl:value-of select="$provisional-distance-between-starts"/>mm</xsl:attribute>
                                                            </xsl:if>
                                                        </xsl:if>

                                                        <fo:basic-link internal-destination="{@id}" fox:alt-text="{title}">

                                                            <xsl:apply-templates select="title"/>

                                                            <fo:inline keep-together.within-line="always">
                                                                <fo:leader font-size="9pt" font-weight="normal" leader-pattern="dots"/>
                                                                <fo:inline>
                                                                    <fo:page-number-citation ref-id="{@id}"/>
                                                                </fo:inline>
                                                            </fo:inline>

                                                        </fo:basic-link>
                                                    </fo:block>
                                                </fo:list-item-body>
                                            </fo:list-item>

                                        </fo:list-block>
                                    </xsl:for-each>

                                    <!-- List of Figures -->
                                    <xsl:if test="$contents//figures/figure">
                                        <fo:block break-after="page"/>
                                        <xsl:call-template name="insertListOf_Title">
                                            <xsl:with-param name="title" select="'Figures'"/>
                                        </xsl:call-template>
                                        <xsl:for-each select="$contents//figures/figure">
                                            <xsl:call-template name="insertListOf_Item"/>
                                        </xsl:for-each>
                                    </xsl:if>

                                    <!-- List of Tables -->
                                    <xsl:if test="$contents//tables/table">
                                        <fo:block break-after="page"/>
                                        <xsl:call-template name="insertListOf_Title">
                                            <xsl:with-param name="title" select="'Tables'"/>
                                        </xsl:call-template>
                                        <xsl:for-each select="$contents//tables/table">
                                            <xsl:call-template name="insertListOf_Item"/>
                                        </xsl:for-each>
                                    </xsl:if>

                                </xsl:when> <!-- $stage = 'published' or 'approved' -->
                            </xsl:choose>

                        </xsl:when> <!-- 'standard' or 'draft' -->

                        <xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                            <xsl:attribute name="font-size">10pt</xsl:attribute>

                            <xsl:variable name="margin-left">
                                <xsl:choose>
                                    <xsl:when test="@level = 2">4.5mm</xsl:when>
                                    <xsl:when test="@level &gt;= 3">7.5mm</xsl:when>
                                    <xsl:otherwise>0mm</xsl:otherwise>
                                </xsl:choose>
                            </xsl:variable>

                            <xsl:for-each select="$contents/doc[@num = $num]//item[@display = 'true'][@level &lt;= $toc_level or @type = 'figure' or @type = 'table']">
                                <fo:block role="TOCI">
                                    <xsl:if test="@level = 1">
                                        <xsl:attribute name="margin-top">12pt</xsl:attribute>
                                        <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
                                    </xsl:if>

                                    <xsl:if test="@type = 'figure' or @type = 'table' and preceding-sibling::item[1][@type = 'figure' or @type = 'table']">
                                        <xsl:attribute name="margin-top">0pt</xsl:attribute>
                                        <xsl:attribute name="margin-bottom">0pt</xsl:attribute>
                                    </xsl:if>

                                    <fo:block text-align-last="justify">
                                        <xsl:attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</xsl:attribute>
                                        <xsl:if test="@type = 'annex'">
                                            <xsl:attribute name="font-weight">normal</xsl:attribute>
                                        </xsl:if>

                                        <fo:basic-link internal-destination="{@id}" fox:alt-text="{title}">

                                            <xsl:value-of select="@section"/>
                                            <xsl:if test="normalize-space(@section) != ''"><xsl:text> </xsl:text></xsl:if>

                                            <xsl:variable name="section_title">
                                                <xsl:apply-templates select="title"/>
                                            </xsl:variable>

                                            <!-- DEBUG=<xsl:copy-of select="$title"/> -->

                                            <xsl:choose>
                                                <xsl:when test="@level = 1">
                                                    <xsl:apply-templates select="xalan:nodeset($section_title)" mode="uppercase"/>
                                                </xsl:when>
                                                <xsl:otherwise>
                                                    <xsl:apply-templates select="xalan:nodeset($section_title)" mode="smallcaps"/>
                                                </xsl:otherwise>
                                            </xsl:choose>

                                            <fo:inline keep-together.within-line="always">
                                                <fo:leader font-weight="normal" leader-pattern="dots"/>
                                                <fo:inline>
                                                    <fo:page-number-citation ref-id="{@id}"/>
                                                </fo:inline>
                                            </fo:inline>

                                        </fo:basic-link>
                                    </fo:block>
                                </fo:block>
                            </xsl:for-each>

                        </xsl:when>
                    </xsl:choose>
                </xsl:if>
            </fo:block>
        </xsl:if>
    </xsl:template>

    <xsl:template match="ieee:preface/ieee:clause[@type = 'toc']/ieee:title" priority="3">
        <xsl:choose>
            <xsl:when test="$current_template = 'standard' or $current_template = 'draft'">
                <fo:block font-family="Arial" font-size="12pt" role="H1" font-weight="bold" margin-top="12pt" margin-bottom="24pt">
                    <xsl:if test="$stage = 'published' or $stage = 'approved'">
                        <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
                    </xsl:if>
                    <!-- Contents -->
                    <!-- <xsl:call-template name="getLocalizedString">
                        <xsl:with-param name="key">table_of_contents</xsl:with-param>
                    </xsl:call-template> -->
                    <xsl:apply-templates/>
                </fo:block>
            </xsl:when>
            <xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
            </xsl:when>
            <xsl:otherwise>
                <fo:block font-family="Arial" font-size="12pt" role="H1" font-weight="bold" margin-top="12pt" margin-bottom="24pt">
                    <xsl:apply-templates/>
                </fo:block>
            </xsl:otherwise>
        </xsl:choose>

    </xsl:template>

    <xsl:template match="ieee:boilerplate/ieee:copyright-statement//ieee:p" priority="2">
        <fo:block margin-top="6pt" margin-bottom="6pt" text-align="justify">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template match="ieee:boilerplate/ieee:license-statement//ieee:p" priority="2">
        <fo:block margin-top="6pt" margin-bottom="6pt" text-align="justify">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template match="ieee:boilerplate/ieee:feedback-statement" priority="2">
        <fo:block>
            <fo:footnote>
                <fo:inline/>
                <fo:footnote-body font-family="Arial" font-size="7pt">

                    <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                        <xsl:attribute name="font-family">Calibri Light</xsl:attribute>
                        <xsl:attribute name="font-size">9pt</xsl:attribute>
                        <xsl:attribute name="line-height">1.2</xsl:attribute>
                    </xsl:if>

                    <xsl:if test="$current_template = 'standard'">
                        <xsl:attribute name="font-size">8pt</xsl:attribute>
                    </xsl:if>

                    <fo:block>
                        <fo:inline font-size="1pt" id="footnote_footer_{generate-id()}"><xsl:value-of select="$hair_space"/></fo:inline>
                        <xsl:apply-templates/>
                    </fo:block>
                </fo:footnote-body>
            </fo:footnote>
        </fo:block>
    </xsl:template>

    <xsl:template match="ieee:boilerplate/ieee:feedback-statement//ieee:p" priority="2">
        <fo:block margin-bottom="6pt">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template match="ieee:boilerplate/ieee:legal-statement" priority="2">
        <fo:block break-after="page"/>
        <xsl:apply-templates/>
    </xsl:template>

    <xsl:template match="ieee:boilerplate/ieee:legal-statement/ieee:clause[@id = 'boilerplate-participants' or ieee:title = 'Participants']" priority="2">
        <fo:block break-after="page"/>
        <fo:block id="{@id}">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template match="ieee:boilerplate/ieee:legal-statement/ieee:clause[@id = 'boilerplate-participants' or ieee:title = 'Participants']/ieee:clause" priority="2">
        <fo:block id="{@id}" space-before="12pt">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <!-- Example: Important Notices and Disclaimers Concerning IEEE Standards Documents -->
    <xsl:template match="ieee:boilerplate/ieee:legal-statement//ieee:title" priority="3">
        <xsl:variable name="level">
            <xsl:call-template name="getLevel"/>
        </xsl:variable>
        <fo:block font-family="Arial" font-weight="bold" margin-bottom="12pt" space-before="18pt" keep-with-next="always" keep-together.within-column="always" role="H{$level}">
            <xsl:attribute name="font-size">
                <xsl:choose>
                    <xsl:when test="$level = '1'">12pt</xsl:when>
                    <xsl:otherwise>11pt</xsl:otherwise>
                </xsl:choose>
            </xsl:attribute>

            <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                <xsl:attribute name="font-family">Arial Black</xsl:attribute>
                <xsl:attribute name="font-size">13pt</xsl:attribute>
            </xsl:if>

            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template match="ieee:boilerplate/ieee:legal-statement//ieee:p" priority="2">
        <xsl:choose>
            <xsl:when test="@type = 'officemember' and not(preceding-sibling::*[1][self::ieee:p][@type = 'officemember'])"> <!-- special case -->

                <xsl:variable name="officemembers_">
                    <officemember><xsl:copy-of select="node()"/></officemember>
                    <xsl:variable name="pos_curr" select="count(preceding-sibling::*) + 1"/>
                    <xsl:variable name="pos_end_" select="count(following-sibling::*[not(@type = 'officemember')][1]/preceding-sibling::*)"/>
                    <xsl:variable name="pos_end">
                        <xsl:choose>
                            <xsl:when test="$pos_end_ = 0">9999</xsl:when>
                            <xsl:otherwise><xsl:value-of select="$pos_end_"/></xsl:otherwise>
                        </xsl:choose>
                    </xsl:variable>
                    <xsl:variable name="p_count" select="$pos_end - $pos_curr"/>
                    <xsl:for-each select="following-sibling::ieee:p[position() &lt;= $p_count]">
                        <officemember><xsl:copy-of select="node()"/></officemember>
                    </xsl:for-each>
                </xsl:variable>
                <xsl:variable name="officemembers" select="xalan:nodeset($officemembers_)"/>

                <xsl:variable name="officemembers_count" select="count($officemembers/officemember)"/>

                <xsl:variable name="mod" select="$officemembers_count mod 3"/>
                <xsl:variable name="floor" select="floor($officemembers_count div 3)"/>

                <xsl:variable name="max">
                    <xsl:choose>
                        <xsl:when test="$mod = 0"><xsl:value-of select="$officemembers_count div 3"/></xsl:when>
                        <xsl:otherwise><xsl:value-of select="$floor + 1"/></xsl:otherwise>
                    </xsl:choose>
                </xsl:variable>

                <!-- <fo:block>officemembers_count=<xsl:value-of select="$officemembers_count"/></fo:block>
                <fo:block>mod=<xsl:value-of select="$mod"/></fo:block>
                <fo:block>floor=<xsl:value-of select="$floor"/></fo:block>
                <fo:block>max=<xsl:value-of select="$max"/></fo:block> -->

                <fo:block font-size="9pt">
                    <fo:block> </fo:block>
                    <fo:table width="100%" table-layout="fixed">
                        <fo:table-column column-width="proportional-column-width(55)"/>
                        <fo:table-column column-width="proportional-column-width(55)"/>
                        <fo:table-column column-width="proportional-column-width(42)"/>
                        <fo:table-body>
                            <xsl:for-each select="$officemembers/officemember[position() &lt;= $max]">
                                <fo:table-row>
                                    <fo:table-cell padding-right="3mm">
                                        <fo:block>
                                            <xsl:apply-templates/>
                                        </fo:block>
                                    </fo:table-cell>
                                    <fo:table-cell padding-right="3mm">
                                        <fo:block>
                                            <xsl:apply-templates select="following-sibling::*[number($max)]/node()"/>
                                        </fo:block>
                                    </fo:table-cell>
                                    <fo:table-cell>
                                        <fo:block>
                                            <xsl:apply-templates select="following-sibling::*[number($max) * 2]/node()"/>
                                        </fo:block>
                                    </fo:table-cell>
                                </fo:table-row>
                            </xsl:for-each>
                        </fo:table-body>
                    </fo:table>
                </fo:block>

                <xsl:if test="following-sibling::*[1][not(@type = 'officemember' or @type = 'emeritus_sign')]">
                    <fo:block font-size="10pt" space-after="12pt" keep-with-previous="always"> </fo:block>
                </xsl:if>
            </xsl:when> <!-- @type = 'officemember' -->

            <xsl:when test="@type = 'officemember' and preceding-sibling::*[1][self::ieee:p][@type = 'officemember']"><!-- skip --></xsl:when>

            <xsl:when test="@type = 'emeritus_sign'">
                <fo:block font-size="9pt" margin-left="9.4mm" space-before="6pt" space-after="12pt" keep-with-previous="always">
                    <xsl:apply-templates/>
                </fo:block>
            </xsl:when>

            <xsl:when test="@type = 'officeorgrepmemberhdr'">
                <fo:block text-align-last="justify" space-after="12pt">
                    <!-- before tab - left aligned text -->
                    <xsl:apply-templates select="ieee:tab[1]/preceding-sibling::node()"/>
                    <fo:inline keep-together.within-line="always">
                        <fo:leader leader-pattern="space"/>
                        <!-- after tab - right aligned text -->
                        <xsl:apply-templates select="ieee:tab[1]/following-sibling::node()"/>
                    </fo:inline>
                </fo:block>
            </xsl:when>

            <xsl:when test="@type = 'officeorgrepmember'">
                <fo:block text-align-last="justify" space-after="6pt" font-size="9pt">
                    <!-- before tab - left aligned text -->
                    <xsl:apply-templates select="ieee:tab[1]/preceding-sibling::node()"/>
                    <fo:inline keep-together.within-line="always">
                        <fo:leader font-size="9pt" font-weight="normal" leader-pattern="dots"/>
                        <!-- after tab - right aligned text -->
                        <xsl:apply-templates select="ieee:tab[1]/following-sibling::node()"/>
                    </fo:inline>
                </fo:block>
            </xsl:when>

            <xsl:otherwise>

                <xsl:variable name="attributes_">
                    <attributes>
                        <xsl:if test="@align = 'center' and ancestor::ieee:clause[@id = 'boilerplate-participants' or ieee:title = 'Participants'] and following-sibling::*[1][self::ieee:p and @align = 'center']">
                            <xsl:attribute name="space-after">0</xsl:attribute>
                        </xsl:if>
                        <xsl:call-template name="setTextAlignment">
                            <xsl:with-param name="default">justify</xsl:with-param>
                        </xsl:call-template>

                        <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                            <xsl:attribute name="font-size">10pt</xsl:attribute>
                            <xsl:attribute name="font-family">Calibri Light</xsl:attribute>
                            <xsl:attribute name="line-height"><xsl:value-of select="$line-height"/></xsl:attribute>
                        </xsl:if>

                        <xsl:if test="$current_template = 'standard'">
                            <xsl:attribute name="font-size">9pt</xsl:attribute>
                            <xsl:attribute name="font-family">Times New Roman</xsl:attribute>
                            <xsl:attribute name="space-after">6pt</xsl:attribute>
                        </xsl:if>
                    </attributes>
                </xsl:variable>

                <xsl:variable name="attributes" select="xalan:nodeset($attributes_)"/>

                <fo:block space-after="12pt">

                    <xsl:for-each select="$attributes/attributes/@*">
                        <xsl:attribute name="{local-name()}"><xsl:value-of select="."/></xsl:attribute>
                    </xsl:for-each>

                    <xsl:apply-templates/>
                </fo:block>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template match="ieee:boilerplate/ieee:legal-statement" mode="whitepaper">
        <xsl:apply-templates mode="whitepaper"/>
    </xsl:template>

    <xsl:template match="ieee:boilerplate/ieee:legal-statement/ieee:clause/ieee:title" mode="whitepaper">
        <fo:block font-family="Arial Black" font-size="13pt"><xsl:apply-templates mode="whitepaper"/></fo:block>
    </xsl:template>

    <xsl:template match="ieee:boilerplate/ieee:legal-statement/ieee:clause/ieee:title//text()" mode="whitepaper">
        <xsl:value-of select="java:toUpperCase(java:java.lang.String.new(.))"/>
    </xsl:template>

    <xsl:template match="ieee:boilerplate/ieee:legal-statement/ieee:clause/ieee:p" mode="whitepaper">
        <fo:block font-size="10pt" margin-top="12pt" margin-bottom="12pt" text-align="justify" line-height="{$line-height}">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template match="ieee:boilerplate/ieee:legal-statement/ieee:clause/ieee:clause" mode="whitepaper">
        <fo:block font-family="Calibri">
            <xsl:apply-templates mode="whitepaper"/>
        </fo:block>
    </xsl:template>

    <xsl:template match="ieee:boilerplate/ieee:legal-statement/ieee:clause/ieee:clause/ieee:p" mode="whitepaper">
        <fo:block font-size="10pt" margin-bottom="6pt">
            <xsl:if test="not(preceding-sibling::ieee:p)">
                <xsl:attribute name="margin-top">12pt</xsl:attribute>
                <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
                <xsl:attribute name="font-size">inherit</xsl:attribute>
            </xsl:if>
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template match="ieee:abstract">
        <fo:block>
            <xsl:call-template name="setId"/>
            <xsl:call-template name="addReviewHelper"/>
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <!-- for 'draft' -->
    <xsl:template match="ieee:preface/ieee:abstract/ieee:p[1] | /ieee:ieee-standard/ieee:preface/ieee:clause[@id = '_abstract' or ieee:title = 'Abstract']/ieee:p[1]" priority="2">
        <fo:inline><xsl:apply-templates/></fo:inline>
    </xsl:template>

    <xsl:template match="ieee:preface/ieee:acknowledgements" priority="3">
        <fo:block>
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template match="text()" priority="2" mode="uppercase">
        <xsl:value-of select="java:toUpperCase(java:java.lang.String.new(.))"/>
    </xsl:template>
    <xsl:template match="node()" mode="uppercase">
        <xsl:copy>
            <xsl:apply-templates select="node()" mode="uppercase"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template match="text()" priority="2" mode="smallcaps">
        <xsl:call-template name="tocSmallCaps">
            <xsl:with-param name="text" select="."/>
        </xsl:call-template>
    </xsl:template>
    <xsl:template match="node()" mode="uppercase">
        <xsl:copy>
            <xsl:apply-templates select="node()" mode="smallcaps"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template name="tocSmallCaps">
        <xsl:param name="text"/>
        <xsl:param name="font-size">9pt</xsl:param>
        <xsl:variable name="char" select="substring($text,1,1)"/>
        <xsl:variable name="upperCase" select="java:toUpperCase(java:java.lang.String.new($char))"/>
        <xsl:choose>
            <xsl:when test="$char = ' '">
                <xsl:value-of select="$char"/>
            </xsl:when>
            <xsl:when test="$char != $upperCase">
                <fo:inline font-size="{$font-size}">
                    <xsl:value-of select="$upperCase"/>
                </fo:inline>
            </xsl:when>
            <xsl:otherwise>
                <xsl:value-of select="$upperCase"/>
            </xsl:otherwise>
        </xsl:choose>
        <xsl:if test="string-length($text) &gt; 1">
            <xsl:call-template name="tocSmallCaps">
                <xsl:with-param name="text" select="substring($text,2)"/>
            </xsl:call-template>
        </xsl:if>
    </xsl:template>

    <xsl:template match="*[local-name() = 'br']" priority="2" mode="contents_item">
        <xsl:text> </xsl:text>
    </xsl:template>

    <xsl:template match="*[local-name() = 'strong']" priority="2" mode="contents_item">
        <xsl:copy>
            <xsl:apply-templates mode="contents_item"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template name="makePagedXML">
        <xsl:param name="structured_xml"/>
        <xsl:choose>
            <xsl:when test="not(xalan:nodeset($structured_xml)/*[local-name()='pagebreak'])">
                <xsl:element name="page" namespace="https://www.metanorma.org/ns/ieee">
                    <xsl:copy-of select="xalan:nodeset($structured_xml)"/>
                </xsl:element>
            </xsl:when>
            <xsl:otherwise>
                <xsl:for-each select="xalan:nodeset($structured_xml)/*[local-name()='pagebreak']">

                    <xsl:variable name="pagebreak_id" select="generate-id()"/>
                    <!-- <xsl:variable name="pagebreak_previous_orientation" select="normalize-space(preceding-sibling::ieee:pagebreak[1]/@orientation)"/> -->

                    <!-- copy elements before pagebreak -->
                    <xsl:element name="page" namespace="https://www.metanorma.org/ns/ieee">
                        <xsl:if test="not(preceding-sibling::ieee:pagebreak)">
                            <xsl:copy-of select="../@*"/>
                        </xsl:if>
                        <!-- copy previous pagebreak orientation -->
                        <xsl:copy-of select="preceding-sibling::ieee:pagebreak[1]/@orientation"/>
                        <!-- <xsl:if test="$pagebreak_previous_orientation != ''">
                            <xsl:attribute name="orientation"><xsl:value-of select="$pagebreak_previous_orientation"/></xsl:attribute>
                        </xsl:if> -->
                        <xsl:copy-of select="preceding-sibling::node()[following-sibling::ieee:pagebreak[1][generate-id(.) = $pagebreak_id]][not(local-name() = 'pagebreak')]"/>
                    </xsl:element>

                    <!-- copy elements after last page break -->
                    <xsl:if test="position() = last() and following-sibling::node()">
                        <xsl:element name="page" namespace="https://www.metanorma.org/ns/ieee">
                            <xsl:copy-of select="@orientation"/>
                            <xsl:copy-of select="following-sibling::node()"/>
                        </xsl:element>
                    </xsl:if>

                </xsl:for-each>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template match="ieee:p[@class = 'zzSTDTitle1']" priority="4">
        <xsl:choose>
            <xsl:when test="$current_template = 'draft'">
                <fo:block font-family="Arial" font-size="23pt" font-weight="bold" margin-top="70pt" margin-bottom="48pt">
                    <xsl:if test="contains('amendment corrigendum erratum', $subdoctype) and $subdoctype != ''">
                        <xsl:attribute name="font-size">24pt</xsl:attribute>
                    </xsl:if>
                    <xsl:apply-templates/>
                </fo:block>
            </xsl:when>
            <xsl:when test="$current_template = 'standard'">
                <fo:block font-family="Arial" font-weight="bold" margin-top="13mm" space-after="12pt">
                    <xsl:apply-templates/>
                </fo:block>
            </xsl:when>
            <xsl:otherwise> <!-- $current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report' -->

                <fo:block font-family="Arial Black" font-size="20pt" margin-top="18pt">
                    <xsl:apply-templates/>
                </fo:block>
                <xsl:call-template name="addBlueBox"/>
                <fo:block margin-bottom="12pt"> </fo:block>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template match="node()">
        <xsl:apply-templates/>
    </xsl:template>

    <!-- ============================= -->
    <!-- CONTENTS                      -->
    <!-- ============================= -->

    <!-- element with title -->
    <xsl:template match="*[ieee:title]" mode="contents">

        <xsl:variable name="level">
            <xsl:call-template name="getLevel">
                <xsl:with-param name="depth" select="ieee:title/@depth"/>
            </xsl:call-template>
        </xsl:variable>

        <!-- if previous clause contains section-title as latest element (section-title may contain  note's, admonition's, etc.),
        and if @depth of current clause equals to section-title @depth,
        then put section-title before current clause -->
        <xsl:if test="local-name() = 'clause'">
            <xsl:apply-templates select="preceding-sibling::*[1][local-name() = 'clause']//*[local-name() = 'p' and @type = 'section-title'     and @depth = $level      and not(following-sibling::*[local-name()='clause'])]" mode="contents_in_clause"/>
        </xsl:if>

        <xsl:variable name="section">
            <xsl:call-template name="getSection"/>
        </xsl:variable>

        <xsl:variable name="type">
            <xsl:choose>
                <xsl:when test="local-name() = 'indexsect'">index</xsl:when>
                <xsl:when test="(ancestor-or-self::ieee:bibliography and local-name() = 'clause' and not(.//*[local-name() = 'references' and @normative='true'])) or self::ieee:references[not(@normative) or @normative='false']">bibliography</xsl:when>
                <xsl:otherwise><xsl:value-of select="local-name()"/></xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:variable name="display">
            <xsl:choose>
                <xsl:when test="normalize-space(@id) = ''">false</xsl:when>

                <!-- <xsl:when test="ancestor-or-self::ieee:annex and $level &gt;= 2">false</xsl:when> -->
                <xsl:when test="$type = 'bibliography' and $level &gt;= 2">false</xsl:when>
                <xsl:when test="$type = 'bibliography'">true</xsl:when>
                <xsl:when test="$type = 'references' and $level &gt;= 2">false</xsl:when>
                <xsl:when test="$section = '' and $type = 'clause' and $level = 1 and ancestor::ieee:preface">true</xsl:when>
                <xsl:when test="$section = '' and $type = 'clause'">false</xsl:when>
                <xsl:when test="$level &lt;= $toc_level">true</xsl:when>
                <xsl:otherwise>false</xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:variable name="skip">
            <xsl:choose>
                <xsl:when test="@type = 'toc'">true</xsl:when>
                <xsl:when test="($current_template = 'standard' or $current_template = 'draft') and ancestor-or-self::ieee:preface">true</xsl:when> <!-- no need render preface sections in ToC -->
                <xsl:when test="ancestor-or-self::ieee:bibitem">true</xsl:when>
                <xsl:when test="ancestor-or-self::ieee:term">true</xsl:when>
                <xsl:when test="@type = 'corrigenda'">true</xsl:when>
                <xsl:otherwise>false</xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:if test="$skip = 'false'">

            <xsl:variable name="title">
                <xsl:call-template name="getName"/>
            </xsl:variable>

            <xsl:variable name="root">
                <xsl:if test="ancestor-or-self::ieee:preface">preface</xsl:if>
                <xsl:if test="ancestor-or-self::ieee:annex">annex</xsl:if>
            </xsl:variable>

            <item id="{@id}" level="{$level}" section="{$section}" type="{$type}" root="{$root}" display="{$display}">
                <xsl:if test="$type = 'index'">
                    <xsl:attribute name="level">1</xsl:attribute>
                </xsl:if>
                <title>
                    <xsl:apply-templates select="xalan:nodeset($title)" mode="contents_item">
                        <xsl:with-param name="mode">contents</xsl:with-param>
                    </xsl:apply-templates>
                </title>
                <xsl:if test="$type != 'index'">
                    <xsl:apply-templates mode="contents"/>
                </xsl:if>
            </item>
        </xsl:if>
    </xsl:template>

    <xsl:template match="ieee:figure[ieee:name] | ieee:table[ieee:name and not(@unnumbered = 'true' and java:endsWith(java:java.lang.String.new(ieee:name),'Key'))]" priority="2" mode="contents">
        <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
            <xsl:variable name="level">
                <xsl:for-each select="ancestor::ieee:clause[1] | ancestor::ieee:annex[1]">
                    <xsl:call-template name="getLevel">
                        <xsl:with-param name="depth" select="ieee:title/@depth"/>
                    </xsl:call-template>
                </xsl:for-each>
            </xsl:variable>
            <item id="{@id}" level="{$level}" section="" type="{local-name()}" root="" display="true">
                <xsl:variable name="name">
                    <xsl:apply-templates select="ieee:name" mode="contents_item">
                        <xsl:with-param name="mode">contents</xsl:with-param>
                    </xsl:apply-templates>
                </xsl:variable>
                <xsl:if test="not(contains(normalize-space($name), '—'))">
                    <xsl:attribute name="display">false</xsl:attribute>
                </xsl:if>
                <title>
                    <xsl:copy-of select="$name"/>
                </title>
            </item>
        </xsl:if>
    </xsl:template>

    <xsl:template match="*[local-name()='add'][parent::*[local-name() = 'name'] and ancestor::*[local-name() = 'figure'] and normalize-space(following-sibling::node()) = '']" mode="contents_item" priority="2"/>

    <xsl:template match="text()" mode="contents_item">
        <xsl:choose>
            <xsl:when test="contains(., $non_breaking_hyphen)">
                <xsl:call-template name="replaceChar">
                    <xsl:with-param name="text" select="."/>
                    <xsl:with-param name="replace" select="$non_breaking_hyphen"/>
                    <xsl:with-param name="by" select="'-'"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template name="insertListOf_Title">
        <xsl:param name="title"/>
        <fo:block role="TOCI" space-before="12pt" keep-with-next="always">
            <xsl:if test="$current_template = 'standard'">
                <xsl:attribute name="font-size">12pt</xsl:attribute>
                <xsl:attribute name="font-weight">bold</xsl:attribute>
                <xsl:attribute name="font-family">Arial</xsl:attribute>
                <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
            </xsl:if>
            <xsl:value-of select="$title"/>
        </fo:block>
    </xsl:template>

    <xsl:template name="insertListOf_Item">

        <xsl:choose>
            <xsl:when test="$current_template = 'standard'">
                <fo:list-block provisional-distance-between-starts="22.5mm" font-weight="normal" role="TOCI" margin-left="2mm">

                    <fo:list-item>
                        <fo:list-item-label end-indent="label-end()">
                            <fo:block>
                                <fo:basic-link internal-destination="{@id}">
                                    <xsl:value-of select="substring-before(.,'—')"/>
                                </fo:basic-link>
                            </fo:block>
                        </fo:list-item-label>
                        <fo:list-item-body start-indent="body-start()">
                            <fo:block text-align-last="justify">
                                <fo:basic-link internal-destination="{@id}">
                                    <xsl:call-template name="setAltText">
                                        <xsl:with-param name="value" select="@alt-text"/>
                                    </xsl:call-template>
                                    <xsl:apply-templates select="." mode="contents"/>
                                    <fo:inline keep-together.within-line="always">
                                        <fo:leader font-weight="normal" leader-pattern="dots"/>
                                        <fo:inline><fo:page-number-citation ref-id="{@id}"/></fo:inline>
                                    </fo:inline>
                                </fo:basic-link>
                            </fo:block>
                        </fo:list-item-body>
                    </fo:list-item>
                </fo:list-block>

            </xsl:when>
            <xsl:otherwise>
                <fo:block role="TOCI" font-weight="normal" text-align-last="justify" margin-left="12mm">
                    <fo:basic-link internal-destination="{@id}">
                        <xsl:call-template name="setAltText">
                            <xsl:with-param name="value" select="@alt-text"/>
                        </xsl:call-template>
                        <xsl:apply-templates select="." mode="contents"/>
                        <fo:inline keep-together.within-line="always">
                            <fo:leader font-weight="normal" leader-pattern="dots"/>
                            <fo:inline><fo:page-number-citation ref-id="{@id}"/></fo:inline>
                        </fo:inline>
                    </fo:basic-link>
                </fo:block>
            </xsl:otherwise>

        </xsl:choose>

    </xsl:template>

    <xsl:template match="*[local-name() = 'figures']/*[local-name() = 'figure']/*[local-name() = 'name']/text()[1] |         *[local-name() = 'tables']/*[local-name() = 'table']/*[local-name() = 'name']/text()[1]" mode="contents" priority="3">
        <xsl:choose>
            <xsl:when test="$current_template = 'standard' and contains(.,'—')"><xsl:value-of select="substring-after(.,'—')"/></xsl:when>
            <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- disable bold in ToC -->
    <xsl:template match="*[local-name() = 'item']/*[local-name() = 'title']/*[local-name() = 'strong']" priority="2">
        <xsl:apply-templates/>
    </xsl:template>

    <!-- ============================= -->
    <!-- ============================= -->

    <!-- ==================== -->
    <!-- display titles       -->
    <!-- ==================== -->
    <xsl:template match="ieee:bibdata/ieee:title[@type = 'title-intro']">
        <xsl:apply-templates/>
        <xsl:text>—</xsl:text>
    </xsl:template>

    <xsl:template match="ieee:bibdata/ieee:title[@type = 'title-main']">
        <xsl:apply-templates/>
    </xsl:template>

    <!-- ==================== -->
    <!-- display titles       -->
    <!-- ==================== -->

    <!-- ================================= -->
    <!-- XML Flattening -->
    <!-- ================================= -->
    <xsl:template match="@*|node()" mode="flatxml">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()" mode="flatxml"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template match="processing-instruction()" mode="flatxml">
        <xsl:copy-of select="."/>
    </xsl:template>

    <xsl:template match="ieee:preface//ieee:clause[@type = 'front_notes']" mode="flatxml" priority="2">
        <!-- ignore processing (source STS is front/notes) -->
    </xsl:template>

    <xsl:template match="ieee:foreword |            ieee:foreword//ieee:clause |            ieee:preface//ieee:clause[not(@type = 'corrigenda') and not(@type = 'related-refs') and not(@type = 'toc') ] |            ieee:introduction |            ieee:introduction//ieee:clause |            ieee:sections//ieee:clause |             ieee:annex |             ieee:annex//ieee:clause |             ieee:references |            ieee:bibliography/ieee:clause |             *[local-name()='sections']//*[local-name()='terms'] |             *[local-name()='sections']//*[local-name()='definitions'] |            *[local-name()='annex']//*[local-name()='definitions']" mode="flatxml" name="clause">
        <!-- From:
        <clause>
            <title>...</title>
            <p>...</p>
        </clause>
        To:
            <clause/>
            <title>...</title>
            <p>...</p>
        -->
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="flatxml"/>
            <xsl:attribute name="keep-with-next">always</xsl:attribute>
            <xsl:if test="local-name() = 'foreword' or local-name() = 'introduction' or    local-name(..) = 'preface' or local-name(..) = 'sections' or     (local-name() = 'references' and parent::*[local-name() = 'bibliography']) or    (local-name() = 'clause' and parent::*[local-name() = 'bibliography']) or    local-name() = 'annex' or     local-name(..) = 'annex'">
                <xsl:attribute name="mainsection">true</xsl:attribute>
            </xsl:if>

        </xsl:copy>
        <xsl:apply-templates mode="flatxml"/>

    </xsl:template>

    <xsl:template match="ieee:term" mode="flatxml" priority="2">
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="flatxml"/>
            <xsl:attribute name="keep-with-next">always</xsl:attribute>
            <xsl:variable name="level">
                <xsl:call-template name="getLevel"/>
            </xsl:variable>
            <xsl:attribute name="depth"><xsl:value-of select="$level"/></xsl:attribute>
            <xsl:attribute name="ancestor">sections</xsl:attribute>
            <xsl:apply-templates select="node()[not(self::ieee:term)]" mode="flatxml"/>
        </xsl:copy>
        <xsl:apply-templates select="ieee:term" mode="flatxml"/>
    </xsl:template>

    <xsl:template match="ieee:introduction//ieee:title | ieee:foreword//ieee:title | ieee:sections//ieee:title | ieee:annex//ieee:title | ieee:bibliography/ieee:clause/ieee:title | ieee:references/ieee:title" mode="flatxml" priority="2"> <!-- | ieee:term -->
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="flatxml"/>
            <xsl:attribute name="keep-with-next">always</xsl:attribute>
            <xsl:variable name="level">
                <xsl:call-template name="getLevel"/>
            </xsl:variable>
            <xsl:attribute name="depth"><xsl:value-of select="$level"/></xsl:attribute>
            <xsl:if test="parent::ieee:annex">
                <xsl:attribute name="depth">1</xsl:attribute>
            </xsl:if>
            <xsl:if test="../@inline-header = 'true'">
                <xsl:copy-of select="../@inline-header"/>
            </xsl:if>
            <xsl:attribute name="ancestor">
                <xsl:choose>
                    <xsl:when test="ancestor::ieee:foreword">foreword</xsl:when>
                    <xsl:when test="ancestor::ieee:introduction">introduction</xsl:when>
                    <xsl:when test="ancestor::ieee:sections">sections</xsl:when>
                    <xsl:when test="ancestor::ieee:annex">annex</xsl:when>
                    <xsl:when test="ancestor::ieee:bibliography">bibliography</xsl:when>
                </xsl:choose>
            </xsl:attribute>

            <xsl:apply-templates mode="flatxml"/>
        </xsl:copy>
    </xsl:template>

    <!-- recalculate table width -->
    <!-- 210 - (15+22+20) = 153 -->
    <xsl:variable name="max_table_width_mm" select="$pageWidth - ($marginLeftRight1 + $marginLeftRight2)"/>
    <!-- 153 / 25.4 * 96 dpi = 578px-->
    <xsl:variable name="max_table_width_px" select="round($max_table_width_mm div 25.4 * 96)"/>
    <!-- landscape table -->
    <xsl:variable name="max_table_landscape_width_mm" select="$pageHeight - ($marginTop + $marginBottom)"/>
    <xsl:variable name="max_table_landscape_width_px" select="round($max_table_landscape_width_mm div 25.4 * 96)"/>

    <xsl:template match="ieee:table/@width[contains(., 'px')]" mode="flatxml">
        <xsl:variable name="width" select="number(substring-before(., 'px'))"/>
        <xsl:variable name="isLandscapeTable" select="../preceding-sibling::*[local-name() != 'table'][1]/@orientation = 'landscape'"/>
        <xsl:attribute name="width">
            <xsl:choose>
                <xsl:when test="normalize-space($isLandscapeTable) = 'true' and $width &gt; $max_table_landscape_width_px"><xsl:value-of select="$max_table_landscape_width_px"/>px</xsl:when>
                <xsl:when test="normalize-space($isLandscapeTable) = 'false' and $width &gt; $max_table_width_px"><xsl:value-of select="$max_table_width_px"/>px</xsl:when>
                <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
    </xsl:template>

    <!-- add @to = figure, table, clause -->
    <!-- add @depth = from  -->
    <xsl:template match="ieee:xref" mode="flatxml">
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="flatxml"/>
            <xsl:variable name="target" select="@target"/>
            <xsl:attribute name="to">
                <xsl:value-of select="local-name(//*[@id = current()/@target][1])"/>
            </xsl:attribute>
            <xsl:attribute name="depth">
                <xsl:value-of select="//*[@id = current()/@target][1]/ieee:title/@depth"/>
            </xsl:attribute>
            <xsl:apply-templates select="node()" mode="flatxml"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template match="text()" mode="flatxml">
        <xsl:choose>
            <xsl:when test="contains(., $non_breaking_hyphen)">
                <xsl:call-template name="replaceChar">
                    <xsl:with-param name="text" select="."/>
                    <xsl:with-param name="replace" select="$non_breaking_hyphen"/>
                    <xsl:with-param name="by" select="'-'"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
        </xsl:choose>

    </xsl:template>

    <!-- remove newlines chars (0xd 0xa, 0xa, 0xd) in p, em, strong (except in sourcecode). -->
    <xsl:template match="*[not(ancestor::ieee:sourcecode)]/*[self::ieee:p or self::ieee:strong or self::ieee:em]/text()" mode="flatxml">
        <xsl:choose>
            <xsl:when test=". = '&#13;' or . = '&#10;' or . = '&#13;&#10;'"/>
            <xsl:when test="contains(., $non_breaking_hyphen)">
                <xsl:call-template name="replaceChar">
                    <xsl:with-param name="text" select="."/>
                    <xsl:with-param name="replace" select="$non_breaking_hyphen"/>
                    <xsl:with-param name="by" select="'-'"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- change @reference to actual value, and add skip_footnote_body="true" for repeatable (2nd, 3rd, ...) -->
    <!--
    <fn reference="1">
            <p id="_8e5cf917-f75a-4a49-b0aa-1714cb6cf954">Formerly denoted as 15 % (m/m).</p>
        </fn>
    -->

    <xsl:template match="*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure')] and not(ancestor::*[local-name() = 'name']))]" mode="flatxml">
        <xsl:variable name="p_fn_">
            <xsl:call-template name="get_fn_list"/>
        </xsl:variable>
        <xsl:variable name="p_fn" select="xalan:nodeset($p_fn_)"/>
        <xsl:variable name="gen_id" select="generate-id(.)"/>
        <xsl:variable name="lang" select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibdata']//*[local-name()='language'][@current = 'true']"/>
        <xsl:variable name="reference_">
            <xsl:value-of select="@reference"/>
            <xsl:if test="normalize-space(@reference) = ''"><xsl:value-of select="$gen_id"/></xsl:if>
        </xsl:variable>
        <xsl:variable name="reference" select="normalize-space($reference_)"/>
        <!-- fn sequence number in document -->
        <xsl:variable name="current_fn_number" select="count($p_fn//fn[@reference = $reference]/preceding-sibling::fn) + 1"/>

        <xsl:copy>
            <xsl:apply-templates select="@*" mode="flatxml"/>
            <!-- put actual reference number -->
            <xsl:attribute name="current_fn_number">
                <xsl:value-of select="$current_fn_number"/>
            </xsl:attribute>
            <xsl:attribute name="skip_footnote_body"> <!-- false for repeatable footnote -->
                <xsl:value-of select="not($p_fn//fn[@gen_id = $gen_id] and (1 = 1))"/>
            </xsl:attribute>
            <xsl:apply-templates select="node()" mode="flatxml"/>
        </xsl:copy>
    </xsl:template>

    <!-- <xsl:template match="*[local-name() = 'bibitem']/*[local-name() = 'note']" mode="flatxml">
        <xsl:variable name="p_fn_">
            <xsl:call-template name="get_fn_list"/>
        </xsl:variable>
        <xsl:variable name="p_fn" select="xalan:nodeset($p_fn_)"/>
        <xsl:variable name="gen_id" select="generate-id(.)"/>
        <xsl:variable name="lang" select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibdata']//*[local-name()='language'][@current = 'true']"/>
        <xsl:variable name="reference" select="@reference"/>  --><!-- @reference added to bibitem/note in step 'update_xml_step2' -->
        <!-- fn sequence number in document -->
        <!-- <xsl:variable name="current_fn_number" select="count($p_fn//fn[@reference = $reference]/preceding-sibling::fn) + 1" />
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="flatxml"/> -->
            <!-- put actual reference number -->
            <!-- <xsl:attribute name="current_fn_number">
                <xsl:value-of select="$current_fn_number"/>
            </xsl:attribute>
            <xsl:apply-templates select="node()" mode="flatxml"/>
        </xsl:copy>
    </xsl:template> -->

    <xsl:template match="ieee:p[@type = 'section-title']" priority="3" mode="flatxml">
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="flatxml"/>
            <xsl:if test="@depth = '1'">
                <xsl:attribute name="mainsection">true</xsl:attribute>
            </xsl:if>
            <xsl:apply-templates select="node()" mode="flatxml"/>
        </xsl:copy>
    </xsl:template>

    <!-- ================================= -->
    <!-- END of XML Flattening -->
    <!-- ================================= -->

    <xsl:template match="*" priority="3" mode="page">
        <xsl:call-template name="elementProcessing"/>
    </xsl:template>

    <xsl:template match="ieee:clauses_union/*" priority="3" mode="clauses_union">
        <xsl:call-template name="elementProcessing"/>
    </xsl:template>

    <xsl:template name="elementProcessing">
        <xsl:choose>
            <xsl:when test="local-name() = 'p' and count(node()) = count(processing-instruction())"><!-- skip --></xsl:when> <!-- empty paragraph with processing-instruction -->
            <xsl:when test="@hidden = 'true'"><!-- skip --></xsl:when>
            <xsl:otherwise>
                <xsl:choose>
                    <xsl:when test="local-name() = 'title' or local-name() = 'term'">
                        <xsl:apply-templates select="."/>
                    </xsl:when>
                    <!-- <xsl:when test="not(node()) and @mainsection = 'true'"> -->
                    <xsl:when test="@mainsection = 'true'">
                        <fo:block>
                            <xsl:attribute name="keep-with-next">always</xsl:attribute>
                            <xsl:apply-templates select="."/>
                        </fo:block>
                    </xsl:when>
                    <xsl:when test="local-name() = 'indexsect'">
                        <xsl:apply-templates select="." mode="index"/>
                    </xsl:when>
                    <xsl:otherwise>
                            <fo:block-container>
                                <xsl:if test="not(node())">
                                    <xsl:attribute name="keep-with-next">always</xsl:attribute>
                                </xsl:if>
                                <fo:block>
                                    <xsl:apply-templates select="."/>
                                </fo:block>
                            </fo:block-container>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template match="/*/ieee:bibdata/ieee:docidentifier[@type = 'ISBN']">
        <fo:block space-after="6pt">
            <fo:inline>
                <xsl:attribute name="font-weight">bold</xsl:attribute>
                <xsl:text>ISBN </xsl:text>
            </fo:inline>
            <xsl:value-of select="."/>
        </fo:block>
    </xsl:template>

    <xsl:template match="*[local-name() = 'introduction'] | *[local-name() = 'foreword'] | *[local-name() = 'acknowledgements']">
        <fo:block>
            <xsl:call-template name="setId"/>
            <xsl:call-template name="addReviewHelper"/>
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <!-- ====== -->
    <!-- title      -->
    <!-- ====== -->

    <!-- <xsl:template match="ieee:annex/ieee:title">
        <fo:block font-size="16pt" text-align="center" margin-bottom="48pt" keep-with-next="always">
            <xsl:apply-templates />
        </fo:block>
    </xsl:template> -->

    <!-- Bibliography -->
    <xsl:template match="ieee:references[not(@normative='true')]/ieee:title">
        <fo:block font-size="16pt" font-weight="bold" margin-top="6pt" margin-bottom="36pt" keep-with-next="always" role="H1">
                <xsl:apply-templates/>
            </fo:block>
    </xsl:template>

    <xsl:template match="ieee:title[@inline-header = 'true'][following-sibling::*[1][local-name() = 'p'] or following-sibling::*[1][local-name() = 'clause'] or not(following-sibling::*)]" priority="3">
        <fo:block>
            <xsl:attribute name="space-before">
                <xsl:call-template name="getTitleMarginTop"/>
            </xsl:attribute>
            <xsl:attribute name="margin-bottom">
                <xsl:call-template name="getTitleMarginBottom"/>
            </xsl:attribute>
            <xsl:call-template name="title"/>
            <xsl:apply-templates select="following-sibling::*[1][local-name() = 'p']">
                <xsl:with-param name="inline-header">true</xsl:with-param>
            </xsl:apply-templates>
        </fo:block>
    </xsl:template>

    <xsl:template match="ieee:clauses_union" priority="4">
        <fo:block-container margin-left="-1.5mm" margin-right="-0.5mm">
            <fo:block-container margin="0mm" padding-left="0.5mm" padding-top="0.1mm" padding-bottom="2.5mm">
                <xsl:apply-templates mode="clauses_union"/>
            </fo:block-container>
        </fo:block-container>
    </xsl:template>

    <xsl:template name="getTitleMarginTop">
        <xsl:variable name="level">
            <xsl:call-template name="getLevel"/>
        </xsl:variable>
        <xsl:choose>
            <xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                <xsl:choose>
                    <xsl:when test="$level = 2">22.4pt</xsl:when>
                    <xsl:when test="$level = 3">4.6pt</xsl:when>
                    <xsl:otherwise>0mm</xsl:otherwise>
                </xsl:choose>
            </xsl:when>
            <xsl:when test="$current_template = 'standard'">
                <xsl:choose>
                    <xsl:when test="$level = 1">12pt</xsl:when>
                    <xsl:when test="$level = 2">12pt</xsl:when>
                    <xsl:when test="$level &gt;= 3">12pt</xsl:when>
                    <xsl:otherwise>0mm</xsl:otherwise>
                </xsl:choose>
            </xsl:when>
            <xsl:otherwise>
                <xsl:choose>
                    <xsl:when test="$level = 1">18pt</xsl:when>
                    <xsl:when test="$level = 2">18pt</xsl:when>
                    <xsl:when test="$level &gt;= 3">12pt</xsl:when>
                    <xsl:otherwise>0mm</xsl:otherwise>
                </xsl:choose>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template name="getTitleMarginBottom">
        <xsl:choose>
            <xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                <xsl:choose>
                    <xsl:when test="ancestor::ieee:abstract">6pt</xsl:when>
                    <xsl:otherwise>12pt</xsl:otherwise>
                </xsl:choose>
            </xsl:when>
            <xsl:otherwise>12pt</xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template match="ieee:title" priority="2" name="title">

        <xsl:variable name="level">
            <xsl:call-template name="getLevel"/>
        </xsl:variable>

        <xsl:variable name="font-family">
            <xsl:choose>
                <xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">Arial Black</xsl:when>
                <xsl:otherwise>Arial</xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:variable name="font-size">
            <xsl:choose>
                <xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                    <xsl:choose>
                        <xsl:when test="ancestor::ieee:abstract">13pt</xsl:when>
                        <xsl:when test="$level = 1">20pt</xsl:when>
                        <xsl:when test="$level = 2">16pt</xsl:when>
                        <xsl:when test="$level = 3">13pt</xsl:when>
                        <xsl:otherwise>11pt</xsl:otherwise> <!-- 4th, ... levels -->
                    </xsl:choose>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:choose>
                        <xsl:when test="@type = 'section-title'">12pt</xsl:when>
                        <xsl:when test="ancestor::ieee:acknowledgements">inherit</xsl:when>
                        <xsl:when test="$level = 1">12pt</xsl:when>
                        <xsl:when test="$level = 2">11pt</xsl:when>
                        <xsl:otherwise>10pt</xsl:otherwise> <!-- 3rd, 4th, ... levels -->
                    </xsl:choose>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:variable name="font-weight">
            <xsl:choose>
                <xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">normal</xsl:when>
                <xsl:otherwise>
                    <xsl:choose>
                        <xsl:when test="@ancestor = 'annex' and $level = 1">normal</xsl:when>
                        <xsl:otherwise>bold</xsl:otherwise>
                    </xsl:choose>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:variable name="margin-top">
            <xsl:call-template name="getTitleMarginTop"/>
        </xsl:variable>

        <xsl:variable name="margin-bottom">
            <xsl:call-template name="getTitleMarginBottom"/>
        </xsl:variable>
            <!-- <xsl:choose>
                <xsl:when test="$level = 1">12pt</xsl:when>
                <xsl:otherwise>12pt</xsl:otherwise>
            </xsl:choose>
        </xsl:variable> -->

        <xsl:variable name="element-name">
            <xsl:choose>
                <xsl:when test="@inline-header = 'true'">fo:inline</xsl:when>
                <xsl:otherwise>fo:block</xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:variable name="attributes_">
            <attributes>
                <xsl:attribute name="font-family"><xsl:value-of select="$font-family"/></xsl:attribute>
                <xsl:attribute name="font-size"><xsl:value-of select="$font-size"/></xsl:attribute>
                <xsl:attribute name="font-weight"><xsl:value-of select="$font-weight"/></xsl:attribute>
                <xsl:attribute name="space-before"><xsl:value-of select="$margin-top"/></xsl:attribute>
                <xsl:attribute name="margin-bottom"><xsl:value-of select="$margin-bottom"/></xsl:attribute>
                <xsl:attribute name="keep-with-next">always</xsl:attribute>
                <xsl:attribute name="keep-together.within-column">always</xsl:attribute>

                <xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>

                <xsl:if test="@type = 'floating-title' or @type = 'section-title'">
                    <xsl:copy-of select="@id"/>
                </xsl:if>
            </attributes>
        </xsl:variable>
        <xsl:variable name="attributes" select="xalan:nodeset($attributes_)"/>

        <xsl:variable name="section">
            <xsl:call-template name="extractSection"/>
        </xsl:variable>

        <xsl:choose>
            <xsl:when test="string-length($section) != 0 and $element-name = 'fo:block' and ($current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report')">

                <xsl:variable name="provisional-distance-between-starts">
                    <xsl:choose>
                        <xsl:when test="$level = 1 and string-length($section) = 2">8.5mm</xsl:when>
                        <xsl:when test="$level = 1 and string-length($section) = 3">13mm</xsl:when>
                        <xsl:when test="$level &gt;= 2">17.8mm</xsl:when>
                        <xsl:otherwise>10mm</xsl:otherwise>
                    </xsl:choose>
                </xsl:variable>
                <fo:list-block provisional-distance-between-starts="{$provisional-distance-between-starts}">

                    <xsl:copy-of select="$attributes/attributes/@*"/>

                    <xsl:if test="$level = 1">
                        <xsl:attribute name="line-height">20pt</xsl:attribute>
                    </xsl:if>

                    <fo:list-item>
                        <fo:list-item-label end-indent="label-end()">
                            <fo:block id="__internal_layout__toc_section_{generate-id()}">
                                <xsl:if test="$level = 1">
                                    <xsl:attribute name="color"><xsl:value-of select="$color_blue"/></xsl:attribute>
                                </xsl:if>
                                <xsl:value-of select="$section"/>
                            </fo:block>
                        </fo:list-item-label>
                        <fo:list-item-body start-indent="body-start()">
                            <fo:block>

                                <!-- if first and last childs are `add` ace-tag, then move start ace-tag before title -->
                                <xsl:if test="*[local-name() = 'tab'][1]/following-sibling::node()[last()][local-name() = 'add'][starts-with(text(), $ace_tag)]">
                                    <xsl:apply-templates select="*[local-name() = 'tab'][1]/following-sibling::node()[1][local-name() = 'add'][starts-with(text(), $ace_tag)]">
                                        <xsl:with-param name="skip">false</xsl:with-param>
                                    </xsl:apply-templates>
                                </xsl:if>

                                <xsl:call-template name="extractTitle"/>

                                <xsl:apply-templates select="following-sibling::*[1][local-name() = 'variant-title'][@type = 'sub']" mode="subtitle"/>
                            </fo:block>
                        </fo:list-item-body>
                    </fo:list-item>
                </fo:list-block>

            </xsl:when>
            <xsl:otherwise>
                <xsl:element name="{$element-name}">

                    <xsl:copy-of select="$attributes/attributes/@*"/>

                    <!-- if first and last childs are `add` ace-tag, then move start ace-tag before title -->
                    <xsl:if test="*[local-name() = 'tab'][1]/following-sibling::node()[last()][local-name() = 'add'][starts-with(text(), $ace_tag)]">
                        <xsl:apply-templates select="*[local-name() = 'tab'][1]/following-sibling::node()[1][local-name() = 'add'][starts-with(text(), $ace_tag)]">
                            <xsl:with-param name="skip">false</xsl:with-param>
                        </xsl:apply-templates>
                    </xsl:if>

                    <xsl:apply-templates/>
                    <xsl:apply-templates select="following-sibling::*[1][local-name() = 'variant-title'][@type = 'sub']" mode="subtitle"/>
                </xsl:element>
            </xsl:otherwise>
        </xsl:choose>

        <xsl:if test="($current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report') and preceding-sibling::*[1][self::ieee:references[@normative = 'false']]">
            <xsl:call-template name="addBlueBox"/>
        </xsl:if>

    </xsl:template>

    <xsl:template name="addBlueBox">
        <xsl:param name="width">57mm</xsl:param>
        <xsl:param name="height">3mm</xsl:param>
        <fo:block font-size="1" margin-top="3mm" margin-bottom="3mm">
            <fo:instream-foreign-object content-width="57mm" content-height="3mm" scaling="non-uniform" fox:alt-text="Image Box">
                <xsl:call-template name="insertImageBoxSVG">
                    <xsl:with-param name="color"><xsl:value-of select="$color_blue"/></xsl:with-param>
                </xsl:call-template>
            </fo:instream-foreign-object>
        </fo:block>
    </xsl:template>

    <!-- add blue box after first break in Annex title -->
    <xsl:template match="*[local-name()='br'][not(preceding-sibling::ieee:br)][ancestor::ieee:title[preceding-sibling::*[1][self::ieee:annex]]]" priority="2">
        <xsl:choose>
            <xsl:when test="($current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report') ">
                <xsl:call-template name="addBlueBox"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:value-of select="$linebreak"/>
            </xsl:otherwise>

        </xsl:choose>
    </xsl:template>

    <xsl:template match="ieee:term" priority="2">

        <xsl:variable name="level">
            <xsl:call-template name="getLevel"/>
        </xsl:variable>
        <!-- <fo:block>$level=<xsl:value-of select="$level"/></fo:block>
        <fo:block>@ancestor=<xsl:value-of select="@ancestor"/></fo:block> -->
        <xsl:variable name="font-size">
            <xsl:choose>
                <xsl:when test="@ancestor = 'sections' and $level = '2'">11pt</xsl:when>
                <xsl:when test="@ancestor = 'sections' and $level &gt; 2">11pt</xsl:when>
                <xsl:otherwise>11.5pt</xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:variable name="element-name">
            <xsl:choose>
                <xsl:when test="../@inline-header = 'true'">fo:inline</xsl:when>
                <xsl:otherwise>fo:block</xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <fo:block margin-bottom="16pt">
            <xsl:if test="@ancestor = 'sections' and $level &gt; 2">
                <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
            </xsl:if>
            <xsl:copy-of select="@id"/>
            <fo:block font-size="{$font-size}" font-weight="bold" margin-bottom="6pt" keep-with-next="always" role="H{$level}">
                    <xsl:if test="@ancestor = 'sections' and $level &gt; 2">
                        <xsl:attribute name="margin-bottom">2pt</xsl:attribute>
                    </xsl:if>
                    <!-- term/name -->
                    <xsl:apply-templates select="ieee:name"/>
                    <xsl:text> </xsl:text>
                    <xsl:apply-templates select="ieee:preferred"/>
                    <xsl:for-each select="ieee:admitted">
                        <xsl:if test="position() = 1"><xsl:text> (</xsl:text></xsl:if>
                        <xsl:apply-templates/>
                        <xsl:if test="position() != last()"><xsl:text>, </xsl:text></xsl:if>
                        <xsl:if test="position() = last()"><xsl:text>)</xsl:text></xsl:if>
                    </xsl:for-each>
                </fo:block>
                <xsl:apply-templates select="*[not(self::ieee:preferred) and not(self::ieee:admitted) and not(self::ieee:name)]"/> <!-- further processing child elements -->
        </fo:block>

    </xsl:template>

    <xsl:template match="ieee:preferred" priority="2">
        <xsl:apply-templates/>
    </xsl:template>

    <xsl:template match="*[local-name() = 'term']/*[local-name() = 'definition']" priority="2">
        <fo:block xsl:use-attribute-sets="definition-style">
            <xsl:apply-templates/>
        </fo:block>
        <!-- change termsource order - show after definition before termnote -->
        <xsl:for-each select="ancestor::ieee:term[1]/ieee:termsource">
            <xsl:call-template name="termsource"/>
        </xsl:for-each>
    </xsl:template>
    <xsl:template match="*[local-name() = 'term']/*[local-name() = 'termsource']" priority="2">
        <xsl:call-template name="termsource"/>
    </xsl:template>

    <xsl:template name="titleAmendment">
        <fo:block font-size="11pt" font-style="italic" margin-bottom="12pt" keep-with-next="always">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <!-- ====== -->
    <!-- ====== -->

    <xsl:template match="*[local-name() = 'annex']" priority="2">
        <fo:block id="{@id}">
        </fo:block>
        <xsl:apply-templates/>
    </xsl:template>

    <xsl:template match="ieee:p" name="paragraph">
        <xsl:param name="inline-header">false</xsl:param>
        <xsl:param name="split_keep-within-line"/>

        <xsl:choose>

            <xsl:when test="preceding-sibling::*[1][self::ieee:title]/@inline-header = 'true' and $inline-header = 'false'"/> <!-- paragraph displayed in title template -->

            <xsl:otherwise>

                <xsl:variable name="previous-element" select="local-name(preceding-sibling::*[1])"/>
                <xsl:variable name="element-name">fo:block</xsl:variable>
                    <!-- <xsl:choose>
                        <xsl:when test="$inline = 'true'">fo:inline</xsl:when> -->
                        <!-- <xsl:when test="preceding-sibling::*[1]/@inline-header = 'true' and $previous-element = 'title'">fo:inline</xsl:when> --> <!-- first paragraph after inline title -->
                        <!-- <xsl:when test="local-name(..) = 'admonition'">fo:inline</xsl:when> -->
                    <!--     <xsl:otherwise>fo:block</xsl:otherwise>
                    </xsl:choose>
                </xsl:variable> -->
                <xsl:element name="{$element-name}">
                    <xsl:call-template name="setBlockAttributes">
                        <xsl:with-param name="text_align_default">justify</xsl:with-param>
                    </xsl:call-template>

                    <xsl:attribute name="margin-bottom">6pt</xsl:attribute><!-- 8pt -->
                    <xsl:if test="($current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report') and (ancestor::ieee:sections or ancestor::ieee:annex)">
                        <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
                    </xsl:if>
                    <xsl:if test="../following-sibling::*[1][self::ieee:note or self::ieee:termnote or self::ieee:ul or self::ieee:ol] or following-sibling::*[1][self::ieee:ul or self::ieee:ol]">
                        <xsl:attribute name="margin-bottom">4pt</xsl:attribute>
                    </xsl:if>
                    <xsl:if test="parent::ieee:li">
                        <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
                        <xsl:if test="ancestor::ieee:feedback-statement">
                            <xsl:attribute name="margin-bottom">0pt</xsl:attribute>
                        </xsl:if>
                    </xsl:if>
                    <xsl:if test="parent::ieee:li and (ancestor::ieee:note or ancestor::ieee:termnote)">
                        <xsl:attribute name="margin-bottom">4pt</xsl:attribute>
                    </xsl:if>
                    <xsl:if test="(following-sibling::*[1][self::ieee:clause or self::ieee:terms or self::ieee:references])">
                        <xsl:attribute name="margin-bottom">8pt</xsl:attribute>
                    </xsl:if>
                    <xsl:if test="@id">
                        <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
                    </xsl:if>
                    <xsl:attribute name="line-height">1.2</xsl:attribute>
                    <!-- bookmarks only in paragraph -->
                    <xsl:if test="count(ieee:bookmark) != 0 and count(*) = count(ieee:bookmark) and normalize-space() = ''">
                        <xsl:attribute name="font-size">0</xsl:attribute>
                        <xsl:attribute name="margin-bottom">0pt</xsl:attribute>
                        <xsl:attribute name="line-height">0</xsl:attribute>
                    </xsl:if>

                    <xsl:if test="($current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report') and not(parent::ieee:li)">
                        <xsl:attribute name="line-height"><xsl:value-of select="$line-height"/></xsl:attribute>
                        <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
                    </xsl:if>

                    <xsl:if test="($current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report') and parent::ieee:li">
                        <xsl:attribute name="line-height">inherit</xsl:attribute>
                        <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
                    </xsl:if>

                    <xsl:apply-templates>
                        <xsl:with-param name="split_keep-within-line" select="$split_keep-within-line"/>
                    </xsl:apply-templates>

                </xsl:element>
                <xsl:if test="$element-name = 'fo:inline' and not(local-name(..) = 'admonition')"> <!-- and not($inline = 'true')  -->
                    <fo:block margin-bottom="12pt">
                         <xsl:if test="ancestor::ieee:annex or following-sibling::ieee:table">
                            <xsl:attribute name="margin-bottom">0</xsl:attribute>
                         </xsl:if>
                        <xsl:value-of select="$linebreak"/>
                    </fo:block>
                </xsl:if>

            </xsl:otherwise>
        </xsl:choose>

    </xsl:template>

    <xsl:template match="ieee:li//ieee:p//text()">
        <xsl:choose>
            <xsl:when test="contains(., '&#9;')">
                <fo:inline white-space="pre"><xsl:value-of select="."/></fo:inline>
            </xsl:when>
            <xsl:otherwise>
                <xsl:value-of select="."/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template match="*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure')] and not(ancestor::*[local-name() = 'name']))]" priority="3">
        <xsl:call-template name="fn"/>
    </xsl:template>

    <xsl:template match="ieee:p/ieee:fn/ieee:p" priority="2">
        <xsl:choose>
            <xsl:when test="preceding-sibling::ieee:p"> <!-- for multi-paragraphs footnotes -->
                <fo:block>
                    <fo:inline padding-right="4mm"> </fo:inline>
                    <xsl:apply-templates/>
                </fo:block>
            </xsl:when>
            <xsl:otherwise>
                <xsl:apply-templates/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template match="ieee:ul | ieee:ol" mode="list" priority="2">
        <fo:list-block xsl:use-attribute-sets="list-style">

            <xsl:if test="parent::ieee:admonition[@type = 'commentary']">
                <xsl:attribute name="margin-left">7mm</xsl:attribute>
            </xsl:if>
            <xsl:if test="preceding-sibling::*[1][self::ieee:p]">
                <xsl:attribute name="margin-top">6pt</xsl:attribute>
            </xsl:if>

            <xsl:if test="ancestor::ieee:note or ancestor::ieee:termnote">
                <xsl:attribute name="provisional-distance-between-starts">4mm</xsl:attribute>
            </xsl:if>

            <xsl:variable name="processing_instruction_type" select="normalize-space(preceding-sibling::*[1]/processing-instruction('list-type'))"/>
            <xsl:if test="self::ieee:ul and normalize-space($processing_instruction_type) = 'simple'">
                <xsl:attribute name="provisional-distance-between-starts">0mm</xsl:attribute>
            </xsl:if>

            <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                <xsl:attribute name="line-height">1.3</xsl:attribute>
                <xsl:attribute name="margin-left">6.2mm</xsl:attribute>
                <xsl:attribute name="provisional-distance-between-starts">6.5mm</xsl:attribute>
            </xsl:if>

            <xsl:apply-templates select="node()[not(local-name() = 'note')]"/>
        </fo:list-block>
        <xsl:apply-templates select="./ieee:note"/>
    </xsl:template>

    <!-- <xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name']/text()[1] |
                                *[local-name() = 'image']/*[local-name() = 'name']/text()[1] |
                                *[local-name() = 'table']/*[local-name() = 'name']/text()[1]" priority="2">
        <xsl:choose>
            <xsl:when test="($current_template = 'whitepaper' or $current_template= 'icap-whitepaper' or $current_template = 'industry-connection-report') and contains(., ' — ')">
                <fo:inline color="{$color_blue}"><xsl:value-of select="java:toUpperCase(java:java.lang.String.new(substring-before(., ' — ')))"/></fo:inline> 
                <xsl:text>&#xa0;&#xa0;</xsl:text>
                <xsl:value-of select="substring-after(., ' — ')"/>            
            </xsl:when>
            <xsl:otherwise>
                <xsl:value-of select="."/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template> -->

    <xsl:template match="*[local-name()='table' or local-name()='figure' or local-name() = 'image']/*[local-name() = 'name']/node()[1][self::text()]" priority="2">
        <xsl:choose>
            <xsl:when test="contains(., '—')">
                <xsl:variable name="substring_after" select="substring-after(., '—')"/>
                <xsl:choose>
                    <xsl:when test="ancestor::ieee:table/@unnumbered = 'true' and normalize-space($substring_after) = 'Key'"><!-- no display Table - --></xsl:when>
                    <xsl:otherwise>
                        <fo:inline font-weight="bold" font-style="normal">
                            <xsl:choose>
                                <xsl:when test="$current_template = 'whitepaper' or $current_template= 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                                    <!-- Figure N in blue color -->
                                    <xsl:attribute name="color"><xsl:value-of select="$color_blue"/></xsl:attribute>
                                    <xsl:value-of select="java:toUpperCase(java:java.lang.String.new(substring-before(., '—')))"/> <!-- 'FIgure' 1 to 'FIGURE A' -->
                                    <xsl:text>  </xsl:text>
                                    <xsl:if test="ancestor::*[local-name()='table']">
                                        <xsl:text>   </xsl:text>
                                    </xsl:if>
                                </xsl:when>
                                <xsl:otherwise>
                                    <xsl:value-of select="substring-before(., '—')"/>
                                </xsl:otherwise>
                            </xsl:choose>
                        </fo:inline>
                        <xsl:if test="not($current_template = 'whitepaper' or $current_template= 'icap-whitepaper' or $current_template = 'industry-connection-report')">
                            <xsl:text>—</xsl:text>
                        </xsl:if>
                    </xsl:otherwise>
                </xsl:choose>
                <xsl:value-of select="$substring_after"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:value-of select="."/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

<!--
    <xsl:variable name="example_name_width">25</xsl:variable>
    <xsl:template match="ieee:termexample" priority="2">
        <fo:block id="{@id}" xsl:use-attribute-sets="termexample-style">
        
            <fo:list-block provisional-distance-between-starts="{$example_name_width}mm">                        
                <fo:list-item>
                    <fo:list-item-label end-indent="label-end()">
                        <fo:block><xsl:apply-templates select="*[local-name()='name']" /></fo:block>
                    </fo:list-item-label>
                    <fo:list-item-body start-indent="body-start()">
                        <fo:block>
                            <xsl:apply-templates select="node()[not(local-name() = 'name')]" />
                        </fo:block>
                    </fo:list-item-body>
                </fo:list-item>
            </fo:list-block>
        </fo:block>
    </xsl:template>
    
    <xsl:template match="ieee:example" priority="2">
        <fo:block id="{@id}" xsl:use-attribute-sets="example-style">
        
            <fo:list-block provisional-distance-between-starts="{$example_name_width}mm">                        
                <fo:list-item>
                    <fo:list-item-label end-indent="label-end()">
                        <fo:block>
                            <xsl:apply-templates select="*[local-name()='name']"/>
                        </fo:block>
                    </fo:list-item-label>
                    <fo:list-item-body start-indent="body-start()">
                        <fo:block>
                            <xsl:apply-templates select="node()[not(local-name()='name')]"/>
                        </fo:block>
                    </fo:list-item-body>
                </fo:list-item>
            </fo:list-block>
        
        </fo:block>
    </xsl:template> -->

    <!-- remove space after 'NOTE' without number -->
    <xsl:template match="*[local-name() = 'note' or local-name() = 'termnote']/*[local-name() = 'name']/text()" priority="2">
        <xsl:value-of select="normalize-space()"/>
    </xsl:template>

    <xsl:template match="*[local-name() = 'bibitem'][preceding-sibling::*[local-name() = 'references'][1][not(@normative='true')]]" priority="3">
        <xsl:call-template name="bibitem_non_normative"/>
    </xsl:template>

    <!-- =================== -->
    <!-- Index processing -->
    <!-- =================== -->

    <xsl:template match="ieee:indexsect"/>
    <xsl:template match="ieee:indexsect" mode="index">
        <fo:block id="{@id}" span="all">
            <xsl:apply-templates select="ieee:title"/>
        </fo:block>
        <fo:block role="Index">
            <xsl:apply-templates select="*[not(local-name() = 'title')]"/>
        </fo:block>
    </xsl:template>

    <xsl:template match="ieee:xref" priority="2">
        <xsl:if test="@target and @target != ''">
            <fo:basic-link internal-destination="{@target}" fox:alt-text="{@target}" xsl:use-attribute-sets="xref-style">

                <!-- no highlight term's names -->
                <xsl:if test="normalize-space() != '' and xalan:nodeset($ids)/id[. = current()/@target]/@name = 'term'"> <!-- string-length(normalize-space()) = string-length(translate(normalize-space(), '0123456789', ''))  and not(contains(normalize-space(), 'Annex')) -->
                    <xsl:attribute name="color">inherit</xsl:attribute>
                    <xsl:attribute name="text-decoration">none</xsl:attribute>
                </xsl:if>

                <xsl:if test="not(xalan:nodeset($ids)/id = current()/@target)"> <!-- if reference can't be resolved -->
                    <xsl:attribute name="color">inherit</xsl:attribute>
                    <xsl:attribute name="text-decoration">none</xsl:attribute>
                </xsl:if>

                <xsl:if test="$current_template = 'standard' or $current_template = 'whitepaper' or $current_template= 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                    <xsl:attribute name="color"><xsl:value-of select="$color_blue"/></xsl:attribute>
                    <xsl:attribute name="text-decoration">none</xsl:attribute>
                </xsl:if>

                <xsl:if test="parent::ieee:add">
                    <xsl:call-template name="append_add-style"/>
                </xsl:if>

                <xsl:choose>
                    <xsl:when test="@pagenumber='true' and not(ancestor::ieee:indexsect)">
                        <fo:inline>
                            <xsl:if test="@id">
                                <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
                            </xsl:if>
                            <fo:page-number-citation ref-id="{@target}"/>
                        </fo:inline>
                    </xsl:when>
                    <xsl:otherwise>
                        <xsl:apply-templates/>
                    </xsl:otherwise>
                </xsl:choose>
            </fo:basic-link>
        </xsl:if>
    </xsl:template>

    <!-- Figure 1 to Figure&#xA0;<bold>1</bold> -->
    <xsl:template match="ieee:xref[@to = 'figure' or @to = 'table']/text()" priority="2">
        <xsl:value-of select="."/>
    </xsl:template>

    <xsl:template match="ieee:td/ieee:xref/ieee:strong" priority="2">
        <xsl:apply-templates/>
    </xsl:template>

    <!-- =================== -->
    <!-- End of Index processing -->
    <!-- =================== -->

    <xsl:template match="*[local-name() = 'origin']" priority="3">
        <xsl:variable name="current_bibitemid" select="@bibitemid"/>
        <xsl:variable name="bibitemid">
            <xsl:choose>
                <!-- <xsl:when test="key('bibitems', $current_bibitemid)/*[local-name() = 'uri'][@type = 'citation']"></xsl:when> --><!-- external hyperlink -->
                <xsl:when test="$bibitems/*[local-name() ='bibitem'][@id = $current_bibitemid]/*[local-name() = 'uri'][@type = 'citation']"/><!-- external hyperlink -->
                <xsl:otherwise><xsl:value-of select="@bibitemid"/></xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:choose>
            <xsl:when test="normalize-space($bibitemid) != '' and not($bibitems_hidden/*[local-name() ='bibitem'][@id = $current_bibitemid])">
                <fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
                    <xsl:if test="normalize-space(@citeas) = ''">
                        <xsl:attribute name="fox:alt-text"><xsl:value-of select="@bibitemid"/></xsl:attribute>
                    </xsl:if>
                    <!-- <fo:inline>
                        <xsl:value-of select="$localized.source"/>
                        <xsl:text>: </xsl:text>
                    </fo:inline> -->
                    <fo:inline xsl:use-attribute-sets="origin-style">
                        <xsl:apply-templates/>
                    </fo:inline>
                </fo:basic-link>
            </xsl:when>
            <xsl:otherwise>
                <fo:inline><xsl:apply-templates/></fo:inline>
            </xsl:otherwise>
        </xsl:choose>

    </xsl:template>

    <xsl:template match="ieee:pagebreak[ancestor::ieee:table]" priority="2">
        <fo:block break-after="page"/>
    </xsl:template>

    <xsl:template name="insertFootnoteSeparator">
        <fo:static-content flow-name="xsl-footnote-separator">
            <fo:block>
                <fo:leader leader-pattern="rule" rule-thickness="0.5pt" leader-length="35%">
                    <xsl:if test="$current_template = 'whitepaper' or $current_template= 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                        <xsl:attribute name="rule-thickness">1pt</xsl:attribute>
                        <xsl:attribute name="leader-length">51mm</xsl:attribute>
                    </xsl:if>
                </fo:leader>
            </fo:block>
        </fo:static-content>
    </xsl:template>

    <xsl:template name="insertHeaderFooter">
        <xsl:param name="doctype"/>
        <xsl:param name="document_id"/>
        <xsl:param name="title_prefix"/>
        <xsl:param name="title"/>

        <xsl:param name="copyright_year"/>
        <xsl:param name="copyright_holder"/>

        <xsl:param name="hideHeader" select="'false'"/>
        <xsl:param name="hideFooter" select="'false'"/>

        <xsl:param name="orientation"/>

        <xsl:variable name="header">
            <fo:block font-family="Arial" font-size="8pt" text-align="center">
                <!-- P<designation>/D<draft_number>, <draft_month> <draft_year>
                Draft<opt_Trial-Use><Gde./Rec. Prac./Std.> for <Complete Title Matching PAR>
                 -->

                <!-- IEEE P<designation>/D<draft_number>, <draft_month> <draft_year> -->
                <!-- <xsl:when test="$current_template = 'draft1' and contains('amendment corrigendum erratum', $subdoctype) and $subdoctype != ''">
                    <xsl:attribute name="text-align">right</xsl:attribute>
                    <fo:block>
                        <xsl:value-of select="$document_id"/>
                    </fo:block>
                </xsl:when> -->

                <fo:block>
                    <xsl:value-of select="$document_id"/>
                </fo:block>
                <fo:block>
                    <xsl:copy-of select="$title_prefix"/>
                    <xsl:copy-of select="$title"/>
                </fo:block>

            </fo:block>
        </xsl:variable>

        <xsl:variable name="copyrightText">
            <xsl:text>Copyright © </xsl:text>
            <xsl:value-of select="$copyright_year"/>
            <xsl:text> </xsl:text>
            <xsl:value-of select="$copyright_holder"/>
            <xsl:text>. </xsl:text>
            <xsl:variable name="all_rights_reserved">
                <xsl:call-template name="getLocalizedString">
                    <xsl:with-param name="key">all_rights_reserved</xsl:with-param>
                </xsl:call-template>
            </xsl:variable>
            <xsl:value-of select="$all_rights_reserved"/>
            <xsl:text>.</xsl:text>
        </xsl:variable>

        <xsl:variable name="footer">
            <xsl:choose>
                <xsl:when test="$current_template = 'whitepaper' or $current_template= 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                    <fo:block margin-bottom="8mm">
                        <xsl:if test="$current_template = 'whitepaper' or $current_template= 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                            <xsl:attribute name="margin-bottom">10.5mm</xsl:attribute>
                        </xsl:if>
                        <fo:table width="100%" table-layout="fixed" font-size="7pt">
                            <fo:table-body>
                                <fo:table-row>
                                    <fo:table-cell>
                                        <fo:block font-weight="bold" font-family="Calibri"><fo:inline font-size="10pt"><fo:page-number/></fo:inline>
                                            <xsl:text>   IEEE </xsl:text>
                                            <xsl:choose>
                                                <xsl:when test="$current_template = 'icap-whitepaper'">CONFORMITY ASSESSMENT PROGRAM (ICAP)</xsl:when>
                                                <xsl:otherwise>SA</xsl:otherwise>
                                            </xsl:choose>
                                            </fo:block> <!--  INDUSTRY CONNECTIONS -->
                                    </fo:table-cell>
                                    <fo:table-cell text-align="right" font-family="Calibri Light">
                                        <xsl:if test="$current_template = 'whitepaper' or $current_template= 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                                            <xsl:attribute name="font-family">Arial</xsl:attribute>
                                        </xsl:if>
                                        <fo:block>
                                            <xsl:value-of select="$copyrightText"/>
                                        </fo:block>
                                    </fo:table-cell>
                                </fo:table-row>
                            </fo:table-body>
                        </fo:table>
                    </fo:block>
                </xsl:when>
                <xsl:otherwise>
                    <fo:block text-align="center" margin-bottom="12.7mm">
                        <xsl:if test="$current_template = 'standard'">
                            <xsl:attribute name="margin-bottom">8.5mm</xsl:attribute>
                        </xsl:if>
                        <fo:block> <!-- font-weight="bold" -->
                            <xsl:if test="$current_template = 'standard'">
                                <xsl:attribute name="font-family">Times New Roman</xsl:attribute>
                                <xsl:attribute name="font-weight">normal</xsl:attribute>
                            </xsl:if>
                            <fo:page-number/>
                        </fo:block>
                        <!-- Copyright © 2022 IEEE. All rights reserved. -->
                        <fo:block font-family="Arial" font-size="8pt">
                            <fo:block>
                                <xsl:value-of select="$copyrightText"/>
                            </fo:block>
                            <xsl:choose>
                                <xsl:when test="$current_template = 'standard'"/>
                                <xsl:otherwise>
                                    <fo:block>This is an unapproved IEEE Standards Draft, subject to change.</fo:block>
                                </xsl:otherwise>
                            </xsl:choose>
                        </fo:block>
                    </fo:block>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:choose>
            <xsl:when test="$orientation = 'landscape'">
                <xsl:if test="$hideHeader = 'false'">
                    <fo:static-content flow-name="right-region-landscape" role="artifact">
                        <fo:block-container reference-orientation="270" margin-left="13mm">
                            <xsl:copy-of select="$header"/>
                        </fo:block-container>
                    </fo:static-content>
                </xsl:if>
                <xsl:if test="$hideFooter = 'false'">
                    <fo:static-content flow-name="left-region-landspace" role="artifact">
                        <fo:block-container reference-orientation="270" margin-left="13mm">
                            <xsl:copy-of select="$footer"/>
                        </fo:block-container>
                    </fo:static-content>
                </xsl:if>
            </xsl:when>
            <xsl:otherwise>
                <xsl:if test="$hideHeader = 'false'">
                    <fo:static-content flow-name="header" role="artifact">
                        <fo:block-container margin-top="12.7mm">
                            <xsl:copy-of select="$header"/>
                        </fo:block-container>
                    </fo:static-content>
                </xsl:if>
                <xsl:if test="$hideFooter = 'false'">
                    <fo:static-content flow-name="footer" role="artifact">
                        <fo:block-container display-align="after" height="100%">
                            <xsl:copy-of select="$footer"/>
                        </fo:block-container>
                    </fo:static-content>
                </xsl:if>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:variable name="Image-IEEE-Logo-white-svg">
        <svg xmlns="http://www.w3.org/2000/svg" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" id="svg20" height="28.959999mm" width="100.58mm" version="1.0">
            <defs id="defs6">
                <clipPath id="clipEmfPath1" clipPathUnits="userSpaceOnUse">
                    <path id="path2" d="  M 0,0   L 0,0   L 0,111.18683   L 381.87252,111.18683   L 381.87252,0 "/>
                </clipPath>
                <pattern y="0" x="0" height="6" width="6" patternUnits="userSpaceOnUse" id="EMFhbasepattern"/>
            </defs>
            <path id="path8" d="  M 127.12414,13.810785   L 127.12414,13.810785   L 150.42857,13.810785   L 150.42857,98.076589   L 127.12414,98.076589   L 127.12414,13.810785   z " clip-path="url(#clipEmfPath1)" style="fill:#ffffff;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path10" d="  M 162.63088,98.076589   L 162.63088,98.076589   L 162.63088,13.810785   L 226.84308,13.810785   L 226.84308,30.123524   L 186.03533,30.123524   L 186.03533,47.537122   L 223.54245,47.537122   L 223.54245,63.849861   L 186.03533,63.849861   L 186.03533,81.76385   L 226.84308,81.76385   L 226.84308,98.076589   L 162.63088,98.076589   z " clip-path="url(#clipEmfPath1)" style="fill:#ffffff;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path12" d="  M 239.84555,98.076589   L 239.84555,98.076589   L 239.84555,13.810785   L 304.05774,13.810785   L 304.05774,30.123524   L 263.24999,30.123524   L 263.24999,47.537122   L 300.75711,47.537122   L 300.75711,63.849861   L 263.24999,63.849861   L 263.24999,81.76385   L 304.05774,81.76385   L 304.05774,98.076589   L 239.84555,98.076589   z " clip-path="url(#clipEmfPath1)" style="fill:#ffffff;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path14" d="  M 317.06021,13.810785   L 317.06021,13.810785   L 317.06021,98.076589   L 381.2724,98.076589   L 381.2724,81.76385   L 340.46465,81.76385   L 340.46465,63.849861   L 377.97178,63.849861   L 377.97178,47.537122   L 340.46465,47.537122   L 340.46465,30.123524   L 381.2724,30.123524   L 381.2724,13.810785   L 317.06021,13.810785   z " clip-path="url(#clipEmfPath1)" style="fill:#ffffff;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path16" d="  M 53.210105,64.45033   L 53.210105,64.45033   C 52.810029,70.354941 52.810029,75.859239 52.309934,81.863928   C 54.71039,82.064085 57.310883,82.264241 59.811358,81.863928   L 59.111225,65.250955   L 59.011206,64.45033   C 57.110845,64.550408 55.210485,64.650486 53.210105,64.45033   z  M 38.507313,47.737279   L 38.507313,47.737279   C 35.606762,49.138373 31.305945,51.340092 31.80604,55.343218   C 32.406154,57.544937 34.706591,58.946032 36.606952,59.846735   C 46.908908,64.350252 60.511491,64.45033 71.413561,61.147751   C 74.114074,60.046891 77.614739,58.545719 78.114834,55.343218   C 78.114834,52.54103 75.214283,50.839701 73.213903,49.83892   L 73.213903,49.738842   C 73.914036,49.438607 74.714188,49.138373 75.51434,49.038295   L 75.51434,49.038295   C 71.813637,48.337747 68.312973,47.437044 64.812308,46.436263   C 65.512441,48.037513 66.012536,49.638763 66.512631,51.240014   C 67.61284,50.939779 68.713049,50.639545 69.813258,50.539467   C 71.713618,51.240014 74.314112,52.240795 74.614169,54.542593   C 74.814207,56.744312 72.413751,57.845172 70.913467,58.745875   C 63.011966,61.648142 54.010257,61.848298 45.70868,59.646579   C 43.408243,58.946032 40.107616,58.045328 39.807559,55.143062   C 41.507882,51.240014 45.70868,50.439389 49.209345,49.538685   C 47.409003,48.337747 45.508642,47.336966 43.808319,46.03595   C 41.907958,46.136028 40.207635,46.936653 38.507313,47.737279   z  M 56.010636,24.519147   L 56.010636,24.519147   L 55.010447,27.821726   L 49.809459,42.633293   C 51.109706,42.733371 52.71001,42.633293 54.010257,42.733371   L 54.010257,42.833449   L 53.310124,59.646579   L 53.410143,59.846735   C 55.010447,59.946813 57.110845,60.046891 58.811168,59.746657   L 58.811168,59.5465   L 58.111035,43.233762   L 58.211054,42.733371   L 62.811928,42.633293   C 60.511491,36.628604 58.311073,30.523836 56.210674,24.519147   L 56.010636,24.519147   z  M 53.610181,17.013286   L 53.610181,17.013286   C 57.410902,14.511332 60.911567,18.114146 63.812118,20.115709   C 75.214283,29.322899 85.916316,39.831105 94.117873,51.740405   C 95.218082,53.241577 95.618158,55.643453 94.717987,57.344781   C 92.617588,60.847516 89.717037,64.150095 87.016525,67.352596   L 87.016525,67.552753   C 80.215233,74.75838 73.113884,82.164163 65.312403,88.26893   C 61.6117,90.570728 58.111035,95.574635 53.310124,92.472213   C 42.208015,84.46596 31.606002,74.358067 22.604293,63.549627   C 21.104008,61.247829 18.703552,59.246266 17.703362,56.544156   C 16.203077,52.941342 19.503704,50.33931 21.304046,47.537122   C 30.505793,36.328369 41.807939,25.219694 53.610181,17.013286   z  M 63.212004,6.3049236   L 63.212004,6.3049236   L 59.011206,0.30023446   C 58.511111,0 57.810978,-0.40031261 57.210864,-0.60046891   C 56.010636,-1.1008597 54.71039,-0.50039076 53.610181,0.2001563   L 46.008737,10.107893   C 33.80642,25.319772 19.303666,39.430792 3.6006838,50.239232   C 2.3004369,51.240014 0.50009497,52.140717 0.10001899,53.842046   C -0.20003799,55.24314 0.40007597,56.444078 1.3002469,57.344781   C 13.90264,66.05158 26.004938,76.35963 36.80699,88.168852   C 38.707351,90.170415 40.207635,92.171978 42.107996,94.073463   C 45.208585,98.276745 48.909288,102.48003 51.809839,106.98354   C 52.71001,107.88425 52.910048,109.4855 54.310314,109.98589   C 55.410523,110.28612 56.810788,110.58636 57.910997,109.98589   L 58.911187,108.88503   C 72.013675,90.370571 88.616828,73.65752 107.12034,60.247048   C 109.0207,58.645797 112.52137,57.94525 112.52137,54.942905   C 112.42135,53.441733 111.6212,52.040639 110.42097,51.340092   L 110.12091,51.240014   C 100.51909,44.734934 91.617398,37.429229 83.315822,29.122742   L 74.014055,19.415162   C 70.313353,15.311957 66.61265,10.708362 63.212004,6.3049236   z  M 52.309934,14.811567   L 52.309934,14.811567   C 56.010636,11.9093 60.711529,14.311176 63.812118,16.913208   C 67.112745,19.415162 70.513391,22.317428 73.51396,25.219694   L 74.014055,25.519929   C 82.315632,33.225946 90.017094,41.732589 96.41831,50.839701   C 97.4185,52.440952 98.318671,54.14228 97.718557,56.243921   C 95.618158,61.548064 91.317341,65.751346 87.616638,70.354941   C 79.5151,79.06174 70.913467,87.568383 61.311643,94.273619   C 59.411282,95.674713 56.810788,96.975729 54.410333,95.87487   C 47.409003,92.171978 41.507882,86.067211 35.306705,80.562912   C 28.105337,73.957754 20.90397,66.251737 15.502944,58.145406   C 14.702792,57.044547 14.502754,55.643453 14.502754,54.14228   C 15.202887,51.340092 17.103248,49.038295 18.90359,46.636419   C 25.304805,38.530089 33.206306,30.723993 41.107806,23.618444   C 41.307844,23.418288 41.607901,23.118053 41.907958,22.917897   C 45.308604,19.915552 48.70925,17.31352 52.309934,14.811567   z " clip-path="url(#clipEmfPath1)" style="fill:#ffffff;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path18" d="  M 75.214283,101.97964   L 75.214283,101.97964   L 74.414131,101.97964   L 74.414131,100.97886   L 75.114264,100.97886   C 75.414321,100.97886 75.914416,100.97886 75.914416,101.47925   C 75.914416,101.87956 75.714378,101.97964 75.214283,101.97964   z  M 76.814587,101.47925   L 76.814587,101.47925   C 76.814587,100.57854 76.214473,100.27831 75.114264,100.27831   L 73.51396,100.27831   L 73.51396,104.48159   L 74.414131,104.48159   L 74.414131,102.68018   L 74.914226,102.68018   L 75.814397,104.48159   L 76.914606,104.48159   L 75.814397,102.58011   C 76.414511,102.58011 76.814587,102.27987 76.814587,101.47925   z  M 75.114264,105.38229   L 75.114264,105.38229   L 75.114264,105.38229   C 73.51396,105.38229 72.313732,104.18136 72.313732,102.37995   C 72.313732,100.57854 73.51396,99.377605 75.114264,99.377605   C 76.614549,99.377605 77.914796,100.57854 77.914796,102.37995   C 77.914796,104.18136 76.614549,105.38229 75.114264,105.38229   z  M 75.114264,98.476902   L 75.114264,98.476902   C 73.013865,98.476902 71.213524,99.877996 71.213524,102.37995   C 71.213524,104.8819 73.013865,106.283 75.114264,106.283   C 77.214663,106.283 79.015005,104.8819 79.015005,102.37995   C 79.015005,99.877996 77.214663,98.476902 75.114264,98.476902   z " clip-path="url(#clipEmfPath1)" style="fill:#ffffff;fill-rule:evenodd;fill-opacity:1;stroke:none;"/>
        </svg>
    </xsl:variable>

    <xsl:variable name="Image-IEEE-Logo-black-svg">
        <svg xmlns="http://www.w3.org/2000/svg" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" id="svg25" height="10.93mm" width="38.099998mm" version="1.0">
            <defs id="defs9">
                <clipPath id="clipEmfPath1" clipPathUnits="userSpaceOnUse">
                    <path id="path2" d="  M 0,0   L 0,0   L 0,43.035379   L 145.74211,43.035379   L 145.74211,0 "/>
                </clipPath>
                <clipPath id="clipEmfPath2" clipPathUnits="userSpaceOnUse">
                    <path id="path5" d="  M 0,0   L 0,0   L 0,43.035379   L 145.44203,43.035379   L 145.44203,0 "/>
                </clipPath>
                <pattern y="0" x="0" height="6" width="6" patternUnits="userSpaceOnUse" id="EMFhbasepattern"/>
            </defs>
            <path id="path11" d="  M 41.411966,19.716208   L 41.411966,19.716208   C 39.911533,18.214974 35.110145,15.112424 31.00896,11.109133   C 27.007804,7.0057594 23.906908,2.2018101 22.406475,0.70057594   C 21.406186,-0.30024683 20.806012,-0.30024683 19.705694,0.70057594   C 18.305289,2.2018101 15.104365,7.1058416 11.103208,11.109133   C 7.1020522,15.112424 2.3006648,18.415139 0.70020233,19.716208   C -0.20005781,20.717031 -0.20005781,21.317525 0.70020233,22.41843   C 2.3006648,23.819582 7.1020522,27.022215 11.103208,31.025506   C 15.104365,34.928714 18.305289,39.832746 19.705694,41.434062   C 20.806012,42.434885 21.406186,42.434885 22.406475,41.434062   C 23.806879,39.832746 27.007804,35.028797 31.00896,31.025506   C 35.110145,26.922132 39.911533,23.7195 41.411966,22.41843   C 42.512284,21.317525 42.512284,20.717031 41.411966,19.716208   z  M 36.610579,22.118183   L 36.610579,22.118183   C 34.509972,24.920487 32.209307,27.622708 29.808613,30.124765   C 27.40792,32.426658 24.907197,34.628468 22.206417,36.630113   C 21.506214,37.130525 20.605954,37.130525 19.905752,36.630113   C 17.204972,34.528385 14.60422,32.326575 12.203526,29.924601   C 9.8028326,27.522626 7.6021967,25.020569 5.6016186,22.318348   C 5.1014741,21.617772 5.1014741,20.616949 5.6016186,19.916373   C 7.6021967,17.214152 9.8028326,14.612012 12.203526,12.210038   C 14.60422,9.8080631 17.204972,7.606253 19.905752,5.5045252   C 20.605954,5.0041138 21.606243,5.0041138 22.306446,5.5045252   C 25.007226,7.606253 27.507949,9.8080631 29.908642,12.210038   C 32.309336,14.612012 34.610001,17.214152 36.610579,20.016455   C 37.110723,20.616949 37.110723,21.517689 36.610579,22.118183   L 36.610579,22.118183   z " clip-path="url(#clipEmfPath2)" style="fill:#000000;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path13" d="  M 35.510261,20.116538   L 35.510261,20.116538   C 33.609712,17.514398 31.509105,15.112424 29.308469,12.810531   C 27.107833,10.608721 24.707139,8.5069935 22.206417,6.6054302   C 21.506214,6.2051011 20.605954,6.2051011 20.005781,6.6054302   C 17.505058,8.5069935 15.104365,10.608721 12.903729,12.810531   C 10.603064,15.112424 8.6024858,17.414316 6.7019366,20.016455   C 6.2017921,20.616949 6.2017921,21.517689 6.7019366,22.218265   C 8.6024858,24.720322 10.603064,27.022215 12.8037,29.324107   C 15.104365,31.525917 17.505058,33.527563 20.005781,35.429126   C 20.605954,35.929537 21.506214,35.929537 22.206417,35.429126   C 24.60711,33.627645 27.007804,31.625999 29.20844,29.424189   C 31.409076,27.122297 33.609712,24.62024 35.510261,22.018101   C 36.010406,21.517689 36.010406,20.616949 35.510261,20.116538   z  M 21.00607,9.9081454   L 21.00607,9.9081454   L 23.406764,16.613658   L 21.806301,16.613658   L 22.106388,23.018924   C 21.406186,23.119006 20.705983,23.119006 20.005781,23.018924   L 20.305868,16.613658   L 18.705405,16.613658   L 21.00607,9.9081454   L 21.00607,9.9081454   z  M 19.705694,31.325753   L 19.705694,31.325753   L 20.005781,24.720322   C 20.705983,24.820405 21.506214,24.820405 22.206417,24.720322   L 22.506503,31.425835   C 21.606243,31.525917 20.605954,31.525917 19.705694,31.325753   z  M 20.705983,24.319993   L 20.705983,24.319993   C 15.904596,24.319993 11.90344,22.818759 11.90344,20.917196   C 11.90344,19.516044 13.70396,18.415139 16.504769,17.814645   L 18.605376,19.215797   C 16.40474,19.616126 14.904307,20.316702 14.904307,21.217443   C 14.904307,22.518512 17.905174,23.619417 21.506214,23.619417   C 24.60711,23.619417 28.108122,22.518512 28.108122,21.217443   C 28.108122,20.416784 27.207862,20.016455 26.307602,19.516044   L 25.107255,19.816291   L 24.407053,18.01481   L 28.408209,18.91555   L 27.507949,19.215797   C 27.507949,19.215797 29.108411,20.016455 29.408498,20.917196   C 30.008671,22.818759 25.907486,24.319993 20.705983,24.319993   z " clip-path="url(#clipEmfPath1)" style="fill:#000000;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path15" d="  M 28.30818,37.530854   L 28.30818,37.530854   C 27.507949,37.530854 26.807746,38.131347 26.807746,39.032088   C 26.807746,39.832746 27.507949,40.43324 28.30818,40.43324   C 29.108411,40.43324 29.808613,39.832746 29.808613,39.032088   L 29.808613,38.932006   C 29.808613,38.23143 29.20844,37.530854 28.408209,37.530854   C 28.408209,37.530854 28.30818,37.530854 28.30818,37.530854   z  M 28.30818,40.132993   L 28.30818,40.132993   L 28.30818,40.132993   C 27.708006,40.132993 27.107833,39.732664 27.107833,39.032088   C 27.007804,38.431594 27.507949,37.931183 28.108122,37.8311   C 28.808324,37.8311 29.308469,38.23143 29.408498,38.932006   C 29.408498,38.932006 29.408498,38.932006 29.408498,38.932006   C 29.408498,39.532499 29.008382,40.032911 28.408209,40.132993   C 28.30818,40.132993 28.30818,40.132993 28.30818,40.132993   z  M 29.008382,38.631759   L 29.008382,38.631759   C 29.008382,38.331512 28.708296,38.23143 28.30818,38.23143   L 27.708006,38.23143   L 27.708006,39.732664   L 28.108122,39.732664   L 28.108122,39.13217   L 28.208151,39.13217   L 28.608267,39.732664   L 29.008382,39.732664   L 28.608267,39.13217   C 28.808324,39.13217 29.008382,38.932006 29.008382,38.731841   C 29.008382,38.731841 29.008382,38.731841 29.008382,38.631759   z  M 28.408209,38.831923   L 28.408209,38.831923   L 28.108122,38.831923   L 28.108122,38.531676   L 28.30818,38.531676   C 28.408209,38.531676 28.608267,38.531676 28.608267,38.631759   C 28.608267,38.831923 28.508238,38.831923 28.408209,38.831923   z " clip-path="url(#clipEmfPath1)" style="fill:#000000;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path17" d="  M 48.113903,5.5045252   L 48.113903,5.5045252   L 57.016475,5.5045252   L 57.016475,37.430771   L 48.113903,37.430771   L 48.113903,5.5045252   z " clip-path="url(#clipEmfPath1)" style="fill:#000000;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path19" d="  M 61.617805,37.430771   L 61.617805,37.430771   L 61.617805,5.5045252   L 86.024858,5.5045252   L 86.024858,11.709626   L 70.520377,11.709626   L 70.520377,18.315057   L 84.724482,18.315057   L 84.724482,24.420075   L 70.520377,24.420075   L 70.520377,31.22567   L 86.024858,31.22567   L 86.024858,37.430771   L 61.617805,37.430771   z " clip-path="url(#clipEmfPath1)" style="fill:#000000;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path21" d="  M 90.926274,37.430771   L 90.926274,37.430771   L 90.926274,5.5045252   L 115.33333,5.5045252   L 115.33333,11.709626   L 99.828846,11.709626   L 99.828846,18.315057   L 114.03295,18.315057   L 114.03295,24.420075   L 99.828846,24.420075   L 99.828846,31.22567   L 115.33333,31.22567   L 115.33333,37.430771   L 90.926274,37.430771   z " clip-path="url(#clipEmfPath1)" style="fill:#000000;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path23" d="  M 120.23474,5.5045252   L 120.23474,5.5045252   L 120.23474,37.430771   L 144.6418,37.430771   L 144.6418,31.22567   L 129.13732,31.22567   L 129.13732,24.420075   L 143.34142,24.420075   L 143.34142,18.315057   L 129.13732,18.315057   L 129.13732,11.709626   L 144.6418,11.709626   L 144.6418,5.5045252   L 120.23474,5.5045252   z " clip-path="url(#clipEmfPath1)" style="fill:#000000;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
        </svg>
    </xsl:variable>

    <!-- <xsl:variable name="Image-IEE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gIQEAAAAQJCQAAAAAgoQEAAAAQJCQAAAAAAgSEgAAAABBQgIAAAAgSEgAAAAABAkJAAAAgCAhAQAAABAkJAAAAACChAQAAABAkJAAAAAACBISAAAAAEFCAgAAACBISAAAAAAECQkAAACAICEBAAAAECQkAAAAAIKEBAAAAECQkAAAAAAIEhIAAAAAQUICAAAAIEhIAAAAAAQJCQAAAIAgIQEAAAAQJCQAAAAAgoQEAAAAQJCQAAAAAAgSEgAAAABBQgIAAAAgSEgAAAAABAkJAAAAgCAhAQAAABAkJAAAAACChAQAAABAkJAAAAAACBISAAAAAEFCAgAAACBISAAAAAAECQkAAACAICEBAAAAECQkAAAAAIKEBAAAAECQkAAAAAAIEhIAAAAAQUICAAAAIEhIAAAAAAQJCQAAAIAgIQEAAAAQJCQAAAAAgoQEAAAAQJCQAAAAAAgSEgAAAABBQgIAAAAgSEgAAAAABAkJAAAAgCAhAQAAABAkJAAAAACChAQAAABAkJAAAAAACBISAAAAAEFCAgAAACBISAAAAAAECQkAAACAICEBAAAAECQkAAAAAIKEBAAAAECQkAAAAAAIEhIAAAAAQUICAAAAIEhIAAAAAAQJCQAAAIAgIQEAAAAQJCQAAAAAgoQEAAAAQJCQAAAAAAgSEgAAAABBQgIAAAAgSEgAAAAABAkJAAAAgCAhAQAAABAkJAAAAACChAQAAABAkJAAAAAACBISAAAAAEFCAgAAACBISAAAAAAECQkAAACAICEBAAAAECQkAAAAAIKEBAAAAECQkAAAAAAIEhIAAAAAQUICAAAAIEhIAAAAAAQJCQAAAIAgIQEAAAAQ1uM4/rr1++f9710KAAAAAN+Dnz59/VtHfwK9MV3xT1B/HwAAAABJRU5ErkJggg==</xsl:text>
    </xsl:variable>
     -->
    <xsl:template name="insert_Image-IEEE2-Logo-svg">
        <xsl:param name="color">000000</xsl:param>
        <svg xmlns="http://www.w3.org/2000/svg" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" id="svg65" height="63.240002mm" width="110.48mm" version="1.0">
            <defs id="defs9">
                <clipPath id="clipEmfPath1" clipPathUnits="userSpaceOnUse">
                    <path id="path2" d="  M 0,0   L 0,0   L 0,240.77024   L 419.3077,240.77024   L 419.3077,0 "/>
                </clipPath>
                <clipPath id="clipEmfPath2" clipPathUnits="userSpaceOnUse">
                    <path id="path5" d="  M 0,1.100321   L 0,1.100321   L 0,240.67021   L 418.40768,240.67021   L 418.40768,1.100321 "/>
                </clipPath>
                <pattern y="0" x="0" height="6" width="6" patternUnits="userSpaceOnUse" id="EMFhbasepattern"/>
            </defs>
            <path id="path11" d="  M 0,207.46052   L 0,207.46052   L 416.20764,207.46052   L 416.20764,239.86997   L 0,239.86997   L 0,207.46052   z " clip-path="url(#clipEmfPath2)" style="fill:#00adee;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path13" d="  M 2.2000404,137.54012   L 2.2000404,137.54012   C 2.4000441,135.63957 2.5000459,134.23916 2.5000459,132.43863   L 2.9000533,132.23858   C 4.4000808,133.3389 6.4001175,134.53925 9.9001818,134.53925   C 13.000239,134.53925 14.800272,133.23887 14.800272,131.53837   C 14.800272,129.83788 13.000239,128.83758 10.000184,127.73726   L 8.4001543,127.13709   C 6.2001139,126.23683 2.3000422,124.53633 2.3000422,120.13505   C 2.3000422,115.63373 5.7001047,112.4328 12.600231,112.4328   C 16.300299,112.4328 18.50034,113.03297 20.200371,113.73318   L 20.400375,113.93324   C 20.300373,115.63373 20.100369,116.93411 20.100369,118.73464   L 19.700362,118.9347   C 17.000312,117.03414 14.400264,116.83408 13.500248,116.83408   C 10.800198,116.83408 9.4001726,118.03443 9.4001726,119.33481   C 9.4001726,121.13534 11.200206,121.73551 13.700252,122.63578   L 15.700288,123.33598   C 19.400356,124.63636 21.8004,126.837 21.8004,130.9382   C 21.8004,135.83963 17.700325,139.14059 10.800198,139.14059   C 6.4001175,139.14059 4.300079,138.44039 2.5000459,137.84021   L 2.2000404,137.54012   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path15" d="  M 37.900696,138.64044   L 37.900696,138.64044   L 36.50067,138.64044   C 34.30063,138.64044 32.800602,138.64044 30.600562,138.74047   L 30.400558,138.54041   C 30.600562,132.43863 30.700564,128.13738 30.700564,122.0356   C 30.700564,120.43513 30.600562,118.53458 30.600562,117.63432   C 28.600525,117.63432 26.500487,117.73435 24.000441,117.83437   L 23.800437,117.63432   C 23.900439,115.93382 24.000441,114.73347 24.100443,113.133   L 24.400448,112.93294   L 37.700692,112.93294   C 40.200738,112.93294 42.000771,112.93294 44.500817,112.83292   L 44.700821,113.03297   C 44.600819,114.73347 44.500817,115.93382 44.400815,117.53429   L 44.200812,117.73435   C 41.90077,117.63432 40.200738,117.63432 37.900696,117.63432   C 37.800694,119.6349 37.800694,121.03531 37.800694,123.03589   C 37.800694,124.93645 37.900696,137.03998 38.1007,138.34036   L 37.900696,138.64044   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path17" d="  M 55.301016,116.93411   L 55.301016,116.93411   C 54.801007,118.53458 54.400999,119.6349 51.900953,127.33715   C 52.900972,127.43718 54.000992,127.43718 55.00101,127.43718   C 56.001029,127.43718 57.001047,127.43718 58.101067,127.33715   C 58.101067,127.33715 56.001029,119.33481 55.301016,116.93411   L 55.301016,116.93411   z  M 68.401256,138.64044   L 68.401256,138.64044   L 67.101232,138.64044   C 64.901192,138.64044 63.401164,138.64044 61.301126,138.74047   L 61.00112,138.54041   C 60.401109,135.93966 59.9011,134.23916 59.201087,131.73843   C 58.401073,131.73843 56.301034,131.73843 54.901008,131.73843   C 53.400981,131.73843 51.300942,131.73843 50.400926,131.73843   C 49.700913,134.23916 49.100902,135.93966 48.400889,138.34036   L 48.200885,138.64044   L 41.800768,138.64044   L 41.600764,138.34036   C 45.300832,129.03764 47.800878,122.53575 51.100939,113.133   L 51.400944,112.93294   L 53.200977,112.93294   C 55.901027,112.93294 57.801062,112.93294 60.501111,112.83292   L 60.701115,113.03297   C 63.301163,122.0356 65.301199,128.33744 68.201253,137.34006   L 68.60126,138.34036   L 68.401256,138.64044   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path19" d="  M 95.601756,138.64044   L 95.601756,138.64044   L 93.201712,138.64044   C 92.201693,138.64044 91.301677,138.64044 90.301659,138.74047   L 90.001653,138.54041   C 85.001561,131.83846 78.701445,124.03618 77.001414,121.13534   C 77.101416,122.63578 77.501423,134.63928 77.801429,138.34036   L 77.501423,138.64044   L 74.801374,138.64044   C 73.701354,138.64044 72.701335,138.64044 71.601315,138.74047   L 71.401311,138.54041   C 71.501313,135.7396 71.501313,133.03881 71.501313,130.33802   C 71.501313,124.63636 71.501313,118.83467 71.201308,113.133   L 71.401311,112.93294   L 73.701354,112.93294   C 74.801374,112.93294 77.001414,112.83292 78.101434,112.83292   L 78.40144,113.03297   C 79.101453,114.33335 86.801594,123.93615 90.301659,129.03764   C 90.101655,124.13621 89.801649,114.33335 89.701648,113.133   L 89.901651,112.93294   L 92.201693,112.93294   C 92.801704,112.93294 95.601756,112.83292 95.601756,112.83292   L 95.901761,113.03297   C 95.80176,117.2342 95.80176,121.53545 95.80176,125.73668   C 95.80176,127.5372 95.80176,134.13913 95.901761,138.44039   L 95.601756,138.64044   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path21" d="  M 116.60214,132.03852   L 116.60214,132.03852   C 118.90218,129.83788 118.90218,125.83671 118.90218,125.23653   C 118.90218,122.7358 118.50218,120.53516 116.90215,119.13475   C 115.30212,117.53429 112.90207,117.53429 112.00206,117.53429   C 111.00204,117.53429 110.00202,117.53429 109.102,117.63432   C 109.002,119.53487 109.002,121.53545 109.002,123.53604   C 109.002,126.837 109.20201,131.33831 109.20201,133.93907   C 112.30206,133.93907 114.6021,133.83904 116.60214,132.03852   L 116.60214,132.03852   z  M 101.90187,138.44039   L 101.90187,138.44039   C 101.90187,135.33948 102.00187,131.6384 102.00187,129.03764   C 102.00187,123.7361 102.00187,118.43455 101.70187,113.133   L 101.90187,112.93294   C 106.30195,112.83292 108.60199,112.73289 112.60207,112.73289   C 116.50214,112.73289 119.8022,112.93294 122.70225,115.5337   C 125.80231,118.13446 126.40232,121.53545 126.40232,125.03648   C 126.40232,128.13738 125.90231,131.23828 123.90228,133.83904   C 120.80222,138.1403 115.60212,138.64044 109.90202,138.64044   L 102.10188,138.64044   L 101.90187,138.44039   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path23" d="  M 140.20258,116.93411   L 140.20258,116.93411   C 139.70257,118.53458 139.30256,119.6349 136.70251,127.33715   C 137.80253,127.43718 138.90255,127.43718 139.90257,127.43718   C 140.90259,127.43718 141.90261,127.43718 142.90262,127.33715   C 142.90262,127.33715 140.90259,119.33481 140.20258,116.93411   L 140.20258,116.93411   z  M 153.20281,138.64044   L 153.20281,138.64044   L 151.90279,138.64044   C 149.80275,138.64044 148.30272,138.64044 146.20269,138.74047   L 145.90268,138.54041   C 145.30267,135.93966 144.80266,134.23916 144.10265,131.73843   C 143.30263,131.73843 141.20259,131.73843 139.80257,131.73843   C 138.30254,131.73843 136.1025,131.73843 135.30249,131.73843   C 134.50247,134.23916 134.00246,135.93966 133.30245,138.34036   L 133.00244,138.64044   L 126.70233,138.64044   L 126.50232,138.34036   C 130.20239,129.03764 132.70244,122.53575 136.0025,113.133   L 136.3025,112.93294   L 138.10254,112.93294   C 140.80259,112.93294 142.70262,112.93294 145.30267,112.83292   L 145.60267,113.03297   C 148.20272,122.0356 150.20276,128.33744 153.10281,137.34006   L 153.40282,138.34036   L 153.20281,138.64044   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path25" d="  M 163.303,124.4363   L 163.303,124.4363   L 164.00301,124.4363   C 166.60306,124.4363 169.80312,123.83613 169.80312,120.53516   C 169.80312,117.33423 166.90307,117.2342 165.00303,117.2342   C 164.40302,117.2342 164.00301,117.2342 163.403,117.33423   C 163.303,118.9347 163.303,120.03502 163.303,121.53545   L 163.303,124.4363   L 163.303,124.4363   z  M 163.403,138.64044   L 163.403,138.64044   L 161.80297,138.64044   C 159.80294,138.64044 158.40291,138.64044 156.50287,138.74047   L 156.20287,138.54041   C 156.30287,134.93936 156.40287,132.63869 156.40287,130.43805   C 156.40287,124.03618 156.30287,119.53487 156.00287,113.133   L 156.30287,112.93294   L 158.50291,112.93294   C 160.60295,112.93294 164.60302,112.83292 167.50308,112.83292   C 169.50311,112.83292 177.00325,113.03297 177.00325,120.13505   C 177.00325,122.23566 176.40324,124.53633 173.40318,126.33685   C 172.60317,126.837 171.70315,127.03706 171.40315,127.23712   C 173.00318,129.53779 177.30326,135.7396 179.30329,138.1403   L 179.10329,138.54041   C 176.30324,138.54041 174.3032,138.64044 171.50315,138.74047   L 171.20314,138.64044   C 170.80314,137.84021 168.20309,132.93878 165.70304,129.2377   L 165.30304,128.63753   C 164.50302,128.63753 163.70301,128.63753 163.303,128.63753   L 163.303,130.33802   C 163.303,133.23887 163.403,135.43951 163.70301,138.34036   L 163.403,138.64044   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path27" d="  M 197.30362,132.03852   L 197.30362,132.03852   C 199.50366,129.83788 199.50366,125.83671 199.50366,125.23653   C 199.50366,122.7358 199.10366,120.53516 197.60363,119.13475   C 195.9036,117.53429 193.60356,117.53429 192.60354,117.53429   C 191.60352,117.53429 190.7035,117.53429 189.70348,117.63432   C 189.70348,119.53487 189.70348,121.53545 189.70348,123.53604   C 189.70348,126.837 189.80349,131.33831 189.80349,133.93907   C 192.90354,133.93907 195.30359,133.83904 197.30362,132.03852   L 197.30362,132.03852   z  M 182.50335,138.44039   L 182.50335,138.44039   C 182.50335,135.33948 182.60335,131.6384 182.60335,129.03764   C 182.60335,123.7361 182.60335,118.43455 182.30335,113.133   L 182.60335,112.93294   C 186.90343,112.83292 189.20348,112.73289 193.30355,112.73289   C 197.20362,112.73289 200.40368,112.93294 203.40374,115.5337   C 206.40379,118.13446 207.0038,121.53545 207.0038,125.03648   C 207.0038,128.13738 206.50379,131.23828 204.60376,133.83904   C 201.4037,138.1403 196.2036,138.64044 190.5035,138.64044   L 182.80336,138.64044   L 182.50335,138.44039   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path29" d="  M 210.60387,137.54012   L 210.60387,137.54012   C 210.70387,135.63957 210.80387,134.23916 210.90387,132.43863   L 211.20388,132.23858   C 212.80391,133.3389 214.80395,134.53925 218.30401,134.53925   C 221.30406,134.53925 223.1041,133.23887 223.1041,131.53837   C 223.1041,129.83788 221.30406,128.83758 218.30401,127.73726   L 216.80398,127.13709   C 214.60394,126.23683 210.70387,124.53633 210.70387,120.13505   C 210.70387,115.63373 214.00393,112.4328 220.90406,112.4328   C 224.70413,112.4328 226.80417,113.03297 228.6042,113.73318   L 228.8042,113.93324   C 228.6042,115.63373 228.5042,116.93411 228.40419,118.73464   L 228.10419,118.9347   C 225.40414,117.03414 222.80409,116.83408 221.80407,116.83408   C 219.20403,116.83408 217.804,118.03443 217.804,119.33481   C 217.804,121.13534 219.60403,121.73551 222.10408,122.63578   L 224.10412,123.33598   C 227.70418,124.63636 230.20423,126.837 230.20423,130.9382   C 230.20423,135.83963 226.10415,139.14059 219.20403,139.14059   C 214.80395,139.14059 212.70391,138.44039 210.80387,137.84021   L 210.60387,137.54012   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path31" d="  M 14.400264,151.44418   L 14.400264,151.44418   C 13.900255,153.04465 13.500248,154.04494 10.9002,161.84721   C 12.00022,161.84721 13.000239,161.84721 14.100259,161.84721   C 15.100277,161.84721 16.100296,161.84721 17.200316,161.84721   C 17.200316,161.84721 15.100277,153.84488 14.400264,151.44418   L 14.400264,151.44418   z  M 27.700509,173.05048   L 27.700509,173.05048   L 26.300483,173.05048   C 24.100443,173.05048 22.700417,173.05048 20.500377,173.15051   L 20.200371,172.95045   C 19.500358,170.44972 19.100351,168.74923 18.400338,166.2485   C 17.500321,166.2485 15.400283,166.14847 14.000257,166.14847   C 12.50023,166.14847 10.300189,166.2485 9.4001726,166.2485   C 8.600158,168.6492 8.1001488,170.34969 7.4001359,172.85042   L 7.1001304,173.05048   L 0.60001102,173.05048   L 0.50000918,172.85042   C 4.2000771,163.54771 6.8001249,157.04581 10.100186,147.64307   L 10.400191,147.44301   L 12.300226,147.44301   C 15.000276,147.44301 16.90031,147.34298 19.60036,147.34298   L 19.900366,147.54304   C 22.600415,156.44564 24.600452,162.74748 27.600507,171.7501   L 27.900512,172.75039   L 27.700509,173.05048   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path33" d="  M 29.900549,171.95016   L 29.900549,171.95016   C 30.100553,170.04961 30.200555,168.74923 30.200555,166.84867   L 30.600562,166.74864   C 32.200591,167.74894 34.200628,168.94929 37.800694,168.94929   C 40.900751,168.94929 42.700784,167.74894 42.700784,165.94841   C 42.700784,164.34794 40.900751,163.34765 37.800694,162.1473   L 36.300667,161.54713   C 34.000624,160.74689 30.000551,159.0464 30.000551,154.54508   C 30.000551,150.04377 33.400613,146.84284 40.500744,146.84284   C 44.300814,146.84284 46.500854,147.54304 48.300887,148.24325   L 48.500891,148.4433   C 48.300887,150.1438 48.200885,151.44418 48.100883,153.2447   L 47.700876,153.34473   C 45.000827,151.54421 42.300777,151.34415 41.40076,151.34415   C 38.700711,151.34415 37.200683,152.44447 37.200683,153.84488   C 37.200683,155.54538 39.100718,156.24558 41.700766,157.14584   L 43.600801,157.84605   C 47.400871,159.14643 49.900917,161.34707 49.900917,165.34824   C 49.900917,170.34969 45.700839,173.65066 38.700711,173.65066   C 34.200628,173.65066 32.10059,172.85042 30.200555,172.25025   L 29.900549,171.95016   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path35" d="  M 53.200977,171.95016   L 53.200977,171.95016   C 53.400981,170.04961 53.500983,168.74923 53.500983,166.84867   L 53.90099,166.74864   C 55.501019,167.74894 57.501056,168.94929 61.101122,168.94929   C 64.201179,168.94929 66.001212,167.74894 66.001212,165.94841   C 66.001212,164.34794 64.201179,163.34765 61.101122,162.1473   L 59.601095,161.54713   C 57.301052,160.74689 53.400981,159.0464 53.400981,154.54508   C 53.400981,150.04377 56.801043,146.84284 63.801172,146.84284   C 67.601242,146.84284 69.801282,147.54304 71.601315,148.24325   L 71.801319,148.4433   C 71.601315,150.1438 71.501313,151.44418 71.401311,153.2447   L 71.001304,153.34473   C 68.301254,151.54421 65.601205,151.34415 64.701188,151.34415   C 62.001139,151.34415 60.501111,152.44447 60.501111,153.84488   C 60.501111,155.54538 62.401146,156.24558 65.001194,157.14584   L 67.001231,157.84605   C 70.701299,159.14643 73.201344,161.34707 73.201344,165.34824   C 73.201344,170.34969 69.001267,173.65066 62.001139,173.65066   C 57.501056,173.65066 55.401018,172.85042 53.500983,172.25025   L 53.200977,171.95016   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path37" d="  M 89.001635,151.34415   L 89.001635,151.34415   C 84.501552,151.34415 82.901523,155.14526 82.901523,159.7466   C 82.901523,162.54742 83.101526,168.94929 89.001635,168.94929   C 95.101747,168.94929 95.101747,162.94753 95.101747,160.04669   C 95.101747,158.04611 95.001745,151.34415 89.001635,151.34415   L 89.001635,151.34415   z  M 89.001635,173.65066   L 89.001635,173.65066   C 80.201473,173.65066 75.201381,168.74923 75.201381,160.34678   C 75.201381,152.64453 79.701464,146.84284 89.201638,146.84284   C 99.301824,146.84284 102.80189,152.94462 102.80189,160.14672   C 102.80189,165.54829 100.40184,173.65066 89.001635,173.65066   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path39" d="  M 127.10233,172.35028   L 127.10233,172.35028   C 125.70231,172.85042 123.30226,173.65066 119.9022,173.65066   C 110.60203,173.65066 105.10193,168.04902 105.10193,160.34678   C 105.10193,152.84459 110.10202,146.84284 119.50219,146.84284   C 123.20226,146.84284 125.70231,147.64307 127.20234,148.14322   L 127.40234,148.34327   C 127.20234,150.24383 127.10233,151.54421 127.00233,153.34473   L 126.70233,153.44476   C 125.50231,152.64453 123.60227,151.64424 120.80222,151.64424   C 114.70211,151.64424 112.80207,156.34561 112.80207,160.24675   C 112.80207,166.54859 117.40216,168.54917 120.90222,168.54917   C 124.30228,168.54917 126.70233,166.9487 127.30234,166.54859   L 127.60234,166.74864   C 127.50234,168.74923 127.40234,170.14964 127.30234,172.15022   L 127.10233,172.35028   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path41" d="  M 139.40256,173.05048   L 139.40256,173.05048   L 136.0025,173.05048   C 135.30249,173.05048 132.10243,173.15051 132.10243,173.15051   L 131.90242,172.95045   C 132.00242,169.54946 132.10243,166.2485 132.10243,162.84751   L 132.10243,160.34678   C 132.10243,156.04552 132.00242,151.8443 131.70242,147.64307   L 131.90242,147.44301   L 134.80248,147.44301   C 136.1025,147.44301 138.50254,147.34298 139.40256,147.34298   L 139.60256,147.54304   C 139.40256,152.44447 139.40256,157.54596 139.40256,162.54742   C 139.40256,165.94841 139.40256,169.44943 139.70257,172.85042   L 139.40256,173.05048   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path43" d="  M 156.20287,151.44418   L 156.20287,151.44418   C 155.70286,153.04465 155.30285,154.04494 152.7028,161.84721   C 153.80282,161.84721 154.80284,161.84721 155.90286,161.84721   C 156.90288,161.84721 157.9029,161.84721 159.00292,161.84721   C 159.00292,161.84721 156.90288,153.84488 156.20287,151.44418   L 156.20287,151.44418   z  M 169.50311,173.05048   L 169.50311,173.05048   L 168.20309,173.05048   C 166.00305,173.05048 164.50302,173.05048 162.30298,173.15051   L 162.00298,172.95045   C 161.30296,170.44972 160.90296,168.74923 160.20294,166.2485   C 159.30293,166.2485 157.20289,166.14847 155.80286,166.14847   C 154.30283,166.14847 152.10279,166.2485 151.20278,166.2485   C 150.40276,168.6492 149.90275,170.34969 149.20274,172.85042   L 148.90273,173.05048   L 142.40262,173.05048   L 142.30261,172.85042   C 146.00268,163.54771 148.60273,157.04581 151.90279,147.64307   L 152.2028,147.44301   L 154.10283,147.44301   C 156.80288,147.44301 158.70291,147.34298 161.40296,147.34298   L 161.70297,147.54304   C 164.40302,156.44564 166.40306,162.74748 169.40311,171.7501   L 169.70312,172.75039   L 169.50311,173.05048   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path45" d="  M 181.70334,173.05048   L 181.70334,173.05048   L 180.30331,173.05048   C 178.10327,173.05048 176.50324,173.05048 174.3032,173.15051   L 174.1032,172.95045   C 174.3032,166.84867 174.4032,162.54742 174.4032,156.44564   C 174.4032,154.84517 174.4032,153.04465 174.4032,152.14438   C 172.30316,152.14438 170.10312,152.24441 167.70308,152.24441   L 167.40307,152.04435   C 167.50308,150.44389 167.70308,149.14351 167.70308,147.64307   L 168.00309,147.34298   L 181.60334,147.34298   C 184.10338,147.34298 186.00342,147.34298 188.50346,147.34298   L 188.70347,147.54304   C 188.60346,149.14351 188.50346,150.34386 188.40346,152.04435   L 188.20346,152.24441   C 185.80341,152.14438 184.10338,152.04435 181.80334,152.04435   C 181.70334,154.04494 181.60334,155.54538 181.60334,157.54596   C 181.60334,159.34648 181.80334,171.55004 181.90334,172.85042   L 181.70334,173.05048   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path47" d="  M 200.00367,173.05048   L 200.00367,173.05048   L 196.60361,173.05048   C 195.8036,173.05048 192.60354,173.15051 192.60354,173.15051   L 192.40353,172.95045   C 192.50354,169.54946 192.60354,166.2485 192.60354,162.84751   L 192.60354,160.34678   C 192.60354,156.04552 192.50354,151.8443 192.20353,147.64307   L 192.40353,147.44301   L 195.30359,147.44301   C 196.70361,147.44301 199.10366,147.34298 199.90367,147.34298   L 200.10368,147.54304   C 200.00367,152.44447 199.90367,157.54596 199.90367,162.54742   C 199.90367,165.94841 200.00367,169.44943 200.20368,172.85042   L 200.00367,173.05048   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path49" d="  M 217.50399,151.34415   L 217.50399,151.34415   C 213.00391,151.34415 211.40388,155.14526 211.40388,159.7466   C 211.40388,162.54742 211.50388,168.94929 217.50399,168.94929   C 223.5041,168.94929 223.5041,162.94753 223.5041,160.04669   C 223.5041,158.04611 223.4041,151.34415 217.50399,151.34415   L 217.50399,151.34415   z  M 217.50399,173.65066   L 217.50399,173.65066   C 208.60383,173.65066 203.60374,168.74923 203.60374,160.34678   C 203.60374,152.64453 208.10382,146.84284 217.604,146.84284   C 227.70418,146.84284 231.30425,152.94462 231.30425,160.14672   C 231.30425,165.54829 228.8042,173.65066 217.50399,173.65066   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path51" d="  M 259.20476,173.05048   L 259.20476,173.05048   L 256.60471,173.05048   C 255.7047,173.05048 254.70468,173.15051 253.70466,173.15051   L 253.40465,172.95045   C 248.30456,166.2485 242.00444,158.44622 240.20441,155.54538   C 240.30441,157.04581 240.70442,169.14934 241.00443,172.85042   L 240.70442,173.05048   L 238.00437,173.05048   C 236.90435,173.05048 235.80433,173.15051 234.70431,173.15051   L 234.50431,172.95045   C 234.60431,170.24967 234.60431,167.54888 234.60431,164.84809   C 234.60431,159.0464 234.60431,153.34473 234.3043,147.64307   L 234.50431,147.44301   L 236.80435,147.44301   C 237.90437,147.44301 240.10441,147.34298 241.30443,147.34298   L 241.60444,147.44301   C 242.40445,148.74339 250.10459,158.34619 253.70466,163.54771   C 253.50466,158.64628 253.20465,148.84342 253.10465,147.64307   L 253.30465,147.44301   L 255.60469,147.44301   C 256.30471,147.44301 259.20476,147.34298 259.20476,147.34298   L 259.40476,147.54304   C 259.40476,151.74427 259.30476,155.94549 259.30476,160.24675   C 259.30476,162.04727 259.30476,168.6492 259.40476,172.85042   L 259.20476,173.05048   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path53" d="  M 374.30687,25.107324   L 374.30687,25.107324   L 353.30649,79.223111   L 331.40609,79.223111   L 364.10669,2.4007003   L 384.80707,2.4007003   L 417.60767,79.223111   L 395.20726,79.223111   L 374.30687,25.107324   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path55" d="  M 24.600452,79.123082   L 24.600452,79.123082   L 14.70027,79.123082   C 12.300226,79.123082 3.0000551,79.423169 3.0000551,79.423169   L 2.4000441,78.822994   C 2.8000514,68.720047 3.0000551,58.717129 3.0000551,48.614182   L 3.0000551,41.011964   C 3.0000551,28.408287 2.9000533,15.704581 1.9000349,3.2009338   L 2.5000459,2.5007295   L 10.9002,2.5007295   C 14.900274,2.5007295 21.900402,2.3006711 24.50045,2.200642   L 25.000459,2.8008171   C 24.600452,17.705165 24.400448,32.709542 24.400448,47.61389   C 24.400448,57.916895 24.600452,68.31993 25.200463,78.522907   L 24.600452,79.123082   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path57" d="  M 94.001726,65.219026   L 94.001726,65.219026   C 93.601719,69.720339 93.401715,74.321681 93.10171,78.522907   L 92.201693,79.123082   C 74.401366,79.123082 56.60104,79.223111 38.700711,79.32314   L 38.1007,78.622936   C 38.600709,68.620018 38.700711,58.6171 38.700711,48.514152   L 38.700711,26.007587   C 38.700711,18.30534 38.600709,10.703122 37.900696,3.2009338   L 38.600709,2.5007295   C 51.800951,2.5007295 83.901541,2.3006711 91.901688,2.3006711   L 92.501699,2.9008462   C 92.201693,7.4021593 91.801686,11.303297 91.701684,15.504523   L 90.90167,16.204727   C 80.501479,16.004669 70.201289,15.804611 59.801098,15.804611   C 59.801098,17.905223 59.701097,20.80607 59.701097,23.906974   C 59.701097,27.307966 59.701097,30.808988 59.801098,33.109659   C 69.70128,33.109659 79.401458,33.00963 89.101636,32.709542   L 89.901651,33.409746   C 89.501644,37.510943 89.201638,41.612139 89.001635,45.713335   L 88.301622,46.313511   C 70.401293,46.213481 59.801098,46.213481 59.801098,46.213481   C 59.801098,52.615349 60.001102,58.917187 60.101104,65.219026   C 71.30131,65.219026 82.301512,65.018967 93.401715,64.518821   L 94.001726,65.219026   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path59" d="  M 162.30298,65.219026   L 162.30298,65.219026   C 161.90297,69.720339 161.60297,74.321681 161.40296,78.522907   L 160.40295,79.123082   C 142.70262,79.123082 124.80229,79.223111 107.00197,79.32314   L 106.40195,78.622936   C 106.90196,68.620018 107.00197,58.6171 107.00197,48.514152   L 107.00197,26.007587   C 107.00197,18.30534 106.90196,10.703122 106.10195,3.2009338   L 106.90196,2.5007295   C 120.10221,2.5007295 152.2028,2.3006711 160.20294,2.3006711   L 160.80295,2.9008462   C 160.40295,7.4021593 160.10294,11.303297 159.90294,15.504523   L 159.20292,16.204727   C 148.80273,16.004669 138.40254,15.804611 128.10235,15.804611   C 128.10235,17.905223 128.00235,20.80607 128.00235,23.906974   C 128.00235,27.307966 128.00235,30.808988 128.10235,33.109659   C 138.00253,33.109659 147.70271,33.00963 157.40289,32.709542   L 158.1029,33.409746   C 157.8029,37.510943 157.50289,41.612139 157.30289,45.713335   L 156.50287,46.313511   C 138.70255,46.213481 128.10235,46.213481 128.10235,46.213481   C 128.10235,52.615349 128.20235,58.917187 128.40236,65.219026   C 139.50256,65.219026 150.60277,65.018967 161.60297,64.518821   L 162.30298,65.219026   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path61" d="  M 230.50423,65.219026   L 230.50423,65.219026   C 230.20423,69.720339 229.90422,74.321681 229.70422,78.522907   L 228.7042,79.123082   C 211.00388,79.123082 193.10355,79.223111 175.30322,79.32314   L 174.60321,78.622936   C 175.10322,68.620018 175.30322,58.6171 175.30322,48.514152   L 175.30322,26.007587   C 175.30322,18.30534 175.10322,10.703122 174.4032,3.2009338   L 175.10322,2.5007295   C 188.40346,2.5007295 220.40405,2.3006711 228.5042,2.3006711   L 229.10421,2.9008462   C 228.7042,7.4021593 228.30419,11.303297 228.20419,15.504523   L 227.50418,16.204727   C 217.00399,16.004669 206.7038,15.804611 196.40361,15.804611   C 196.40361,17.905223 196.30361,20.80607 196.30361,23.906974   C 196.30361,27.307966 196.30361,30.808988 196.40361,33.109659   C 206.20379,33.109659 216.00397,33.00963 225.70415,32.709542   L 226.40416,33.409746   C 226.00415,37.510943 225.80415,41.612139 225.50414,45.713335   L 224.80413,46.313511   C 207.0038,46.213481 196.40361,46.213481 196.40361,46.213481   C 196.40361,52.615349 196.50361,58.917187 196.60361,65.219026   C 207.80382,65.219026 218.90402,65.018967 229.90422,64.518821   L 230.50423,65.219026   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path63" d="  M 275.70506,75.221944   L 275.70506,75.221944   C 276.20507,69.62031 276.40508,65.619142 276.50508,60.117537   L 277.6051,59.717421   C 282.20518,62.818325 288.10529,66.419376 298.50548,66.419376   C 307.50565,66.419376 312.80575,62.618267 312.80575,57.516779   C 312.80575,52.51532 307.50565,49.714503 298.60548,46.213481   L 294.1054,44.512985   C 287.50528,41.912227 276.10507,36.910768 276.10507,23.806945   C 276.10507,10.603093 285.90525,1.100321 306.30563,1.100321   C 317.50583,1.100321 323.80595,3.0008754 329.00604,5.1014882   L 329.60605,5.7016633   C 329.10604,10.803151 328.70604,14.60426 328.50603,19.905807   L 327.40601,20.305924   C 319.60587,14.804319 311.70572,14.304173 309.00568,14.304173   C 301.10553,14.304173 296.90545,17.605136 296.90545,21.606303   C 296.90545,26.707791 302.30555,28.608346 309.80569,31.309133   L 315.6058,33.409746   C 326.40599,37.210855 333.80613,43.812781 333.80613,55.716253   C 333.80613,70.320514 321.60591,80.023344 301.10553,80.023344   C 288.20529,80.023344 282.00518,77.822702 276.40508,76.022177   L 275.70506,75.221944   z " clip-path="url(#clipEmfPath1)" style="fill:#{$color};fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
        </svg>
    </xsl:template>

    <xsl:variable name="Image-FB-Logo">
        <xsl:text>iVBORw0KGgoAAAANSUhEUgAAAOEAAADgCAMAAADCMfHtAAADAFBMVEUAAAD////09PT6+vr9/f37+/v5+fn39/f19fX8/Pz4+Pg3NzdtbW3u7u5ycnLi4uJgYGCoqKjR0dEhISGVlZW9vb2GhoY8PDyfn58WFhZMTEzHx8fX19d6enq0tLTf399DQ0MnJyeOjo4tLS1YWFi4uLhnZ2cLCwuBgYFKSkqkpKQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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xiOnznF8KPvDx61LDHXgknMMElcWKphrnoTwOwGXPGnl7sk2L4AjgxFhHp6L0HbLPrtoGpGPBKfUWd4RPqXghrDJVLDL3whwdHD5g7lmZ4TPAK45J500Tf7ySGq/LfaraW7UB3TN1lAxFRzyqFJysU0HAOaanRA+XgidkPvVdR7mi6ewDcr0OA8P2fhxz5pia7V10gYxsMtr481qu4bAwhZCyz5XTAXnnNQcthYJNcBcsy3Cjz2QqXm07a22XtoggMsop8GL1fZ0gRYZL3Tq8ySE1QTg+5Hv6AHhx57PyiKWn3KP5ffvFyqPxuFstABGah5H+HGG+sB6uDuGPk/QNO2FSEBq8FTN1DTXlAibhERGTdNkKgzds1G+RFYXqi84kv9Jd0MTcs4NHpuTqrq+OqnuDnPo8xBTwXIe1i/vRX/CMX0efl7Gl2UsTaMdHpykRw3IiQg/nlNCLJZlK4RmKoGDyB7Ex67amcJUeNqpMeKtXxNtGv3LU0N4f206Alw1zeP3MSy6M2kozfNEWQ2PSE7y9M9naZm72KWPn7stxCKaow4GmAqKk2W6/y3TT7SrxKhGieV0KyEbTf+8f3zZ3yz38P28VTujkZobKt26z/X+MN+JdM8Pq51IN+lqqD1OCstDnyiR/0rPwlwzyA/3fThuY4hVeaua++lczX3+H8X4ToXy2JncAAAAAElFTkSuQmCC</xsl:text>
    </xsl:variable>

    <xsl:variable name="Image-LinkedIn-Logo">
        <xsl:text>iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAADAFBMVEUBAQH///8AAACKiooRERHMzMzp6enx8fF9fX2ioqIoKCiDg4OAgICQkJD29vaHh4e6urpsbGyqqqpUVFTb29vCwsJZWVnS0tJvb29DQ0MTExPY2NhlZWVgYGCdnZ0bGxtPT08uLi6Xl5c2NjawsLA6OjpBQUEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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Eb4A7wJQAd0hDw8PVatUwTffCjRDNgeYgivXT4vDoqCRJiXhcGhga0nXdMAz3sAwwJdAc3K4bHhmRJCkWj0P4BrgDTAlwh5Rub7dM0zTNl19+iT378ccfs8FspgklTKCRsDwSIXT69Gn2fFdXlyhJ4UhEymQygiBYlvXqK6+wP58/f56V08GUQGNhl9QY41dffZU939XTQ1JMCN8Ad4ApAe5wlpdGCE3QHsWCIIyNjrLwPTd3x4Q740CDwBiPjY4xPTE1xf6E6AIEdVMePnqU/XlyYpKZ8u78ghX0ld8Br2GGE0VxanKSaIzxoSNH/vY1EL4B7gBTAtzh7glXX1LoxHPP2bYTvm/dvqVpOtEbm5ssrBuGAdEcuB8IIdZxEGPc091NtByST5w86TyPENpvIav9TfnyK/WS5l8/+0yt1Yje3dvTdcegrG0lAOyLLMtMTIw7FzdKOHz6F/Xa5L6mhPANcAeYEuCO/dvghSMRpk+99BKL1JOHD7NRbTv5vEXvQGq6FviGgcD9YCEYIRSSQ0RjEaczGaJFURwaHCRakqRwOPwjb/hIHnLPL1tdXjZoflkqldifLFdHSyDwIFcPVoxxPB4nWpLlgaEh9rJHWkQNwjfAHY92pnRjGAZbz/97C2zAafKg4bqCxky7SkKPyv8DIBBA+NkT6ScAAAAASUVORK5CYII=</xsl:text>
    </xsl:variable>

    <xsl:variable name="Image-Youtube-Logo">
        <xsl:text>iVBORw0KGgoAAAANSUhEUgAAAKkAAACSCAIAAACxCn0WAAAACXBIWXMAAAsSAAALEgHS3X78AAAdFElEQVR4nO1dbUwcxxmeu73vg7PNVwSxW2NsbMt8GFsyMiC1RyqDIoWmcoMEsRQlF6tEqYTUxgYpqRsllpqjai0qt0E1NGpDgmTqpkFqekYKTiSfldhxiI0tUvyFZAurkMPm4Lgv9rY/xt6u553dm7vbOw5zzy+Ye3Z33nl3Z+edZ+ZdjSAIPM/Pzc1pNBokQVZWll6vR49idnaWoJnNZpPJRNDu3btHlBgMBqvVShR6vV6e56UlHMfZbDaC5vP5gsGg9LqCIO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40ZlZWXUCyOE2traXnnlFeJLIlJ5Q5QlEpQ3iJJEVsktu5Yjtgk09vLly++++65c7E7g0qVLJSUlUscpLJPUzM7OsgSaHMcFg8FXXnmFugyICofDYbfby8vLN27caLPZxLhAvBNhtfB1OY6T3q2MNJPJRM2Ihx7t+qjf+Q2HwzCqhsNYnufh4ytXPXYaNkTsHb1e7+Tk5NjY2JkzZ6iqDBX79+9/9913LRaL1BDlmQZW36OHkwy9vb0HDx5krJAU5eXl+fn5TzzxREFBAS6hxgiwcdWlUZmMtORVb3p6+r///e/MzMzY2BikRcWJEydefvnlWKfUYvA9ejibdvfu3ba2tmTs38ggVjQ1NfX09BQWFqLYZxjjyblSWFj48ccfj4yM5OXlxVXhDFRAXl7eyMjIxx9/jB0fB8gJTimU9QO73T4zMzM0NFRSUhLftTOIDyUlJUNDQzMzMziQk4JRQ3qg5SwtLUUiEaiCUMdExBAGD4g4jjtz5syJEycya7qTDYfD8fzzz9vtdjw4Jd7usHuHY1gkyej9QMfDu+/EnwVBUM54INKkC8e8Xu/p06f7+/szQwF10dTUdODAgYaGBnFYhpdJEr6QizYJmhht0n2PaLImAr5HMrLmzMzMtWvXzp49OzExcf78+fjGrqsZ5eXle/bsKS0traur27JlS35+PkFQxfdJybFmNBrLysoqKyvxNebn5xcWFnAUOz8/7/F4MA3q6AihrKwsoiQUCsGOK24a9bqMNIPBACcK46ZJr5ubm5udnY2bKCsra+3atfxDwKPUQlJ8j2ss1lun0xUUFMC3USAQIKaPkMxLSzocwQ0Eg1Ke56XDETkaomVMZ6RZrVY4fURd4kEdKsHgG3aZOLSm3iiqg+77ZEssGKFQSJq9WpzbikqjVo/4goccDSdoIbpB6qUhLRwOR6XhCkPfw4c4FApRJ3wUlDd18T82zic9pd9u2wAAAABJRU5ErkJggg==</xsl:text>
    </xsl:variable>

    <xsl:variable name="Image-Blue-Boxes-svg">
        <svg xmlns="http://www.w3.org/2000/svg" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" id="svg59" height="164.32001mm" width="112.51mm" version="1.0">
            <defs id="defs9">
                <clipPath id="clipEmfPath1" clipPathUnits="userSpaceOnUse">
                    <path id="path2" d="  M 0,0   L 0,0   L 0,622.80225   L 426.98689,622.80225   L 426.98689,0 "/>
                </clipPath>
                <clipPath id="clipEmfPath2" clipPathUnits="userSpaceOnUse">
                    <path id="path5" d="  M 0,0   L 0,0   L 0,622.70225   L 426.98689,622.70225   L 426.98689,0 "/>
                </clipPath>
                <pattern y="0" x="0" height="6" width="6" patternUnits="userSpaceOnUse" id="EMFhbasepattern"/>
            </defs>
            <path id="path11" d="  M 0,-0.20000072   L 0,-0.20000072   L 106.6217,-0.20000072   L 106.6217,17.500063   L 0,17.500063   L 0,-0.20000072   z " clip-path="url(#clipEmfPath2)" style="fill:#63cbd7;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path13" d="  M 0,88.60032   L 0,88.60032   L 106.6217,88.60032   L 106.6217,230.80083   L 0,230.80083   L 0,88.60032   z " clip-path="url(#clipEmfPath2)" style="fill:#63cbd7;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path15" d="  M 0,266.40096   L 0,266.40096   L 106.6217,266.40096   L 106.6217,284.20103   L 0,284.20103   L 0,266.40096   z " clip-path="url(#clipEmfPath2)" style="fill:#a1a2a3;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path17" d="  M 0,408.60148   L 0,408.60148   L 106.6217,408.60148   L 106.6217,426.40154   L 0,426.40154   L 0,408.60148   z " clip-path="url(#clipEmfPath2)" style="fill:#63cbd7;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path19" d="  M 106.6217,-0.20000072   L 106.6217,-0.20000072   L 213.34341,-0.20000072   L 213.34341,17.500063   L 106.6217,17.500063   L 106.6217,-0.20000072   z " clip-path="url(#clipEmfPath1)" style="fill:#00adee;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path21" d="  M 106.6217,70.800256   L 106.6217,70.800256   L 213.34341,70.800256   L 213.34341,88.60032   L 106.6217,88.60032   L 106.6217,70.800256   z " clip-path="url(#clipEmfPath2)" style="fill:#63cbd7;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path23" d="  M 106.6217,88.60032   L 106.6217,88.60032   L 106.6217,284.20103   L 0,284.20103   L 0,373.10135   L 106.6217,373.10135   L 106.6217,337.50122   L 213.34341,337.50122   L 213.34341,88.60032   L 106.6217,88.60032   z " clip-path="url(#clipEmfPath2)" style="fill:#00adee;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path25" d="  M 106.6217,17.500063   L 106.6217,17.500063   L 213.34341,17.500063   L 213.34341,35.300128   L 106.6217,35.300128   L 106.6217,17.500063   z " clip-path="url(#clipEmfPath2)" style="fill:#0d69a4;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path27" d="  M 213.34341,53.100192   L 213.34341,53.100192   L 213.34341,35.300128   L 106.6217,35.300128   L 106.6217,17.500063   L 0,17.500063   L 0,53.100192   L 213.34341,53.100192   z " clip-path="url(#clipEmfPath2)" style="fill:#00adee;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path29" d="  M 106.6217,53.100192   L 106.6217,53.100192   L 213.34341,53.100192   L 213.34341,70.800256   L 106.6217,70.800256   L 106.6217,53.100192   z " clip-path="url(#clipEmfPath1)" style="fill:#a1a2a3;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path31" d="  M 213.34341,-0.20000072   L 213.34341,-0.20000072   L 319.96511,-0.20000072   L 319.96511,35.300128   L 213.34341,35.300128   L 213.34341,-0.20000072   z " clip-path="url(#clipEmfPath1)" style="fill:#a1a2a3;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path33" d="  M 213.34341,248.6009   L 213.34341,248.6009   L 319.96511,248.6009   L 319.96511,266.40096   L 213.34341,266.40096   L 213.34341,248.6009   z " clip-path="url(#clipEmfPath1)" style="fill:#a1a2a3;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path35" d="  M 213.34341,337.50122   L 213.34341,337.50122   L 319.96511,337.50122   L 319.96511,462.00167   L 213.34341,462.00167   L 213.34341,337.50122   z " clip-path="url(#clipEmfPath1)" style="fill:#0d69a4;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path37" d="  M 213.34341,479.70174   L 213.34341,479.70174   L 319.96511,479.70174   L 319.96511,497.5018   L 213.34341,497.5018   L 213.34341,479.70174   z " clip-path="url(#clipEmfPath1)" style="fill:#a1a2a3;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path39" d="  M 319.96511,-0.20000072   L 319.96511,-0.20000072   L 426.68683,-0.20000072   L 426.68683,159.70058   L 319.96511,159.70058   L 319.96511,-0.20000072   z " clip-path="url(#clipEmfPath1)" style="fill:#00adee;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path41" d="  M 319.96511,195.30071   L 319.96511,195.30071   L 319.96511,35.300128   L 213.34341,35.300128   L 213.34341,248.6009   L 319.96511,248.6009   L 319.96511,213.10077   L 426.68683,213.10077   L 426.68683,195.30071   L 319.96511,195.30071   z " clip-path="url(#clipEmfPath1)" style="fill:#0d69a4;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path43" d="  M 319.96511,213.10077   L 319.96511,213.10077   L 426.68683,213.10077   L 426.68683,230.80083   L 319.96511,230.80083   L 319.96511,213.10077   z " clip-path="url(#clipEmfPath1)" style="fill:#a1a2a3;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path45" d="  M 319.96511,230.80083   L 319.96511,230.80083   L 426.68683,230.80083   L 426.68683,248.6009   L 319.96511,248.6009   L 319.96511,230.80083   z " clip-path="url(#clipEmfPath1)" style="fill:#00adee;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path47" d="  M 319.96511,266.40096   L 319.96511,266.40096   L 426.68683,266.40096   L 426.68683,337.50122   L 319.96511,337.50122   L 319.96511,266.40096   z " clip-path="url(#clipEmfPath1)" style="fill:#63cbd7;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path49" d="  M 213.34341,462.00167   L 213.34341,462.00167   L 213.34341,479.70174   L 319.96511,479.70174   L 319.96511,568.60206   L 426.68683,568.60206   L 426.68683,462.00167   L 213.34341,462.00167   z " clip-path="url(#clipEmfPath1)" style="fill:#00adee;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path51" d="  M 106.6217,479.70174   L 106.6217,479.70174   L 213.34341,479.70174   L 213.34341,533.10193   L 106.6217,533.10193   L 106.6217,479.70174   z " clip-path="url(#clipEmfPath1)" style="fill:#63cbd7;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path53" d="  M 106.6217,444.20161   L 106.6217,444.20161   L 213.34341,444.20161   L 213.34341,462.00167   L 106.6217,462.00167   L 106.6217,444.20161   z " clip-path="url(#clipEmfPath2)" style="fill:#a1a2a3;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path55" d="  M 106.6217,604.20219   L 106.6217,604.20219   L 213.34341,604.20219   L 213.34341,621.90225   L 106.6217,621.90225   L 106.6217,604.20219   z " clip-path="url(#clipEmfPath2)" style="fill:#00adee;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
            <path id="path57" d="  M 0,53.100192   L 0,53.100192   L 106.6217,53.100192   L 106.6217,88.60032   L 0,88.60032   L 0,53.100192   z " clip-path="url(#clipEmfPath2)" style="fill:#0d69a4;fill-rule:nonzero;fill-opacity:1;stroke:none;"/>
        </svg>
    </xsl:variable>

    <xsl:template name="insertImageBoxSVG">
        <xsl:param name="color"/>
        <svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100">
            <rect x="0" y="1" width="100" height="100" fill="{$color}"/>
        </svg>
    </xsl:template>

    <!-- =============================== -->
    <!-- Cover Pages -->
    <!-- =============================== -->
    <xsl:template name="insertCoverPage_Standard">
        <xsl:param name="title_intro"/>
        <xsl:param name="title_main"/>
        <xsl:param name="society"/>
        <xsl:param name="committee"/>
        <xsl:param name="standard_number"/>
        <xsl:param name="history"/>
        <xsl:param name="standard_title_prefix"/>
        <xsl:param name="cutoff_date"/>
        <xsl:param name="expiration_date"/>

        <fo:page-sequence master-reference="cover-and-back-page-standard" force-page-count="no-force">

            <fo:static-content flow-name="header" role="artifact">
                <fo:block-container position="absolute" left="14mm" top="17.8mm">
                    <fo:block font-size="1">
                        <fo:instream-foreign-object content-width="32.9mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image IEEE Logo">
                            <xsl:call-template name="insert_Image-IEEE2-Logo-svg"/>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>
                <fo:block-container position="absolute" left="14.6mm" top="259mm">
                    <fo:block font-size="1">
                        <fo:instream-foreign-object content-width="20.8mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image IEEE Logo">
                            <xsl:copy-of select="$Image-IEEE-Logo-black-svg"/>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>
                <fo:block-container position="absolute" left="191mm" top="-1mm">
                    <fo:block font-size="1">
                        <fo:instream-foreign-object content-width="26mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image Boxes">
                            <xsl:copy-of select="$Image-Blue-Boxes-svg"/>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>
            </fo:static-content>

            <fo:static-content flow-name="right-region" role="artifact">
                <fo:block-container font-family="Montserrat ExtraBold" font-weight="normal" reference-orientation="90" font-size="45.9pt" text-align="right">
                    <fo:block margin-right="-6mm" margin-top="-2mm">
                        <fo:instream-foreign-object content-width="2.5mm" content-height="11.9mm" scaling="non-uniform" fox:alt-text="Image Box">
                            <xsl:call-template name="insertImageBoxSVG">
                                <xsl:with-param name="color">rgb(38,172,226)</xsl:with-param>
                            </xsl:call-template>
                        </fo:instream-foreign-object>

                        <fo:inline padding-left="2.5mm">STANDARDS</fo:inline>

                    </fo:block>
                </fo:block-container>

            </fo:static-content>

            <fo:flow flow-name="xsl-region-body" font-family="Calibri">
                <fo:block-container height="81mm" display-align="center" font-weight="bold">

                    <xsl:choose>
                        <!-- title starts with lower-cased letter -->
                        <xsl:when test="translate(substring($title_intro,1,1),$lower,'') = ''">
                            <fo:block font-size="22pt">
                                <xsl:value-of select="$standard_title_prefix"/>
                                <xsl:copy-of select="$title_intro"/>
                            </fo:block>
                        </xsl:when>

                        <xsl:otherwise>
                            <!-- Example: IEEE Standard for -->
                            <fo:block font-size="22pt" space-after="2pt">
                                <xsl:value-of select="$standard_title_prefix"/>
                            </fo:block>
                            <fo:block font-size="22pt" margin-left="3mm">
                                <!-- Example: Local and Metropolitan Area Networks— -->
                                <xsl:copy-of select="$title_intro"/>
                            </fo:block>
                        </xsl:otherwise>
                    </xsl:choose>

                    <fo:block font-size="25pt" space-before="32pt">
                        <!-- Example: Port-Based Network Access Control -->
                        <xsl:copy-of select="$title_main"/>
                    </fo:block>
                </fo:block-container>

                <fo:block-container>
                    <fo:block font-size="16pt">
                        <!-- Example: IEEE Computer Society -->
                        <xsl:text>IEEE </xsl:text><xsl:value-of select="$society"/>
                    </fo:block>
                    <fo:block font-size="12pt" space-before="13mm">Developed by the</fo:block>
                    <!-- LAN/MAN Standards Committee -->
                    <fo:block font-size="12pt"><xsl:value-of select="$committee"/></fo:block>

                    <xsl:if test="normalize-space($cutoff_date) != ''">
                        <fo:block> </fo:block>
                        <fo:block font-size="12pt">
                            <xsl:text>Cutoff date </xsl:text>
                            <xsl:value-of select="$cutoff_date"/>
                        </fo:block>
                    </xsl:if>
                    <xsl:if test="normalize-space($cutoff_date) != ''">
                        <fo:block> </fo:block>
                        <fo:block font-size="12pt">
                            <xsl:text>Expiration date </xsl:text>
                            <xsl:value-of select="$expiration_date"/>
                        </fo:block>
                    </xsl:if>

                    <fo:block font-size="12pt" font-weight="bold" space-before="40mm"><xsl:value-of select="$standard_number"/></fo:block>
                    <fo:block font-size="10pt"><xsl:value-of select="$history"/></fo:block>

                </fo:block-container>
            </fo:flow>
        </fo:page-sequence>
    </xsl:template> <!-- insertCoverPage_Standard -->

    <xsl:template name="insertCoverPage_IndustryConnectionReport">
        <fo:page-sequence master-reference="cover-and-back-page-industry-connection-report" force-page-count="no-force">
            <fo:static-content flow-name="header" role="artifact">

                <fo:block-container position="absolute" left="65.5mm" top="0mm">
                    <fo:block font-size="1">
                        <fo:instream-foreign-object content-height="93.5mm" content-width="64.1mm" fox:alt-text="Image Boxes">
                            <xsl:copy-of select="$Image-Blue-Boxes-svg"/>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>
            </fo:static-content> <!-- header -->

            <fo:static-content flow-name="left-region" role="artifact">
                <fo:block-container position="absolute" left="0mm" top="0mm" width="50mm" height="{$pageHeight}mm" background-color="black">
                    <fo:block> </fo:block>
                </fo:block-container>

                <fo:block-container position="absolute" left="11mm" top="4.5mm">
                    <fo:block font-size="1">
                        <fo:instream-foreign-object content-width="27.2mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image IEEE Logo">
                            <xsl:call-template name="insert_Image-IEEE2-Logo-svg">
                                <xsl:with-param name="color">FFFFFF</xsl:with-param>
                            </xsl:call-template>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>

                <fo:block-container position="absolute" left="10.6mm" top="242.8mm">
                    <fo:block font-size="1">
                        <fo:instream-foreign-object content-width="24.9mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image Logo">
                            <xsl:copy-of select="$Image-IEEE-Logo-white-svg"/>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>

                <fo:block-container position="absolute" left="0.5mm" top="217.3mm">
                    <fo:block font-size="1">
                        <fo:instream-foreign-object content-width="39.8mm" content-height="2.7mm" scaling="non-uniform" fox:alt-text="Image Box">
                            <xsl:call-template name="insertImageBoxSVG">
                                <xsl:with-param name="color">rgb(80,197,216)</xsl:with-param>
                            </xsl:call-template>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>

                <fo:block-container font-family="Montserrat ExtraBold" font-weight="normal" reference-orientation="90" font-size="36pt" line-height="0.93" text-align="left" color="white">
                    <fo:block margin-left="70mm" margin-top="13mm">INDUSTRY CONNECTIONS REPORT</fo:block>
                </fo:block-container>

            </fo:static-content> <!-- "left-region -->

            <fo:flow flow-name="xsl-region-body">
                <fo:block-container font-family="Arial Black" height="100mm" display-align="center">
                    <fo:block font-size="12.8pt" line-height="1.4">THE IEEE GLOBAL INITIATIVE ON ETHICS OF EXTENDED REALITY (XR) REPORT</fo:block>
                    <fo:block font-size="20pt" space-before="16mm" line-height="1.3">BUSINESS, FINANCE, AND ECONOMICS</fo:block>
                </fo:block-container>

                <fo:block-container font-family="Calibri Light" font-weight="normal" font-size="12pt" line-height="1.5">
                    <fo:block>Authored by</fo:block>
                    <fo:block> </fo:block>
                    <fo:block line-height="1.7">
                        <fo:block>First Last names</fo:block>
                        <fo:block font-style="italic">Chapter Leader</fo:block>
                    </fo:block>
                </fo:block-container>
            </fo:flow>
        </fo:page-sequence>
    </xsl:template> <!-- insertCoverPage_IndustryConnectionReport -->

    <xsl:template name="insertCoverPage_NonStandard">
        <xsl:param name="title"/>
        <fo:page-sequence master-reference="cover-page-nonstandard" force-page-count="no-force">
            <fo:static-content flow-name="header" role="artifact">
                <fo:block-container position="absolute" left="65mm" id="__internal_layout__bluebox_{generate-id()}"> <!-- top="-2.6mm" -->
                    <xsl:if test="$current_template = 'industry-connection-report'">
                        <xsl:attribute name="left">76.5mm</xsl:attribute>
                    </xsl:if>
                    <fo:block font-size="1">
                        <fo:instream-foreign-object content-height="93.5mm" content-width="64mm" fox:alt-text="Image Boxes">
                            <xsl:copy-of select="$Image-Blue-Boxes-svg"/>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>
                <!-- <fo:block-container position="absolute" left="0mm" top="263mm">
                    <fo:block font-size="10pt">3 Park Avenue | New York, NY 10016‐5997 | USA</fo:block>
                </fo:block-container> -->
            </fo:static-content> <!-- header -->

            <fo:static-content flow-name="left-region" role="artifact">
                <fo:block-container position="absolute" left="0mm" top="0mm" width="50mm" height="{$pageHeight}mm" background-color="rgb(224,226,224)">
                    <xsl:if test="$current_template = 'industry-connection-report'">
                        <xsl:attribute name="background-color">black</xsl:attribute>
                    </xsl:if>
                    <fo:block> </fo:block>
                </fo:block-container>

                <fo:block-container position="absolute" left="14.5mm" top="12mm">
                    <xsl:if test="$current_template = 'industry-connection-report'">
                        <xsl:attribute name="left">12mm</xsl:attribute>
                        <xsl:attribute name="top">5mm</xsl:attribute>
                    </xsl:if>
                    <fo:block font-size="1">
                        <fo:instream-foreign-object content-width="27mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image Logo">

                            <xsl:choose>
                                <xsl:when test="$current_template = 'industry-connection-report'">
                                    <xsl:call-template name="insert_Image-IEEE2-Logo-svg">
                                        <xsl:with-param name="color">FFFFFF</xsl:with-param>
                                    </xsl:call-template>
                                </xsl:when>
                                <xsl:otherwise>
                                    <xsl:call-template name="insert_Image-IEEE2-Logo-svg"/>
                                </xsl:otherwise>
                            </xsl:choose>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>

                <fo:block-container position="absolute" left="15.2mm" top="262mm">
                    <xsl:if test="$current_template = 'industry-connection-report'">
                        <xsl:attribute name="left">14mm</xsl:attribute>
                    </xsl:if>
                    <fo:block font-size="1">
                        <fo:instream-foreign-object content-width="23.5mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image Logo">
                            <xsl:choose>
                                <xsl:when test="$current_template = 'industry-connection-report'">
                                    <xsl:attribute name="content-width">25mm</xsl:attribute>
                                    <xsl:copy-of select="$Image-IEEE-Logo-white-svg"/>
                                </xsl:when>
                                <xsl:otherwise>
                                    <xsl:copy-of select="$Image-IEEE-Logo-black-svg"/>
                                </xsl:otherwise>
                            </xsl:choose>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>

                <fo:block-container position="absolute" left="1.5mm" top="217mm">
                    <fo:block font-size="1">
                        <fo:instream-foreign-object content-width="40mm" content-height="2.6mm" scaling="non-uniform" fox:alt-text="Image Box">
                            <xsl:call-template name="insertImageBoxSVG">
                                <xsl:with-param name="color">rgb(80,197,216)</xsl:with-param>
                            </xsl:call-template>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>

                <fo:block-container font-family="Arial Black" font-weight="normal" reference-orientation="90" font-size="44pt" line-height="0.9" text-align="left">
                    <fo:block margin-left="71mm">
                        <fo:block margin-top="10.5mm">
                            <xsl:choose>
                                <xsl:when test="$current_template = 'industry-connection-report'">
                                    <xsl:attribute name="font-size">36pt</xsl:attribute>
                                    <xsl:attribute name="font-family">Montserrat ExtraBold</xsl:attribute>
                                    <xsl:attribute name="color">white</xsl:attribute>
                                    <xsl:text>INDUSTRY CONNECTIONS REPORT</xsl:text>
                                </xsl:when>
                                <xsl:otherwise>
                                    <xsl:text>IEEE SA</xsl:text>
                                    <xsl:if test="$current_template = 'icap-whitepaper'">
                                        <xsl:text> ICAP</xsl:text>
                                    </xsl:if>
                                    <fo:block>WHITE PAPER</fo:block>
                                </xsl:otherwise>
                            </xsl:choose>
                        </fo:block>
                    </fo:block>
                </fo:block-container>

            </fo:static-content> <!-- "left-region -->

            <fo:flow flow-name="xsl-region-body">
                <fo:block-container font-family="Arial Black" display-align="center" height="85mm">
                    <fo:block font-size="13pt">
                        <xsl:choose>
                            <xsl:when test="$current_template = 'icap-whitepaper'">
                                <xsl:attribute name="margin-right">-10mm</xsl:attribute>
                                <xsl:text>IEEE CONFORMITY ASSESSMENT PROGRAM (ICAP)</xsl:text>
                            </xsl:when>
                            <xsl:otherwise> <!-- PROGRAM TITLE TO GO HERE -->
                                <xsl:value-of select="/ieee:ieee-standard/ieee:bibdata/ieee:ext/ieee:program"/>
                            </xsl:otherwise>
                        </xsl:choose>
                    </fo:block>
                    <fo:block font-size="20pt" space-before="18mm">
                        <xsl:copy-of select="$title"/>
                    </fo:block>
                </fo:block-container>
                <fo:block-container font-family="Calibri Light" font-size="12pt" line-height="1.7">
                    <fo:block space-after="6mm">Authored by</fo:block>
                    <!-- <fo:block>Firstname Lastname</fo:block>
                    <fo:block font-style="italic">Title</fo:block>
                    <fo:block>Firstname Lastname</fo:block>
                    <fo:block font-style="italic">Title</fo:block> -->
                    <xsl:for-each select="/ieee:ieee-standard/ieee:bibdata/ieee:contributor[ieee:role[@type = 'author']]">
                        <fo:block><xsl:value-of select="concat(ieee:person/ieee:name/ieee:forename, ' ', ieee:person/ieee:name/ieee:surname)"/></fo:block>
                    <fo:block font-style="italic"><xsl:value-of select="ieee:person/ieee:affiliation/ieee:name"/></fo:block>
                    </xsl:for-each>
                </fo:block-container>
            </fo:flow>
        </fo:page-sequence>
    </xsl:template> <!-- insertCoverPage_NonStandard -->
    <!-- =============================== -->
    <!-- End Cover Pages -->
    <!-- =============================== -->

    <!-- =============================== -->
    <!-- Back Pages -->
    <!-- =============================== -->
    <xsl:template name="insertBackPage_Standard">
        <fo:page-sequence master-reference="cover-and-back-page-standard" force-page-count="no-force">

            <fo:static-content flow-name="header" role="artifact">
                <fo:block-container position="absolute" left="14mm" top="17.8mm">
                    <fo:block font-size="1">
                        <fo:instream-foreign-object content-width="32.9mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image IEEE Logo">
                            <xsl:call-template name="insert_Image-IEEE2-Logo-svg"/>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>
                <fo:block-container position="absolute" left="21mm" top="256mm">
                    <fo:block font-size="1">
                        <fo:instream-foreign-object content-width="20.8mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image IEEE Logo">
                            <xsl:copy-of select="$Image-IEEE-Logo-black-svg"/>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>
                <fo:block-container position="absolute" left="191mm" top="-1mm">
                    <fo:block font-size="1">
                        <fo:instream-foreign-object content-width="26mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image Boxes">
                            <xsl:copy-of select="$Image-Blue-Boxes-svg"/>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>
            </fo:static-content>

            <fo:flow flow-name="xsl-region-body" font-family="Calibri">

                <fo:block font-family="Montserrat ExtraBold" font-size="32pt" font-weight="normal" margin-top="44mm" line-height="0.9">
                    <fo:block>RAISING THE</fo:block>
                    <fo:block>WORLD’S</fo:block>
                    <fo:block>STANDARDS</fo:block>
                </fo:block>
                <fo:block font-size="1" space-before="6mm">
                    <fo:instream-foreign-object content-width="75mm" content-height="2.6mm" scaling="non-uniform" fox:alt-text="Image Box">
                        <xsl:call-template name="insertImageBoxSVG">
                            <xsl:with-param name="color">rgb(38,172,226)</xsl:with-param>
                        </xsl:call-template>
                    </fo:instream-foreign-object>
                </fo:block>
                <fo:block font-size="12pt" font-weight="bold" space-before="1.5mm">Connect with us on:</fo:block>
                <fo:block font-size="10pt" space-before="1mm">
                    <fo:table width="100%" table-layout="fixed">
                        <fo:table-column column-width="7.6mm"/>
                        <fo:table-column column-width="90mm"/>
                        <fo:table-body>
                            <fo:table-row display-align="center" height="6mm">
                                <fo:table-cell>
                                    <fo:block font-size="1">
                                        <fo:external-graphic src="{concat('data:image/png;base64,', normalize-space($Image-Twitter-Logo))}" content-width="4.5mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image Boxes"/>
                                    </fo:block>
                                </fo:table-cell>
                                <fo:table-cell>
                                    <fo:block><fo:inline font-weight="bold">Twitter</fo:inline>: twitter.com/ieeesa</fo:block>
                                </fo:table-cell>
                            </fo:table-row>
                            <fo:table-row display-align="center" height="6mm">
                                <fo:table-cell>
                                    <fo:block font-size="1">
                                        <fo:external-graphic src="{concat('data:image/png;base64,', normalize-space($Image-FB-Logo))}" content-width="5.5mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image Boxes"/>
                                    </fo:block>
                                </fo:table-cell>
                                <fo:table-cell>
                                    <fo:block><fo:inline font-weight="bold">Facebook</fo:inline>: facebook.com/ieeesa</fo:block>
                                </fo:table-cell>
                            </fo:table-row>
                            <fo:table-row display-align="center" height="6mm">
                                <fo:table-cell>
                                    <fo:block font-size="1">
                                        <fo:external-graphic src="{concat('data:image/png;base64,', normalize-space($Image-LinkedIn-Logo))}" content-width="5.2mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image Boxes"/>
                                    </fo:block>
                                </fo:table-cell>
                                <fo:table-cell>
                                    <fo:block><fo:inline font-weight="bold">LinkedIn</fo:inline>: linkedin.com/groups/1791118</fo:block>
                                </fo:table-cell>
                            </fo:table-row>
                            <fo:table-row display-align="center" height="6mm">
                                <fo:table-cell>
                                    <fo:block font-size="1">
                                        <fo:external-graphic src="{concat('data:image/png;base64,', normalize-space($Image-Beyond-Logo))}" content-width="5mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image Boxes"/>
                                    </fo:block>
                                </fo:table-cell>
                                <fo:table-cell>
                                    <fo:block><fo:inline font-weight="bold">Beyond Standards blog</fo:inline>: beyondstandards.ieee.org</fo:block>
                                </fo:table-cell>
                            </fo:table-row>
                            <fo:table-row display-align="center" height="6mm">
                                <fo:table-cell>
                                    <fo:block font-size="1">
                                        <fo:external-graphic src="{concat('data:image/png;base64,', normalize-space($Image-Youtube-Logo))}" content-width="5mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image Boxes"/>
                                    </fo:block>
                                </fo:table-cell>
                                <fo:table-cell>
                                    <fo:block><fo:inline font-weight="bold">YouTube</fo:inline>: youtube.com/ieeesa</fo:block>
                                </fo:table-cell>
                            </fo:table-row>
                        </fo:table-body>
                    </fo:table>
                </fo:block>
                <fo:block font-size="10pt" space-before="3mm">
                    <fo:block>standards.ieee.org</fo:block>
                    <fo:block>Phone: +1 732 981 0060</fo:block>
                </fo:block>

            </fo:flow>
        </fo:page-sequence>
    </xsl:template>

    <xsl:template name="insertBackPage_IndustryConnectionReport">
        <fo:page-sequence master-reference="cover-and-back-page-industry-connection-report" force-page-count="no-force">
            <fo:static-content flow-name="left-region" role="artifact">
                <fo:block-container position="absolute" left="0mm" top="0mm" width="50mm" height="{$pageHeight}mm" background-color="black">
                    <fo:block> </fo:block>
                </fo:block-container>
            </fo:static-content>
            <fo:flow flow-name="xsl-region-body">
                <fo:block-container margin-top="-61mm">
                    <fo:block font-family="Arial Black" font-weight="normal" font-size="20pt" line-height="1.25">
                        <fo:block>RAISING THE WORLD’S </fo:block>
                        <fo:block>STANDARDS</fo:block>
                    </fo:block>
                    <fo:block font-size="1" space-before="1mm">
                        <fo:instream-foreign-object content-width="56.8mm" content-height="2.7mm" scaling="non-uniform" fox:alt-text="Image Box">
                            <xsl:call-template name="insertImageBoxSVG">
                                <xsl:with-param name="color"><xsl:value-of select="$color_blue"/></xsl:with-param>
                            </xsl:call-template>
                        </fo:instream-foreign-object>
                    </fo:block>
                </fo:block-container>

                <fo:block margin-left="8mm" margin-right="-10mm" margin-top="152mm" font-size="11pt" font-family="Calibri">
                    <fo:block>3 Park Avenue, New York, NY 10016‐5997 USA <fo:inline text-decoration="underline" color="rgb(0,169,233)">http://standards.ieee.org</fo:inline></fo:block>
                    <fo:block> </fo:block>
                    <fo:block>Tel.+1732‐981‐0060 Fax+1732‐562‐1571</fo:block>
                </fo:block>

            </fo:flow>
        </fo:page-sequence>
    </xsl:template> <!-- insertBackPage_IndustryConnectionReport -->

    <xsl:template name="insertBackPage_NonStandard">
        <fo:page-sequence master-reference="back-page-nonstandard" force-page-count="no-force">
            <fo:static-content flow-name="left-region" role="artifact">
                <fo:block-container position="absolute" left="0mm" top="0mm" width="50mm" height="{$pageHeight}mm" background-color="rgb(224,226,224)">
                    <fo:block> </fo:block>
                </fo:block-container>
            </fo:static-content>
            <fo:flow flow-name="xsl-region-body">
                <fo:block-container>
                    <fo:block font-family="Arial Black" font-weight="normal" font-size="20pt" line-height="1.25">
                        <fo:block>RAISING THE WORLD’S </fo:block>
                        <fo:block>STANDARDS</fo:block>
                    </fo:block>
                    <fo:block font-size="1" space-before="2mm" margin-left="-1.5mm">
                        <fo:instream-foreign-object content-width="56.8mm" content-height="2.7mm" scaling="non-uniform" fox:alt-text="Image Box">
                            <xsl:call-template name="insertImageBoxSVG">
                                <xsl:with-param name="color"><xsl:value-of select="$color_blue"/></xsl:with-param>
                            </xsl:call-template>
                        </fo:instream-foreign-object>
                    </fo:block>
                    <fo:block margin-right="-10mm" margin-top="140mm" font-size="11pt" font-family="Calibri">
                        <fo:block>3 Park Avenue, New York, NY 10016‐5997 USA <fo:inline padding-left="2mm" text-decoration="underline" color="rgb(0,169,233)">http://standards.ieee.org</fo:inline></fo:block>
                        <fo:block> </fo:block>
                        <fo:block>Tel.+1732‐981‐0060 Fax+1732‐562‐1571</fo:block>
                    </fo:block>
                </fo:block-container>
            </fo:flow>
        </fo:page-sequence>
    </xsl:template> <!-- insertBackPage_NonStandard -->
    <!-- =============================== -->
    <!-- End Back Pages -->
    <!-- =============================== -->

            <xsl:strip-space xmlns:redirect="http://xml.apache.org/xalan/redirect" elements="ieee:xref"/>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="namespace_full" select="namespace-uri(/*)"/> <!-- example: https://www.metanorma.org/ns/iso -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="root_element" select="local-name(/*)"/> <!-- example: iso-standard -->

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="document_scheme" select="normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'document-scheme']/*[local-name() = 'value'])"/>

    <!-- external parameters -->

    <xsl:param xmlns:redirect="http://xml.apache.org/xalan/redirect" name="svg_images"/> <!-- svg images array -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="images" select="document($svg_images)"/>
    <xsl:param xmlns:redirect="http://xml.apache.org/xalan/redirect" name="basepath"/> <!-- base path for images -->
    <xsl:param xmlns:redirect="http://xml.apache.org/xalan/redirect" name="inputxml_basepath"/> <!-- input xml file path -->
    <xsl:param xmlns:redirect="http://xml.apache.org/xalan/redirect" name="inputxml_filename"/> <!-- input xml file name -->
    <xsl:param xmlns:redirect="http://xml.apache.org/xalan/redirect" name="output_path"/> <!-- output PDF file name -->
    <xsl:param xmlns:redirect="http://xml.apache.org/xalan/redirect" name="external_index"/><!-- path to index xml, generated on 1st pass, based on FOP Intermediate Format -->
    <xsl:param xmlns:redirect="http://xml.apache.org/xalan/redirect" name="syntax-highlight">false</xsl:param> <!-- syntax highlighting feature, default - off -->
    <xsl:param xmlns:redirect="http://xml.apache.org/xalan/redirect" name="add_math_as_text">true</xsl:param> <!-- add math in text behind svg formula, to copy-paste formula from PDF as text -->

    <xsl:param xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table_if">false</xsl:param> <!-- generate extended table in IF for autolayout-algorithm -->
    <xsl:param xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table_widths"/> <!-- (debug: path to) xml with table's widths, generated on 1st pass, based on FOP Intermediate Format -->
    <!-- Example: <tables>
        <table page-width="509103" id="table1" width_max="223561" width_min="223560">
            <column width_max="39354" width_min="39354"/>
            <column width_max="75394" width_min="75394"/>
            <column width_max="108813" width_min="108813"/>
            <tbody>
                <tr>
                    <td width_max="39354" width_min="39354">
                        <p_len>39354</p_len>
                        <word_len>39354</word_len>
                    </td>
                    
        OLD:
            <tables>
                    <table id="table_if_tab-symdu" page-width="75"> - table id prefixed by 'table_if_' to simple search in IF 
                        <tbody>
                            <tr>
                                <td id="tab-symdu_1_1">
                                    <p_len>6</p_len>
                                    <p_len>100</p_len>  for 2nd paragraph
                                    <word_len>6</word_len>
                                    <word_len>20</word_len>
                                ...
    -->

    <!-- for command line debug: <xsl:variable name="table_widths_from_if" select="document($table_widths)"/> -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table_widths_from_if" select="xalan:nodeset($table_widths)"/>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table_widths_from_if_calculated_">
        <xsl:for-each select="$table_widths_from_if//table">
            <xsl:copy>
                <xsl:copy-of select="@*"/>
                <xsl:call-template name="calculate-column-widths-autolayout-algorithm"/>
            </xsl:copy>
        </xsl:for-each>
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table_widths_from_if_calculated" select="xalan:nodeset($table_widths_from_if_calculated_)"/>

    <xsl:param xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table_if_debug">false</xsl:param> <!-- set 'true' to put debug width data before table or dl -->

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="isApplyAutolayoutAlgorithm_">
        true
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="isApplyAutolayoutAlgorithm" select="normalize-space($isApplyAutolayoutAlgorithm_)"/>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="isGenerateTableIF_">
        <xsl:choose>
            <xsl:when test="$isApplyAutolayoutAlgorithm = 'true'">
                <xsl:value-of select="normalize-space($table_if) = 'true'"/>
            </xsl:when>
            <xsl:otherwise>false</xsl:otherwise>
        </xsl:choose>
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="isGenerateTableIF" select="normalize-space($isGenerateTableIF_)"/>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="lang">
        <xsl:call-template name="getLang"/>
    </xsl:variable>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="inputxml_filename_prefix">
        <xsl:choose>
            <xsl:when test="contains($inputxml_filename, '.presentation.xml')">
                <xsl:value-of select="substring-before($inputxml_filename, '.presentation.xml')"/>
            </xsl:when>
            <xsl:when test="contains($inputxml_filename, '.xml')">
                <xsl:value-of select="substring-before($inputxml_filename, '.xml')"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:value-of select="$inputxml_filename"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:variable>

    <!-- Note 1: Each xslt has declated variable `namespace` that allows to set some properties, processing logic, etc. for concrete xslt.
    You can put such conditions by using xslt construction `xsl:if test="..."` or <xsl:choose><xsl:when test=""></xsl:when><xsl:otherwiste></xsl:otherwiste></xsl:choose>,
    BUT DON'T put any another conditions together with $namespace = '...' (such conditions will be ignored). For another conditions, please use nested xsl:if or xsl:choose -->

    <!--
    <metanorma-extension>
        <presentation-metadata>
            <papersize>letter</papersize>
        </presentation-metadata>
    </metanorma-extension>
    -->

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="papersize" select="java:toLowerCase(java:java.lang.String.new(normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata']/*[local-name() = 'papersize'])))"/>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="papersize_width_">
        <xsl:choose>
            <xsl:when test="$papersize = 'letter'">215.9</xsl:when>
            <xsl:when test="$papersize = 'a4'">210</xsl:when>
        </xsl:choose>
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="papersize_width" select="normalize-space($papersize_width_)"/>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="papersize_height_">
        <xsl:choose>
            <xsl:when test="$papersize = 'letter'">279.4</xsl:when>
            <xsl:when test="$papersize = 'a4'">297</xsl:when>
        </xsl:choose>
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="papersize_height" select="normalize-space($papersize_height_)"/>

    <!-- page width in mm -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="pageWidth_">
        <xsl:choose>
            <xsl:when test="$papersize_width != ''"><xsl:value-of select="$papersize_width"/></xsl:when>
            <xsl:otherwise>
                215.9
            </xsl:otherwise>
        </xsl:choose>
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="pageWidth" select="normalize-space($pageWidth_)"/>

    <!-- page height in mm -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="pageHeight_">
        <xsl:choose>
            <xsl:when test="$papersize_height != ''"><xsl:value-of select="$papersize_height"/></xsl:when>
            <xsl:otherwise>
                279.4
            </xsl:otherwise>
        </xsl:choose>
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="pageHeight" select="normalize-space($pageHeight_)"/>

    <!-- Page margins in mm (just digits, without 'mm')-->
    <!-- marginLeftRight1 and marginLeftRight2 - is left or right margin depends on odd/even page,
    for example, left margin on odd page and right margin on even page -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="marginLeftRight1_">
        31.7
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="marginLeftRight1" select="normalize-space($marginLeftRight1_)"/>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="marginLeftRight2_">
        31.7
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="marginLeftRight2" select="normalize-space($marginLeftRight2_)"/>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="marginTop_">
        25.4
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="marginTop" select="normalize-space($marginTop_)"/>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="marginBottom_">
        25.4
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="marginBottom" select="normalize-space($marginBottom_)"/>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="layout_columns_default">1</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="layout_columns_" select="normalize-space((//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata']/*[local-name() = 'layout-columns'])"/>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="layout_columns">
        <xsl:choose>
            <xsl:when test="$layout_columns_ != ''"><xsl:value-of select="$layout_columns_"/></xsl:when>
            <xsl:otherwise><xsl:value-of select="$layout_columns_default"/></xsl:otherwise>
        </xsl:choose>
    </xsl:variable>

    <!-- Note 2: almost all localized string determined in the element //localized-strings in metanorma xml, but there are a few cases when:
     - string didn't determined yet
     - we need to put the string on two-languages (for instance, on English and French both), but xml contains only localized strings for one language
     - there is a difference between localized string value and text that should be displayed in PDF
    -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="titles_">

        <!-- These titles of Table of contents renders different than determined in localized-strings -->
        <!-- <title-toc lang="en">
            <xsl:if test="$namespace = 'csd' or $namespace = 'ieee' or $namespace = 'iho' or $namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'unece-rec'">
                <xsl:text>Contents</xsl:text>
            </xsl:if>
            <xsl:if test="$namespace = 'csa' or $namespace = 'm3d' or $namespace = 'nist-sp' or $namespace = 'ogc-white-paper'">
                <xsl:text>Table of Contents</xsl:text>
            </xsl:if>
            <xsl:if test="$namespace = 'gb'">
                <xsl:text>Table of contents</xsl:text>
            </xsl:if>
        </title-toc> -->
        <title-toc lang="en">Table of contents</title-toc>
        <!-- <title-toc lang="fr">
            <xsl:text>Sommaire</xsl:text>
        </title-toc> -->
        <!-- <title-toc lang="zh">
            <xsl:choose>
                <xsl:when test="$namespace = 'gb'">
                    <xsl:text>目次</xsl:text>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:text>Contents</xsl:text>
                </xsl:otherwise>
            </xsl:choose>
        </title-toc> -->
        <title-toc lang="zh">目次</title-toc>

        <title-part lang="en">

        </title-part>
        <title-part lang="fr">

        </title-part>
        <title-part lang="ru">

        </title-part>
        <title-part lang="zh">第 # 部分:</title-part>

        <title-subpart lang="en">Sub-part #</title-subpart>
        <title-subpart lang="fr">Partie de sub #</title-subpart>

    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="titles" select="xalan:nodeset($titles_)"/>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="title-list-tables">
        <xsl:variable name="toc_table_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='table']/*[local-name() = 'title']"/>
        <xsl:value-of select="$toc_table_title"/>
        <xsl:if test="normalize-space($toc_table_title) = ''">
            <xsl:call-template name="getLocalizedString">
                <xsl:with-param name="key">toc_tables</xsl:with-param>
            </xsl:call-template>
        </xsl:if>
    </xsl:variable>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="title-list-figures">
        <xsl:variable name="toc_figure_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='figure']/*[local-name() = 'title']"/>
        <xsl:value-of select="$toc_figure_title"/>
        <xsl:if test="normalize-space($toc_figure_title) = ''">
            <xsl:call-template name="getLocalizedString">
                <xsl:with-param name="key">toc_figures</xsl:with-param>
            </xsl:call-template>
        </xsl:if>
    </xsl:variable>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="title-list-recommendations">
        <xsl:variable name="toc_requirement_title" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='requirement']/*[local-name() = 'title']"/>
        <xsl:value-of select="$toc_requirement_title"/>
        <xsl:if test="normalize-space($toc_requirement_title) = ''">
            <xsl:call-template name="getLocalizedString">
                <xsl:with-param name="key">toc_recommendations</xsl:with-param>
            </xsl:call-template>
        </xsl:if>
    </xsl:variable>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibdata">
        <xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']"/>
        <xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'localized-strings']"/>
    </xsl:variable>

    <!-- Characters -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="linebreak">&#8232;</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="tab_zh"> </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="non_breaking_hyphen">‑</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="thin_space"> </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="zero_width_space">​</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hair_space"> </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="en_dash">–</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="em_dash">—</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="cr">&#13;</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="lf">
</xsl:variable>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getTitle">
        <xsl:param name="name"/>
        <xsl:param name="lang"/>
        <xsl:variable name="lang_">
            <xsl:choose>
                <xsl:when test="$lang != ''">
                    <xsl:value-of select="$lang"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:call-template name="getLang"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:variable name="language" select="normalize-space($lang_)"/>
        <xsl:variable name="title_" select="$titles/*[local-name() = $name][@lang = $language]"/>
        <xsl:choose>
            <xsl:when test="normalize-space($title_) != ''">
                <xsl:value-of select="$title_"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:value-of select="$titles/*[local-name() = $name][@lang = 'en']"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="lower">abcdefghijklmnopqrstuvwxyz</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="upper">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="en_chars" select="concat($lower,$upper,',.`1234567890-=~!@#$%^*()_+[]{}\|?/')"/>

    <!-- ====================================== -->
    <!-- STYLES -->
    <!-- ====================================== -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="font_noto_sans">Noto Sans, Noto Sans HK, Noto Sans JP, Noto Sans KR, Noto Sans SC, Noto Sans TC</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="font_noto_sans_mono">Noto Sans Mono, Noto Sans Mono CJK HK, Noto Sans Mono CJK JP, Noto Sans Mono CJK KR, Noto Sans Mono CJK SC, Noto Sans Mono CJK TC</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="font_noto_serif">Noto Serif, Noto Serif HK, Noto Serif JP, Noto Serif KR, Noto Serif SC, Noto Serif TC</xsl:variable>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="root-style">

            <xsl:attribute name="font-family">Times New Roman, STIX Two Math, <xsl:value-of select="$font_noto_serif"/></xsl:attribute>
            <xsl:attribute name="font-family-generic">Serif</xsl:attribute>
            <xsl:attribute name="font-size">10pt</xsl:attribute>

    </xsl:attribute-set> <!-- root-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertRootStyle">
        <xsl:param name="root-style"/>
        <xsl:variable name="root-style_" select="xalan:nodeset($root-style)"/>

        <xsl:variable name="additional_fonts_">
            <xsl:for-each select="//*[contains(local-name(), '-standard')][1]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'fonts']/*[local-name() = 'value'] |       //*[contains(local-name(), '-standard')][1]/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'fonts']/*[local-name() = 'value']">
                <xsl:value-of select="."/><xsl:if test="position() != last()">, </xsl:if>
            </xsl:for-each>
        </xsl:variable>
        <xsl:variable name="additional_fonts" select="normalize-space($additional_fonts_)"/>

        <xsl:variable name="font_family_generic" select="$root-style_/root-style/@font-family-generic"/>

        <xsl:for-each select="$root-style_/root-style/@*">

            <xsl:choose>
                <xsl:when test="local-name() = 'font-family-generic'"><!-- skip, it's using for determine 'sans' or 'serif' --></xsl:when>
                <xsl:when test="local-name() = 'font-family'">

                    <xsl:variable name="font_regional_prefix">
                        <xsl:choose>
                            <xsl:when test="$font_family_generic = 'Sans'">Noto Sans</xsl:when>
                            <xsl:otherwise>Noto Serif</xsl:otherwise>
                        </xsl:choose>
                    </xsl:variable>

                    <xsl:attribute name="{local-name()}">

                        <xsl:variable name="font_extended">
                            <xsl:choose>
                                <xsl:when test="$lang = 'zh'"><xsl:value-of select="$font_regional_prefix"/> SC</xsl:when>
                                <xsl:when test="$lang = 'hk'"><xsl:value-of select="$font_regional_prefix"/> HK</xsl:when>
                                <xsl:when test="$lang = 'jp'"><xsl:value-of select="$font_regional_prefix"/> JP</xsl:when>
                                <xsl:when test="$lang = 'kr'"><xsl:value-of select="$font_regional_prefix"/> KR</xsl:when>
                                <xsl:when test="$lang = 'sc'"><xsl:value-of select="$font_regional_prefix"/> SC</xsl:when>
                                <xsl:when test="$lang = 'tc'"><xsl:value-of select="$font_regional_prefix"/> TC</xsl:when>
                            </xsl:choose>
                        </xsl:variable>
                        <xsl:if test="normalize-space($font_extended) != ''">
                            <xsl:value-of select="$font_regional_prefix"/><xsl:text>, </xsl:text>
                            <xsl:value-of select="$font_extended"/><xsl:text>, </xsl:text>
                        </xsl:if>

                        <xsl:variable name="font_family" select="."/>

                        <xsl:choose>
                            <xsl:when test="$additional_fonts = ''">
                                <xsl:value-of select="$font_family"/>
                            </xsl:when>
                            <xsl:otherwise> <!-- $additional_fonts != '' -->
                                <xsl:choose>
                                    <xsl:when test="contains($font_family, ',')">
                                        <xsl:value-of select="substring-before($font_family, ',')"/>
                                        <xsl:text>, </xsl:text><xsl:value-of select="$additional_fonts"/>
                                        <xsl:text>, </xsl:text><xsl:value-of select="substring-after($font_family, ',')"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:value-of select="$font_family"/>
                                        <xsl:text>, </xsl:text><xsl:value-of select="$additional_fonts"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                            </xsl:otherwise>
                        </xsl:choose>
                    </xsl:attribute>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:copy-of select="."/>
                </xsl:otherwise>
            </xsl:choose>

            <!-- <xsl:choose>
                <xsl:when test="local-name() = 'font-family'">
                    <xsl:attribute name="{local-name()}">
                        <xsl:value-of select="."/>, <xsl:value-of select="$additional_fonts"/>
                    </xsl:attribute>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:copy-of select="."/>
                </xsl:otherwise>
            </xsl:choose> -->
        </xsl:for-each>
    </xsl:template> <!-- insertRootStyle -->

    <!-- Preface sections styles -->
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="copyright-statement-style">

    </xsl:attribute-set> <!-- copyright-statement-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="copyright-statement-title-style">

    </xsl:attribute-set> <!-- copyright-statement-title-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="copyright-statement-p-style">

    </xsl:attribute-set> <!-- copyright-statement-p-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="license-statement-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="license-statement-title-style">
        <xsl:attribute name="keep-with-next">always</xsl:attribute>

    </xsl:attribute-set> <!-- license-statement-title-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="license-statement-p-style">

    </xsl:attribute-set> <!-- license-statement-p-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="legal-statement-style">

    </xsl:attribute-set> <!-- legal-statement-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="legal-statement-title-style">
        <xsl:attribute name="keep-with-next">always</xsl:attribute>

    </xsl:attribute-set> <!-- legal-statement-title-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="legal-statement-p-style">

    </xsl:attribute-set> <!-- legal-statement-p-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="feedback-statement-style">

    </xsl:attribute-set> <!-- feedback-statement-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="feedback-statement-title-style">
        <xsl:attribute name="keep-with-next">always</xsl:attribute>

    </xsl:attribute-set> <!-- feedback-statement-title-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="feedback-statement-p-style">

    </xsl:attribute-set> <!-- feedback-statement-p-style -->

    <!-- End Preface sections styles -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="link-style">

            <xsl:attribute name="color">blue</xsl:attribute>
            <xsl:attribute name="text-decoration">underline</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_link-style">

            <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                <xsl:attribute name="color"><xsl:value-of select="$color_blue"/></xsl:attribute>
                <xsl:attribute name="text-decoration">none</xsl:attribute>
            </xsl:if>
            <xsl:if test="$current_template = 'standard'">
                <xsl:attribute name="color"><xsl:value-of select="$color_blue"/></xsl:attribute>
                <xsl:attribute name="text-decoration">none</xsl:attribute>
                <xsl:if test="ancestor::*[local-name() = 'feedback-statement']">
                    <xsl:attribute name="text-decoration">underline</xsl:attribute>
                </xsl:if>
            </xsl:if>

    </xsl:template> <!-- refine_link-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="sourcecode-container-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="sourcecode-style">
        <xsl:attribute name="white-space">pre</xsl:attribute>
        <xsl:attribute name="wrap-option">wrap</xsl:attribute>
        <xsl:attribute name="role">Code</xsl:attribute>

            <xsl:attribute name="font-family">Courier New, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
            <xsl:attribute name="margin-top">5pt</xsl:attribute>
            <xsl:attribute name="margin-bottom">5pt</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_sourcecode-style">

    </xsl:template> <!-- refine_sourcecode-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="pre-style">
        <xsl:attribute name="font-family">Courier New, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
        <xsl:attribute name="margin-bottom">6pt</xsl:attribute>

            <xsl:attribute name="margin-top">5pt</xsl:attribute>
            <xsl:attribute name="margin-bottom">5pt</xsl:attribute>
            <xsl:attribute name="font-size">95%</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="permission-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="permission-name-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="permission-label-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="requirement-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="requirement-name-style">
        <xsl:attribute name="keep-with-next">always</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="requirement-label-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="subject-style">
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="inherit-style">
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="description-style">
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="specification-style">
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="measurement-target-style">
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="verification-style">
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="import-style">
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="component-style">
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="recommendation-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="recommendation-name-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="recommendation-label-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="termexample-style">

            <xsl:attribute name="margin-top">8pt</xsl:attribute>
            <xsl:attribute name="margin-bottom">8pt</xsl:attribute>
            <xsl:attribute name="text-align">justify</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_termexample-style">

    </xsl:template>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="example-style">

            <xsl:attribute name="margin-top">8pt</xsl:attribute>
            <xsl:attribute name="margin-bottom">8pt</xsl:attribute>
            <xsl:attribute name="text-align">justify</xsl:attribute>

    </xsl:attribute-set> <!-- example-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_example-style">

    </xsl:template> <!-- refine_example-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="example-body-style">

    </xsl:attribute-set> <!-- example-body-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="example-name-style">

            <xsl:attribute name="keep-with-next">always</xsl:attribute>
            <xsl:attribute name="padding-right">9mm</xsl:attribute>
            <xsl:attribute name="font-style">italic</xsl:attribute>

    </xsl:attribute-set> <!-- example-name-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_example-name-style">

    </xsl:template>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="example-p-style">

    </xsl:attribute-set> <!-- example-p-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_example-p-style">

            <xsl:if test="not(preceding-sibling::*[local-name() = 'p'])">
                <xsl:attribute name="margin-top">6pt</xsl:attribute>
            </xsl:if>

    </xsl:template> <!-- refine_example-p-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="termexample-name-style">

            <xsl:attribute name="keep-with-next">always</xsl:attribute>
            <xsl:attribute name="padding-right">9mm</xsl:attribute>
            <xsl:attribute name="font-style">italic</xsl:attribute>

    </xsl:attribute-set> <!-- termexample-name-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_termexample-name-style">

    </xsl:template>

    <!-- ========================== -->
    <!-- Table styles -->
    <!-- ========================== -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-border_">

        1pt solid black


    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-border" select="normalize-space($table-border_)"/>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-cell-border_">

    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-cell-border" select="normalize-space($table-cell-border_)"/>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-container-style">
        <xsl:attribute name="margin-left">0mm</xsl:attribute>
        <xsl:attribute name="margin-right">0mm</xsl:attribute>

            <xsl:attribute name="font-size">9pt</xsl:attribute>
            <xsl:attribute name="margin-top">12pt</xsl:attribute>
            <xsl:attribute name="margin-bottom">8pt</xsl:attribute>

    </xsl:attribute-set> <!-- table-container-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_table-container-style">
        <xsl:param name="margin-side"/>

            <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                <xsl:attribute name="font-size">10pt</xsl:attribute>
            </xsl:if>
            <xsl:if test="ancestor::*[local-name() = 'feedback-statement']">
                <xsl:attribute name="font-size">inherit</xsl:attribute>
                <xsl:attribute name="margin-top">6pt</xsl:attribute>
                <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
            </xsl:if>

        <!-- end table block-container attributes -->
    </xsl:template> <!-- refine_table-container-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-style">
        <xsl:attribute name="table-omit-footer-at-break">true</xsl:attribute>
        <xsl:attribute name="table-layout">fixed</xsl:attribute>

            <xsl:attribute name="border"><xsl:value-of select="$table-border"/></xsl:attribute>

    </xsl:attribute-set><!-- table-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_table-style">
        <xsl:param name="margin-side"/>

            <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                <xsl:attribute name="border">0.5 solid black</xsl:attribute>
            </xsl:if>
            <xsl:if test="ancestor::*[local-name() = 'feedback-statement']">
                <xsl:attribute name="border">none</xsl:attribute>
            </xsl:if>

        <xsl:call-template name="setBordersTableArray"/>

    </xsl:template> <!-- refine_table-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-name-style">
        <xsl:attribute name="keep-with-next">always</xsl:attribute>

            <xsl:attribute name="font-family">Arial</xsl:attribute>
            <xsl:attribute name="font-weight">bold</xsl:attribute>
            <xsl:attribute name="text-align">center</xsl:attribute>
            <xsl:attribute name="margin-bottom">6pt</xsl:attribute>

    </xsl:attribute-set> <!-- table-name-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_table-name-style">
        <xsl:param name="continued"/>

    </xsl:template> <!-- refine_table-name-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-row-style">
        <xsl:attribute name="min-height">4mm</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-header-row-style" use-attribute-sets="table-row-style">
        <xsl:attribute name="font-weight">bold</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_table-header-row-style">

        <xsl:call-template name="setBordersTableArray"/>

            <xsl:if test="position() = last()">
                <xsl:attribute name="border-bottom"><xsl:value-of select="$table-border"/></xsl:attribute>
            </xsl:if>
            <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                <xsl:attribute name="border-bottom">0.5 solid black</xsl:attribute>
            </xsl:if>

    </xsl:template> <!-- refine_table-header-row-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-footer-row-style" use-attribute-sets="table-row-style">

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_table-footer-row-style">

    </xsl:template> <!-- refine_table-footer-row-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-body-row-style" use-attribute-sets="table-row-style">

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_table-body-row-style">

            <xsl:if test="ancestor::*[local-name() = 'feedback-statement']">
                <xsl:attribute name="min-height">0mm</xsl:attribute>
            </xsl:if>

        <xsl:call-template name="setBordersTableArray"/>

    </xsl:template> <!-- refine_table-body-row-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-header-cell-style">
        <xsl:attribute name="font-weight">bold</xsl:attribute>
        <xsl:attribute name="padding-left">1mm</xsl:attribute>
        <xsl:attribute name="padding-right">1mm</xsl:attribute>
        <xsl:attribute name="display-align">center</xsl:attribute>

            <xsl:attribute name="padding-top">1mm</xsl:attribute>
            <xsl:attribute name="border">solid black 0.5pt</xsl:attribute>

    </xsl:attribute-set> <!-- table-header-cell-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_table-header-cell-style">

        <xsl:call-template name="setBordersTableArray"/>

        <xsl:if test="$lang = 'ar'">
            <xsl:attribute name="padding-right">1mm</xsl:attribute>
        </xsl:if>

        <xsl:call-template name="setTableCellAttributes"/>

    </xsl:template> <!-- refine_table-header-cell-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-cell-style">
        <xsl:attribute name="display-align">center</xsl:attribute>
        <xsl:attribute name="padding-left">1mm</xsl:attribute>
        <xsl:attribute name="padding-right">1mm</xsl:attribute>

            <xsl:attribute name="padding-top">0.5mm</xsl:attribute>
            <xsl:attribute name="border">solid black 0.5pt</xsl:attribute>

    </xsl:attribute-set> <!-- table-cell-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_table-cell-style">

        <xsl:if test="$lang = 'ar'">
            <xsl:attribute name="padding-right">1mm</xsl:attribute>
        </xsl:if>

         <!-- bsi -->

            <xsl:if test="ancestor::*[local-name() = 'feedback-statement']">
                <xsl:attribute name="padding-left">0mm</xsl:attribute>
                <xsl:attribute name="padding-top">0mm</xsl:attribute>
                <xsl:attribute name="padding-right">0mm</xsl:attribute>
                <xsl:attribute name="border">none</xsl:attribute>
            </xsl:if>

        <xsl:call-template name="setBordersTableArray"/>

    </xsl:template> <!-- refine_table-cell-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-footer-cell-style">
        <xsl:attribute name="border">solid black 1pt</xsl:attribute>
        <xsl:attribute name="padding-left">1mm</xsl:attribute>
        <xsl:attribute name="padding-right">1mm</xsl:attribute>
        <xsl:attribute name="padding-top">1mm</xsl:attribute>

            <xsl:attribute name="border">solid black 0.5pt</xsl:attribute>

    </xsl:attribute-set> <!-- table-footer-cell-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_table-footer-cell-style">

    </xsl:template> <!-- refine_table-footer-cell-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-note-style">
        <xsl:attribute name="font-size">10pt</xsl:attribute>
        <xsl:attribute name="margin-bottom">12pt</xsl:attribute>

            <xsl:attribute name="font-size">inherit</xsl:attribute>
            <xsl:attribute name="margin-bottom">6pt</xsl:attribute>

    </xsl:attribute-set><!-- table-note-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_table-note-style">

    </xsl:template> <!-- refine_table-note-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-fn-style">
        <xsl:attribute name="margin-bottom">12pt</xsl:attribute>

            <xsl:attribute name="font-size">inherit</xsl:attribute>
            <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
            <xsl:attribute name="text-indent">-3mm</xsl:attribute>
            <xsl:attribute name="margin-left">3mm</xsl:attribute>

            <xsl:attribute name="margin-top">6pt</xsl:attribute>
            <xsl:attribute name="margin-bottom">6pt</xsl:attribute>

    </xsl:attribute-set> <!-- table-fn-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_table-fn-style">

    </xsl:template>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-fn-number-style">
        <xsl:attribute name="font-size">80%</xsl:attribute>
        <xsl:attribute name="padding-right">5mm</xsl:attribute>

            <xsl:attribute name="baseline-shift">30%</xsl:attribute>
            <xsl:attribute name="font-size">6.5pt</xsl:attribute>

    </xsl:attribute-set> <!-- table-fn-number-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_table-fn-number-style">

    </xsl:template>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="fn-container-body-style">
        <xsl:attribute name="text-indent">0</xsl:attribute>
        <xsl:attribute name="start-indent">0</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-fn-body-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="figure-fn-number-style">
        <xsl:attribute name="font-size">80%</xsl:attribute>
        <xsl:attribute name="padding-right">5mm</xsl:attribute>
        <xsl:attribute name="vertical-align">super</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="figure-fn-body-style">
        <xsl:attribute name="text-align">justify</xsl:attribute>
        <xsl:attribute name="margin-bottom">12pt</xsl:attribute>

    </xsl:attribute-set>
    <!-- ========================== -->
    <!-- END Table styles -->
    <!-- ========================== -->

    <!-- ========================== -->
    <!-- Definition's list styles -->
    <!-- ========================== -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="dl-block-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="dt-row-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="dt-cell-style">

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_dt-cell-style">

    </xsl:template> <!-- refine_dt-cell-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="dt-block-style">
        <xsl:attribute name="margin-top">0pt</xsl:attribute>

            <xsl:attribute name="margin-left">2mm</xsl:attribute>
            <xsl:attribute name="line-height">1.2</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_dt-block-style">

    </xsl:template> <!-- refine_dt-block-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="dl-name-style">
        <xsl:attribute name="keep-with-next">always</xsl:attribute>
        <xsl:attribute name="margin-bottom">6pt</xsl:attribute>

            <xsl:attribute name="font-famuily">Arial</xsl:attribute>
            <xsl:attribute name="font-weight">bold</xsl:attribute>

    </xsl:attribute-set> <!-- dl-name-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="dd-cell-style">
        <xsl:attribute name="padding-left">2mm</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_dd-cell-style">

    </xsl:template> <!-- refine_dd-cell-style -->

    <!-- ========================== -->
    <!-- END Definition's list styles -->
    <!-- ========================== -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="appendix-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="appendix-example-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="xref-style">

            <xsl:attribute name="color">blue</xsl:attribute>
            <xsl:attribute name="text-decoration">underline</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="eref-style">

            <xsl:attribute name="color">blue</xsl:attribute>
            <xsl:attribute name="text-decoration">underline</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_eref-style">
        <xsl:variable name="citeas" select="java:replaceAll(java:java.lang.String.new(@citeas),'^\[?(.+?)\]?$','$1')"/> <!-- remove leading and trailing brackets -->
        <xsl:variable name="text" select="normalize-space()"/>

            <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                <xsl:attribute name="color"><xsl:value-of select="$color_blue"/></xsl:attribute>
                <xsl:attribute name="text-decoration">none</xsl:attribute>
            </xsl:if>

    </xsl:template> <!-- refine_eref-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="note-style">

            <xsl:attribute name="font-size">9pt</xsl:attribute>
            <xsl:attribute name="margin-top">12pt</xsl:attribute>
            <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
            <xsl:attribute name="text-align">justify</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_note-style">

    </xsl:template>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="note-body-indent">10mm</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="note-body-indent-table">5mm</xsl:variable>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="note-name-style">

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_note-name-style">

    </xsl:template> <!-- refine_note-name-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-note-name-style">
        <xsl:attribute name="padding-right">2mm</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_table-note-name-style">

    </xsl:template> <!-- refine_table-note-name-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="note-p-style">

            <xsl:attribute name="text-align">justify</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="termnote-style">

            <xsl:attribute name="font-size">9pt</xsl:attribute>
            <xsl:attribute name="margin-top">12pt</xsl:attribute>
            <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
            <xsl:attribute name="text-align">justify</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_termnote-style">

    </xsl:template> <!-- refine_termnote-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="termnote-name-style">

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_termnote-name-style">

            <xsl:attribute name="padding-right">0mm</xsl:attribute>

    </xsl:template>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="termnote-p-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="quote-style">
        <xsl:attribute name="margin-left">12mm</xsl:attribute>
        <xsl:attribute name="margin-right">12mm</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_quote-style">

    </xsl:template>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="quote-source-style">
        <xsl:attribute name="text-align">right</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="termsource-style">

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_termsource-style">

    </xsl:template> <!-- refine_termsource-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="termsource-text-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="origin-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="term-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="term-name-style">
        <xsl:attribute name="keep-with-next">always</xsl:attribute>
        <xsl:attribute name="font-weight">bold</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="figure-block-style">
        <xsl:attribute name="role">SKIP</xsl:attribute>

            <xsl:attribute name="margin-bottom">6pt</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_figure-block-style">

    </xsl:template>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="figure-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="figure-name-style">
        <xsl:attribute name="role">Caption</xsl:attribute>

            <xsl:attribute name="font-family">Arial</xsl:attribute>
            <xsl:attribute name="font-weight">bold</xsl:attribute>
            <xsl:attribute name="text-align">center</xsl:attribute>
            <xsl:attribute name="margin-top">12pt</xsl:attribute>
            <xsl:attribute name="space-after">6pt</xsl:attribute>
            <xsl:attribute name="keep-with-previous">always</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_figure-name-style">

            <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                <xsl:attribute name="font-size">inherit</xsl:attribute>
                <xsl:attribute name="font-family">Arial Black</xsl:attribute>
            </xsl:if>

    </xsl:template> <!-- refine_figure-name-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="figure-source-style">

    </xsl:attribute-set>

    <!-- Formula's styles -->
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="formula-style">
        <xsl:attribute name="margin-top">6pt</xsl:attribute>
        <xsl:attribute name="margin-bottom">12pt</xsl:attribute>

    </xsl:attribute-set> <!-- formula-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="formula-stem-block-style">
        <xsl:attribute name="text-align">center</xsl:attribute>

            <xsl:attribute name="text-align">left</xsl:attribute>
            <xsl:attribute name="margin-left">1mm</xsl:attribute>

    </xsl:attribute-set> <!-- formula-stem-block-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_formula-stem-block-style">

    </xsl:template> <!-- refine_formula-stem-block-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="formula-stem-number-style">
        <xsl:attribute name="text-align">right</xsl:attribute>

    </xsl:attribute-set> <!-- formula-stem-number-style -->
    <!-- End Formula's styles -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_formula-stem-number-style">

    </xsl:template>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="image-style">
        <xsl:attribute name="role">SKIP</xsl:attribute>
        <xsl:attribute name="text-align">center</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_image-style">

    </xsl:template>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="figure-pseudocode-p-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="image-graphic-style">
        <xsl:attribute name="width">100%</xsl:attribute>
        <xsl:attribute name="content-height">100%</xsl:attribute>
        <xsl:attribute name="scaling">uniform</xsl:attribute>

            <xsl:attribute name="content-height">scale-to-fit</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="tt-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="sourcecode-name-style">
        <xsl:attribute name="font-size">11pt</xsl:attribute>
        <xsl:attribute name="font-weight">bold</xsl:attribute>
        <xsl:attribute name="text-align">center</xsl:attribute>
        <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
        <xsl:attribute name="keep-with-previous">always</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="preferred-block-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="preferred-term-style">
        <xsl:attribute name="keep-with-next">always</xsl:attribute>
        <xsl:attribute name="font-weight">bold</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="domain-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="admitted-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="deprecates-style">

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="definition-style">

    </xsl:attribute-set>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="color-added-text">
        <xsl:text>rgb(0, 255, 0)</xsl:text>
    </xsl:variable>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="add-style">

                <xsl:attribute name="color">red</xsl:attribute>
                <xsl:attribute name="text-decoration">underline</xsl:attribute>
                <!-- <xsl:attribute name="color">black</xsl:attribute>
                <xsl:attribute name="background-color"><xsl:value-of select="$color-added-text"/></xsl:attribute>
                <xsl:attribute name="padding-top">1mm</xsl:attribute>
                <xsl:attribute name="padding-bottom">0.5mm</xsl:attribute> -->

    </xsl:attribute-set>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="add-style">
            <add-style xsl:use-attribute-sets="add-style"/>
        </xsl:variable>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="append_add-style">
        <xsl:copy-of select="xalan:nodeset($add-style)/add-style/@*"/>
    </xsl:template>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="color-deleted-text">
        <xsl:text>red</xsl:text>
    </xsl:variable>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="del-style">
        <xsl:attribute name="color"><xsl:value-of select="$color-deleted-text"/></xsl:attribute>
        <xsl:attribute name="text-decoration">line-through</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="mathml-style">
        <xsl:attribute name="font-family">STIX Two Math</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_mathml-style">

    </xsl:template>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="list-style">

            <xsl:attribute name="provisional-distance-between-starts">8mm</xsl:attribute>
            <xsl:attribute name="margin-top">8pt</xsl:attribute>

    </xsl:attribute-set> <!-- list-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_list-style">

    </xsl:template> <!-- refine_list-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="list-name-style">
        <xsl:attribute name="keep-with-next">always</xsl:attribute>

            <xsl:attribute name="margin-top">8pt</xsl:attribute>
            <xsl:attribute name="font-weight">bold</xsl:attribute>

    </xsl:attribute-set> <!-- list-name-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="list-item-style">

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_list-item-style">

    </xsl:template> <!-- refine_list-item-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="list-item-label-style">

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_list-item-label-style">

            <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                <xsl:attribute name="color">rgb(128,128,128)</xsl:attribute>
                <xsl:attribute name="line-height">1.1</xsl:attribute>
                <xsl:if test=".//ieee:fn">
                    <xsl:attribute name="line-height">1.4</xsl:attribute>
                </xsl:if>
            </xsl:if>

    </xsl:template> <!-- refine_list-item-label-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="list-item-body-style">

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_list-item-body-style">

    </xsl:template> <!-- refine_list-item-body-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="toc-style">
        <xsl:attribute name="line-height">135%</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="fn-reference-style">
        <xsl:attribute name="font-size">80%</xsl:attribute>
        <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_fn-reference-style">

    </xsl:template> <!-- refine_fn-reference-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="fn-style">
        <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="fn-num-style">
        <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>

            <xsl:attribute name="font-size">65%</xsl:attribute>
            <xsl:attribute name="vertical-align">super</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="fn-body-style">
        <xsl:attribute name="font-weight">normal</xsl:attribute>
        <xsl:attribute name="font-style">normal</xsl:attribute>
        <xsl:attribute name="text-indent">0</xsl:attribute>
        <xsl:attribute name="start-indent">0</xsl:attribute>

            <xsl:attribute name="font-size">8pt</xsl:attribute>
            <!-- <xsl:attribute name="margin-bottom">5pt</xsl:attribute> -->

    </xsl:attribute-set>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_fn-body-style">

            <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                <xsl:attribute name="font-size">7pt</xsl:attribute>
                <xsl:attribute name="line-height">1.1</xsl:attribute>
            </xsl:if>

    </xsl:template> <!-- refine_fn-body-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="fn-body-num-style">
        <xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>

            <xsl:attribute name="font-size">50%</xsl:attribute>
            <xsl:attribute name="vertical-align">super</xsl:attribute>
            <xsl:attribute name="padding-right">1mm</xsl:attribute>

    </xsl:attribute-set> <!-- fn-body-num-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_fn-body-num-style">

            <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                <xsl:attribute name="padding-right">0.5mm</xsl:attribute>
            </xsl:if>

    </xsl:template> <!-- refine_fn-body-num-style -->

    <!-- admonition -->
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="admonition-style">

            <xsl:attribute name="border">0.5pt solid black</xsl:attribute>
            <xsl:attribute name="space-before">12pt</xsl:attribute>
            <xsl:attribute name="text-align">center</xsl:attribute>
            <xsl:attribute name="space-after">12pt</xsl:attribute>

    </xsl:attribute-set> <!-- admonition-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="admonition-container-style">
        <xsl:attribute name="margin-left">0mm</xsl:attribute>
        <xsl:attribute name="margin-right">0mm</xsl:attribute>

            <xsl:attribute name="padding">1mm</xsl:attribute>
            <xsl:attribute name="padding-bottom">2mm</xsl:attribute>

    </xsl:attribute-set> <!-- admonition-container-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="admonition-name-style">
        <xsl:attribute name="keep-with-next">always</xsl:attribute>

    </xsl:attribute-set> <!-- admonition-name-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="admonition-p-style">

            <xsl:attribute name="text-align">justify</xsl:attribute>

    </xsl:attribute-set> <!-- admonition-p-style -->
    <!-- end admonition -->

    <!-- bibitem in Normative References (references/@normative="true") -->
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibitem-normative-style">

            <xsl:attribute name="margin-top">12pt</xsl:attribute>
            <xsl:attribute name="margin-bottom">12pt</xsl:attribute>

    </xsl:attribute-set> <!-- bibitem-normative-style -->

    <!-- bibitem in Normative References (references/@normative="true"), renders as list -->
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibitem-normative-list-style">
        <xsl:attribute name="provisional-distance-between-starts">12mm</xsl:attribute>
        <xsl:attribute name="margin-bottom">12pt</xsl:attribute>

        <!-- <xsl:if test="$namespace = 'ieee'">
            <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
            <xsl:attribute name="provisional-distance-between-starts">9.5mm</xsl:attribute>
        </xsl:if> -->

    </xsl:attribute-set> <!-- bibitem-normative-list-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibitem-non-normative-style">

    </xsl:attribute-set> <!-- bibitem-non-normative-style -->

    <!-- bibitem in bibliography section (references/@normative="false"), renders as list -->
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibitem-non-normative-list-style">
        <xsl:attribute name="provisional-distance-between-starts">12mm</xsl:attribute>
        <xsl:attribute name="margin-bottom">12pt</xsl:attribute>

            <xsl:attribute name="provisional-distance-between-starts">9.5mm</xsl:attribute>
            <xsl:attribute name="margin-bottom">6pt</xsl:attribute>

    </xsl:attribute-set> <!-- bibitem-non-normative-list-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibitem-non-normative-list-item-style">
        <xsl:attribute name="margin-bottom">12pt</xsl:attribute>

            <xsl:attribute name="margin-bottom">6pt</xsl:attribute>

    </xsl:attribute-set>

    <!-- bibitem in bibliography section (references/@normative="false"), list body -->
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibitem-normative-list-body-style">

            <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibitem-non-normative-list-body-style">

            <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>

    </xsl:attribute-set> <!-- bibitem-non-normative-list-body-style -->

    <!-- footnote reference number for bibitem, in the text  -->
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibitem-note-fn-style">
        <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
        <xsl:attribute name="font-size">65%</xsl:attribute>

            <xsl:attribute name="font-size">8pt</xsl:attribute>
            <xsl:attribute name="baseline-shift">30%</xsl:attribute>

    </xsl:attribute-set> <!-- bibitem-note-fn-style -->

    <!-- footnote number on the page bottom -->
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibitem-note-fn-number-style">
        <xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>

            <xsl:attribute name="alignment-baseline">hanging</xsl:attribute>
            <xsl:attribute name="padding-right">1mm</xsl:attribute>

    </xsl:attribute-set> <!-- bibitem-note-fn-number-style -->

    <!-- footnote body (text) on the page bottom -->
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibitem-note-fn-body-style">
        <xsl:attribute name="font-size">10pt</xsl:attribute>
        <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
        <xsl:attribute name="start-indent">0pt</xsl:attribute>

            <xsl:attribute name="font-size">8pt</xsl:attribute>
            <xsl:attribute name="margin-bottom">5pt</xsl:attribute>

    </xsl:attribute-set> <!-- bibitem-note-fn-body-style -->

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="references-non-normative-style">

    </xsl:attribute-set> <!-- references-non-normative-style -->

    <!-- Highlight.js syntax GitHub styles -->
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-doctag">
        <xsl:attribute name="color">#d73a49</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-keyword">
        <xsl:attribute name="color">#d73a49</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-meta_hljs-keyword">
        <xsl:attribute name="color">#d73a49</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-template-tag">
        <xsl:attribute name="color">#d73a49</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-template-variable">
        <xsl:attribute name="color">#d73a49</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-type">
        <xsl:attribute name="color">#d73a49</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-variable_and_language_">
        <xsl:attribute name="color">#d73a49</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-title">
        <xsl:attribute name="color">#6f42c1</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-title_and_class_">
        <xsl:attribute name="color">#6f42c1</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-title_and_class__and_inherited__">
        <xsl:attribute name="color">#6f42c1</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-title_and_function_">
        <xsl:attribute name="color">#6f42c1</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-attr">
        <xsl:attribute name="color">#005cc5</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-attribute">
        <xsl:attribute name="color">#005cc5</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-literal">
        <xsl:attribute name="color">#005cc5</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-meta">
        <xsl:attribute name="color">#005cc5</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-number">
        <xsl:attribute name="color">#005cc5</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-operator">
        <xsl:attribute name="color">#005cc5</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-variable">
        <xsl:attribute name="color">#005cc5</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-selector-attr">
        <xsl:attribute name="color">#005cc5</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-selector-class">
        <xsl:attribute name="color">#005cc5</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-selector-id">
        <xsl:attribute name="color">#005cc5</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-regexp">
        <xsl:attribute name="color">#032f62</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-string">
        <xsl:attribute name="color">#032f62</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-meta_hljs-string">
        <xsl:attribute name="color">#032f62</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-built_in">
        <xsl:attribute name="color">#e36209</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-symbol">
        <xsl:attribute name="color">#e36209</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-comment">
        <xsl:attribute name="color">#6a737d</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-code">
        <xsl:attribute name="color">#6a737d</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-formula">
        <xsl:attribute name="color">#6a737d</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-name">
        <xsl:attribute name="color">#22863a</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-quote">
        <xsl:attribute name="color">#22863a</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-selector-tag">
        <xsl:attribute name="color">#22863a</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-selector-pseudo">
        <xsl:attribute name="color">#22863a</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-subst">
        <xsl:attribute name="color">#24292e</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-section">
        <xsl:attribute name="color">#005cc5</xsl:attribute>
        <xsl:attribute name="font-weight">bold</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-bullet">
        <xsl:attribute name="color">#735c0f</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-emphasis">
        <xsl:attribute name="color">#24292e</xsl:attribute>
        <xsl:attribute name="font-style">italic</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-strong">
        <xsl:attribute name="color">#24292e</xsl:attribute>
        <xsl:attribute name="font-weight">bold</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-addition">
        <xsl:attribute name="color">#22863a</xsl:attribute>
        <xsl:attribute name="background-color">#f0fff4</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-deletion">
        <xsl:attribute name="color">#b31d28</xsl:attribute>
        <xsl:attribute name="background-color">#ffeef0</xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-char_and_escape_">
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-link">
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-params">
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-property">
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-punctuation">
    </xsl:attribute-set>
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="hljs-tag">
    </xsl:attribute-set>
    <!-- End Highlight syntax styles -->

    <!-- Index section styles -->
    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="indexsect-title-style">
        <xsl:attribute name="role">H1</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set xmlns:redirect="http://xml.apache.org/xalan/redirect" name="indexsect-clause-title-style">
        <xsl:attribute name="keep-with-next">always</xsl:attribute>

    </xsl:attribute-set>

    <!-- End Index section styles -->
    <!-- ====================================== -->
    <!-- END STYLES -->
    <!-- ====================================== -->

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="border-block-added">2.5pt solid rgb(0, 176, 80)</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="border-block-deleted">2.5pt solid rgb(255, 0, 0)</xsl:variable>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="ace_tag">ace-tag_</xsl:variable>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="processPrefaceSectionsDefault_Contents">
        <xsl:variable name="nodes_preface_">
            <xsl:for-each select="/*/*[local-name()='preface']/*[not(local-name() = 'note' or local-name() = 'admonition' or @type = 'toc')]">
                <node id="{@id}"/>
            </xsl:for-each>
        </xsl:variable>
        <xsl:variable name="nodes_preface" select="xalan:nodeset($nodes_preface_)"/>

        <xsl:for-each select="/*/*[local-name()='preface']/*[not(local-name() = 'note' or local-name() = 'admonition' or @type = 'toc')]">
            <xsl:sort select="@displayorder" data-type="number"/>

            <!-- process Section's title -->
            <xsl:variable name="preceding-sibling_id" select="$nodes_preface/node[@id = current()/@id]/preceding-sibling::node[1]/@id"/>
            <xsl:if test="$preceding-sibling_id != ''">
                <xsl:apply-templates select="parent::*/*[@type = 'section-title' and @id = $preceding-sibling_id and not(@displayorder)]" mode="contents_no_displayorder"/>
            </xsl:if>

            <xsl:apply-templates select="." mode="contents"/>
        </xsl:for-each>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="processMainSectionsDefault_Contents">

        <xsl:variable name="nodes_sections_">
            <xsl:for-each select="/*/*[local-name()='sections']/*">
                <node id="{@id}"/>
            </xsl:for-each>
        </xsl:variable>
        <xsl:variable name="nodes_sections" select="xalan:nodeset($nodes_sections_)"/>

        <xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true'] |    /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][@normative='true']]">
            <xsl:sort select="@displayorder" data-type="number"/>

            <!-- process Section's title -->
            <xsl:variable name="preceding-sibling_id" select="$nodes_sections/node[@id = current()/@id]/preceding-sibling::node[1]/@id"/>
            <xsl:if test="$preceding-sibling_id != ''">
                <xsl:apply-templates select="parent::*/*[@type = 'section-title' and @id = $preceding-sibling_id and not(@displayorder)]" mode="contents_no_displayorder"/>
            </xsl:if>

            <xsl:apply-templates select="." mode="contents"/>
        </xsl:for-each>

        <!-- <xsl:for-each select="/*/*[local-name()='annex']">
            <xsl:sort select="@displayorder" data-type="number"/>
            <xsl:apply-templates select="." mode="contents"/>
        </xsl:for-each> -->

        <xsl:for-each select="/*/*[local-name()='annex'] | /*/*[local-name()='bibliography']/*[not(@normative='true') and not(*[local-name()='references'][@normative='true'])][count(.//*[local-name() = 'bibitem'][not(@hidden) = 'true']) &gt; 0] |          /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]][count(.//*[local-name() = 'bibitem'][not(@hidden) = 'true']) &gt; 0]">
            <xsl:sort select="@displayorder" data-type="number"/>
            <xsl:apply-templates select="." mode="contents"/>
        </xsl:for-each>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="processTablesFigures_Contents">
        <xsl:param name="always"/>
        <xsl:if test="(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='table']/*[local-name() = 'title']) or normalize-space($always) = 'true'">
            <xsl:call-template name="processTables_Contents"/>
        </xsl:if>
        <xsl:if test="(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'toc'][@type='figure']/*[local-name() = 'title']) or normalize-space($always) = 'true'">
            <xsl:call-template name="processFigures_Contents"/>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="processTables_Contents">
        <tables>
            <xsl:for-each select="//*[local-name() = 'table'][not(ancestor::*[local-name() = 'metanorma-extension'])][@id and *[local-name() = 'name'] and normalize-space(@id) != '']">
                <table id="{@id}" alt-text="{*[local-name() = 'name']}">
                    <xsl:copy-of select="*[local-name() = 'name']"/>
                </table>
            </xsl:for-each>
        </tables>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="processFigures_Contents">
        <figures>
            <xsl:for-each select="//*[local-name() = 'figure'][@id and *[local-name() = 'name'] and not(@unnumbered = 'true') and normalize-space(@id) != ''] | //*[@id and starts-with(*[local-name() = 'name'], 'Figure ') and normalize-space(@id) != '']">
                <figure id="{@id}" alt-text="{*[local-name() = 'name']}">
                    <xsl:copy-of select="*[local-name() = 'name']"/>
                </figure>
            </xsl:for-each>
        </figures>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="processPrefaceSectionsDefault">
        <xsl:for-each select="/*/*[local-name()='preface']/*[not(local-name() = 'note' or local-name() = 'admonition')]">
            <xsl:sort select="@displayorder" data-type="number"/>
            <xsl:apply-templates select="."/>
        </xsl:for-each>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="copyCommonElements">
        <!-- copy bibdata, localized-strings, metanorma-extension and boilerplate -->
        <xsl:copy-of select="/*/*[local-name() != 'preface' and local-name() != 'sections' and local-name() != 'annex' and local-name() != 'bibliography' and local-name() != 'indexsect']"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="processMainSectionsDefault">
        <xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true']">
            <xsl:sort select="@displayorder" data-type="number"/>
            <xsl:apply-templates select="."/>

        </xsl:for-each>

        <xsl:for-each select="/*/*[local-name()='annex']">
            <xsl:sort select="@displayorder" data-type="number"/>
            <xsl:apply-templates select="."/>
        </xsl:for-each>

        <xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true')] |          /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]">
            <xsl:sort select="@displayorder" data-type="number"/>
            <xsl:apply-templates select="."/>
        </xsl:for-each>
    </xsl:template><!-- END: processMainSectionsDefault -->

    <!-- Example:
    <iso-standard>
        <preface>
            <page_sequence>
                <clause...
            </page_sequence>
            <page_sequence>
                <clause...
            </page_sequence>
        </preface>
        <sections>
            <page_sequence>
                <clause...
            </page_sequence>
            <page_sequence>
                <clause...
            </page_sequence>
        </sections>
        <page_sequence>
            <annex ..
        </page_sequence>
        <page_sequence>
            <annex ..
        </page_sequence>
    </iso-standard>
    -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="processPrefaceAndMainSectionsDefault_items">

        <xsl:variable name="updated_xml_step_move_pagebreak">
            <xsl:element name="{$root_element}" namespace="{$namespace_full}">
                <xsl:call-template name="copyCommonElements"/>
                <xsl:call-template name="insertPrefaceSectionsPageSequences"/>
                <xsl:call-template name="insertMainSectionsPageSequences"/>
            </xsl:element>
        </xsl:variable>

        <xsl:variable name="updated_xml_step_move_pagebreak_filename" select="concat($output_path,'_main_', java:getTime(java:java.util.Date.new()), '.xml')"/>

        <redirect:write file="{$updated_xml_step_move_pagebreak_filename}">
            <xsl:copy-of select="$updated_xml_step_move_pagebreak"/>
        </redirect:write>

        <xsl:copy-of select="document($updated_xml_step_move_pagebreak_filename)"/>

        <xsl:if test="$debug = 'true'">
            <redirect:write file="page_sequence_preface_and_main.xml">
                <xsl:copy-of select="$updated_xml_step_move_pagebreak"/>
            </redirect:write>
        </xsl:if>

        <xsl:call-template name="deleteFile">
            <xsl:with-param name="filepath" select="$updated_xml_step_move_pagebreak_filename"/>
        </xsl:call-template>
    </xsl:template> <!-- END: processPrefaceAndMainSectionsDefault_items -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertPrefaceSectionsPageSequences">
        <xsl:element name="preface" namespace="{$namespace_full}"> <!-- save context element -->
            <xsl:element name="page_sequence" namespace="{$namespace_full}">
                <xsl:for-each select="/*/*[local-name()='preface']/*[not(local-name() = 'note' or local-name() = 'admonition')]">
                    <xsl:sort select="@displayorder" data-type="number"/>
                    <xsl:apply-templates select="." mode="update_xml_step_move_pagebreak"/>
                </xsl:for-each>
            </xsl:element>
        </xsl:element>
    </xsl:template> <!-- END: insertPrefaceSectionsPageSequences -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertMainSectionsPageSequences">
        <xsl:element name="sections" namespace="{$namespace_full}"> <!-- save context element -->
            <xsl:element name="page_sequence" namespace="{$namespace_full}">
                <xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true']">
                    <xsl:sort select="@displayorder" data-type="number"/>
                    <xsl:apply-templates select="." mode="update_xml_step_move_pagebreak"/>

                </xsl:for-each>
            </xsl:element>
        </xsl:element>

        <xsl:element name="page_sequence" namespace="{$namespace_full}">
            <xsl:for-each select="/*/*[local-name()='annex']">
                <xsl:sort select="@displayorder" data-type="number"/>
                <xsl:apply-templates select="." mode="update_xml_step_move_pagebreak"/>
            </xsl:for-each>
        </xsl:element>

        <xsl:element name="page_sequence" namespace="{$namespace_full}">
            <xsl:element name="bibliography" namespace="{$namespace_full}"> <!-- save context element -->
                <xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true')] |            /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]">
                    <xsl:sort select="@displayorder" data-type="number"/>
                    <xsl:apply-templates select="." mode="update_xml_step_move_pagebreak"/>
                </xsl:for-each>
            </xsl:element>
        </xsl:element>
    </xsl:template> <!-- END: insertMainSectionsPageSequences -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertMainSectionsInSeparatePageSequences">
        <xsl:element name="sections" namespace="{$namespace_full}"> <!-- save context element -->
            <xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true']">
                <xsl:sort select="@displayorder" data-type="number"/>
                <xsl:element name="page_sequence" namespace="{$namespace_full}">
                    <xsl:attribute name="main_page_sequence"/>
                    <xsl:apply-templates select="." mode="update_xml_step_move_pagebreak"/>
                </xsl:element>
            </xsl:for-each>
        </xsl:element>

        <xsl:call-template name="insertAnnexAndBibliographyInSeparatePageSequences"/>

        <!-- <xsl:call-template name="insertBibliographyInSeparatePageSequences"/> -->

        <!-- <xsl:call-template name="insertIndexInSeparatePageSequences"/> -->
    </xsl:template> <!-- END: insertMainSectionsInSeparatePageSequences -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertAnnexAndBibliographyInSeparatePageSequences">
        <xsl:for-each select="/*/*[local-name()='annex'] |           /*/*[local-name()='bibliography']/*[not(@normative='true')] |           /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]] |          /*/*[local-name()='indexsect']">
            <xsl:sort select="@displayorder" data-type="number"/>
            <xsl:choose>
                <xsl:when test="local-name() = 'annex' or local-name() = 'indexsect'">
                    <xsl:element name="page_sequence" namespace="{$namespace_full}">
                        <xsl:attribute name="main_page_sequence"/>
                        <xsl:apply-templates select="." mode="update_xml_step_move_pagebreak"/>
                    </xsl:element>
                </xsl:when>
                <xsl:otherwise> <!-- bibliography -->
                    <xsl:element name="bibliography" namespace="{$namespace_full}"> <!-- save context element -->
                        <xsl:element name="page_sequence" namespace="{$namespace_full}">
                            <xsl:attribute name="main_page_sequence"/>
                            <xsl:apply-templates select="." mode="update_xml_step_move_pagebreak"/>
                        </xsl:element>
                    </xsl:element>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:for-each>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertAnnexInSeparatePageSequences">
        <xsl:for-each select="/*/*[local-name()='annex']">
            <xsl:sort select="@displayorder" data-type="number"/>
            <xsl:element name="page_sequence" namespace="{$namespace_full}">
                <xsl:attribute name="main_page_sequence"/>
                <xsl:apply-templates select="." mode="update_xml_step_move_pagebreak"/>
            </xsl:element>
        </xsl:for-each>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertBibliographyInSeparatePageSequences">
        <xsl:element name="bibliography" namespace="{$namespace_full}"> <!-- save context element -->
            <xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true')] |           /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]">
                <xsl:sort select="@displayorder" data-type="number"/>
                <xsl:element name="page_sequence" namespace="{$namespace_full}">
                    <xsl:attribute name="main_page_sequence"/>
                    <xsl:apply-templates select="." mode="update_xml_step_move_pagebreak"/>
                </xsl:element>
            </xsl:for-each>
        </xsl:element>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertIndexInSeparatePageSequences">
        <xsl:for-each select="/*/*[local-name()='indexsect']">
            <xsl:sort select="@displayorder" data-type="number"/>
            <xsl:element name="page_sequence" namespace="{$namespace_full}">
                <xsl:attribute name="main_page_sequence"/>
                <xsl:apply-templates select="." mode="update_xml_step_move_pagebreak"/>
            </xsl:element>
        </xsl:for-each>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="processAllSectionsDefault_items">
        <xsl:variable name="updated_xml_step_move_pagebreak">
            <xsl:element name="{$root_element}" namespace="{$namespace_full}">
                <xsl:call-template name="copyCommonElements"/>
                <xsl:element name="page_sequence" namespace="{$namespace_full}">
                    <xsl:call-template name="insertPrefaceSections"/>
                    <xsl:call-template name="insertMainSections"/>
                </xsl:element>
            </xsl:element>
        </xsl:variable>

        <xsl:variable name="updated_xml_step_move_pagebreak_filename" select="concat($output_path,'_preface_and_main_', java:getTime(java:java.util.Date.new()), '.xml')"/>
        <!-- <xsl:message>updated_xml_step_move_pagebreak_filename=<xsl:value-of select="$updated_xml_step_move_pagebreak_filename"/></xsl:message>
        <xsl:message>start write updated_xml_step_move_pagebreak_filename</xsl:message> -->
        <redirect:write file="{$updated_xml_step_move_pagebreak_filename}">
            <xsl:copy-of select="$updated_xml_step_move_pagebreak"/>
        </redirect:write>
        <!-- <xsl:message>end write updated_xml_step_move_pagebreak_filename</xsl:message> -->

        <xsl:copy-of select="document($updated_xml_step_move_pagebreak_filename)"/>

        <!-- TODO: instead of 
        <xsl:for-each select=".//*[local-name() = 'page_sequence'][normalize-space() != '' or .//image or .//svg]">
        in each template, add removing empty page_sequence here
        -->

        <xsl:if test="$debug = 'true'">
            <redirect:write file="page_sequence_preface_and_main.xml">
                <xsl:copy-of select="$updated_xml_step_move_pagebreak"/>
            </redirect:write>
        </xsl:if>

        <!-- <xsl:message>start delete updated_xml_step_move_pagebreak_filename</xsl:message> -->
        <xsl:call-template name="deleteFile">
            <xsl:with-param name="filepath" select="$updated_xml_step_move_pagebreak_filename"/>
        </xsl:call-template>
        <!-- <xsl:message>end delete updated_xml_step_move_pagebreak_filename</xsl:message> -->
    </xsl:template> <!-- END: processAllSectionsDefault_items -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertPrefaceSections">
        <xsl:element name="preface" namespace="{$namespace_full}"> <!-- save context element -->
            <xsl:for-each select="/*/*[local-name()='preface']/*[not(local-name() = 'note' or local-name() = 'admonition')]">
                <xsl:sort select="@displayorder" data-type="number"/>
                <xsl:apply-templates select="." mode="update_xml_step_move_pagebreak">
                    <xsl:with-param name="page_sequence_at_top">true</xsl:with-param>
                </xsl:apply-templates>
            </xsl:for-each>
        </xsl:element>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertMainSections">
        <xsl:element name="sections" namespace="{$namespace_full}"> <!-- save context element -->

            <xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true']">
                <xsl:sort select="@displayorder" data-type="number"/>
                <xsl:apply-templates select="." mode="update_xml_step_move_pagebreak">
                    <xsl:with-param name="page_sequence_at_top">true</xsl:with-param>
                </xsl:apply-templates>

            </xsl:for-each>
        </xsl:element>

        <xsl:for-each select="/*/*[local-name()='annex']">
            <xsl:sort select="@displayorder" data-type="number"/>
            <xsl:apply-templates select="." mode="update_xml_step_move_pagebreak">
                    <xsl:with-param name="page_sequence_at_top">true</xsl:with-param>
                </xsl:apply-templates>
        </xsl:for-each>

        <xsl:element name="bibliography" namespace="{$namespace_full}"> <!-- save context element -->
            <xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true')] |           /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]">
                <xsl:sort select="@displayorder" data-type="number"/>
                <xsl:apply-templates select="." mode="update_xml_step_move_pagebreak">
                    <xsl:with-param name="page_sequence_at_top">true</xsl:with-param>
                </xsl:apply-templates>
            </xsl:for-each>
        </xsl:element>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="deleteFile">
        <xsl:param name="filepath"/>
        <xsl:variable name="xml_file" select="java:java.io.File.new($filepath)"/>
        <xsl:variable name="xml_file_path" select="java:toPath($xml_file)"/>
        <xsl:variable name="deletefile" select="java:java.nio.file.Files.deleteIfExists($xml_file_path)"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getPageSequenceOrientation">
        <xsl:variable name="previous_orientation" select="preceding-sibling::*[local-name() = 'page_sequence'][@orientation][1]/@orientation"/>
        <xsl:choose>
            <xsl:when test="@orientation = 'landscape'">-<xsl:value-of select="@orientation"/></xsl:when>
            <xsl:when test="$previous_orientation = 'landscape' and not(@orientation = 'portrait')">-<xsl:value-of select="$previous_orientation"/></xsl:when>
        </xsl:choose>
    </xsl:template>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="tag_fo_inline_keep-together_within-line_open">###fo:inline keep-together_within-line###</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="tag_fo_inline_keep-together_within-line_close">###/fo:inline keep-together_within-line###</xsl:variable>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="text()" name="text">

                <xsl:choose>
                    <xsl:when test="ancestor::*[local-name() = 'table']"><xsl:value-of select="."/></xsl:when>
                    <xsl:otherwise>
                        <xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_fo_inline_keep-together_within-line_open,'$1',$tag_fo_inline_keep-together_within-line_close))"/>
                        <xsl:call-template name="replace_fo_inline_tags">
                            <xsl:with-param name="tag_open" select="$tag_fo_inline_keep-together_within-line_open"/>
                            <xsl:with-param name="tag_close" select="$tag_fo_inline_keep-together_within-line_close"/>
                            <xsl:with-param name="text" select="$text"/>
                        </xsl:call-template>
                    </xsl:otherwise>
                </xsl:choose>

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="replace_fo_inline_tags">
        <xsl:param name="tag_open"/>
        <xsl:param name="tag_close"/>
        <xsl:param name="text"/>
        <xsl:choose>
            <xsl:when test="contains($text, $tag_open)">
                <xsl:value-of select="substring-before($text, $tag_open)"/>
                <!-- <xsl:text disable-output-escaping="yes">&lt;fo:inline keep-together.within-line="always"&gt;</xsl:text> -->
                <xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
                <xsl:choose>
                    <xsl:when test="local-name(..) = 'keep-together_within-line'"> <!-- prevent two nested <fo:inline keep-together.within-line="always"><fo:inline keep-together.within-line="always" -->
                        <xsl:value-of select="substring-before($text_after, $tag_close)"/>
                    </xsl:when>
                    <xsl:otherwise>
                        <fo:inline keep-together.within-line="always" role="SKIP">
                            <xsl:value-of select="substring-before($text_after, $tag_close)"/>
                        </fo:inline>
                    </xsl:otherwise>
                </xsl:choose>
                <!-- <xsl:text disable-output-escaping="yes">&lt;/fo:inline&gt;</xsl:text> -->
                <xsl:call-template name="replace_fo_inline_tags">
                    <xsl:with-param name="tag_open" select="$tag_open"/>
                    <xsl:with-param name="tag_close" select="$tag_close"/>
                    <xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='br']">
        <xsl:value-of select="$linebreak"/>
    </xsl:template>

    <!-- keep-together for standard's name (ISO 12345:2020) -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'keep-together_within-line']">
        <xsl:param name="split_keep-within-line"/>

        <!-- <fo:inline>split_keep-within-line='<xsl:value-of select="$split_keep-within-line"/>'</fo:inline> -->
        <xsl:choose>

            <xsl:when test="normalize-space($split_keep-within-line) = 'true'">
                <xsl:variable name="sep">_</xsl:variable>
                <xsl:variable name="items">
                    <xsl:call-template name="split">
                        <xsl:with-param name="pText" select="."/>
                        <xsl:with-param name="sep" select="$sep"/>
                        <xsl:with-param name="normalize-space">false</xsl:with-param>
                        <xsl:with-param name="keep_sep">true</xsl:with-param>
                    </xsl:call-template>
                </xsl:variable>
                <xsl:for-each select="xalan:nodeset($items)/item">
                    <xsl:choose>
                        <xsl:when test=". = $sep">
                            <xsl:value-of select="$sep"/><xsl:value-of select="$zero_width_space"/>
                        </xsl:when>
                        <xsl:otherwise>
                            <fo:inline keep-together.within-line="always" role="SKIP"><xsl:apply-templates/></fo:inline>
                        </xsl:otherwise>
                    </xsl:choose>
                </xsl:for-each>
            </xsl:when>

            <xsl:otherwise>
                <fo:inline keep-together.within-line="always" role="SKIP"><xsl:apply-templates/></fo:inline>
            </xsl:otherwise>

        </xsl:choose>
    </xsl:template>

    <!-- ================================= -->
    <!-- Preface boilerplate sections processing -->
    <!-- ================================= -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='copyright-statement']">
        <fo:block xsl:use-attribute-sets="copyright-statement-style" role="SKIP">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template> <!-- copyright-statement -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='copyright-statement']//*[local-name()='title']">

                <!-- process in the template 'title' -->
                <xsl:call-template name="title"/>

    </xsl:template> <!-- copyright-statement//title -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='copyright-statement']//*[local-name()='p']">

                <!-- process in the template 'paragraph' -->
                <xsl:call-template name="paragraph"/>

    </xsl:template> <!-- copyright-statement//p -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='license-statement']">
        <fo:block xsl:use-attribute-sets="license-statement-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template> <!-- license-statement -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='license-statement']//*[local-name()='title']">

                <!-- process in the template 'title' -->
                <xsl:call-template name="title"/>

    </xsl:template> <!-- license-statement/title -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='license-statement']//*[local-name()='p']">

                <!-- process in the template 'paragraph' -->
                <xsl:call-template name="paragraph"/>

    </xsl:template> <!-- license-statement/p -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='legal-statement']">
        <xsl:param name="isLegacy">false</xsl:param>
        <fo:block xsl:use-attribute-sets="legal-statement-style">

            <xsl:apply-templates/>
        </fo:block>
    </xsl:template> <!-- legal-statement -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='legal-statement']//*[local-name()='title']">

                <!-- process in the template 'title' -->
                <xsl:call-template name="title"/>

    </xsl:template> <!-- legal-statement/title -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='legal-statement']//*[local-name()='p']">
        <xsl:param name="margin"/>

                <!-- process in the template 'paragraph' -->
                <xsl:call-template name="paragraph">
                    <xsl:with-param name="margin" select="$margin"/>
                </xsl:call-template>

    </xsl:template> <!-- legal-statement/p -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='feedback-statement']">
        <fo:block xsl:use-attribute-sets="feedback-statement-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template> <!-- feedback-statement -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='feedback-statement']//*[local-name()='title']">

                <!-- process in the template 'title' -->
                <xsl:call-template name="title"/>

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='feedback-statement']//*[local-name()='p']">
        <xsl:param name="margin"/>

                <!-- process in the template 'paragraph' -->
                <xsl:call-template name="paragraph">
                    <xsl:with-param name="margin" select="$margin"/>
                </xsl:call-template>

    </xsl:template>

    <!-- ================================= -->
    <!-- END Preface boilerplate sections processing -->
    <!-- ================================= -->

    <!-- add zero spaces into table cells text -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='td']//text() | *[local-name()='th']//text() | *[local-name()='dt']//text() | *[local-name()='dd']//text()" priority="1">
        <xsl:choose>
            <xsl:when test="parent::*[local-name() = 'keep-together_within-line']">
                <xsl:value-of select="."/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:call-template name="addZeroWidthSpacesToTextNodes"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="addZeroWidthSpacesToTextNodes">
        <xsl:variable name="text"><text><xsl:call-template name="text"/></text></xsl:variable>
        <!-- <xsl:copy-of select="$text"/> -->
        <xsl:for-each select="xalan:nodeset($text)/text/node()">
            <xsl:choose>
                <xsl:when test="self::text()"><xsl:call-template name="add-zero-spaces-java"/></xsl:when>
                <xsl:otherwise><xsl:copy-of select="."/></xsl:otherwise> <!-- copy 'as-is' for <fo:inline keep-together.within-line="always" ...  -->
            </xsl:choose>
        </xsl:for-each>
    </xsl:template>

    <!-- for table auto-layout algorithm -->
    <xsl:param xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table_only_with_id"/> <!-- Example: 'table1' -->
    <xsl:param xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table_only_with_ids"/> <!-- Example: 'table1 table2 table3 ' -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='table']" priority="2">
        <xsl:choose>
            <xsl:when test="$table_only_with_id != '' and @id = $table_only_with_id">
                <xsl:call-template name="table"/>
            </xsl:when>
            <xsl:when test="$table_only_with_id != ''"><fo:block/><!-- to prevent empty fo:block-container --></xsl:when>
            <xsl:when test="$table_only_with_ids != '' and contains($table_only_with_ids, concat(@id, ' '))">
                <xsl:call-template name="table"/>
            </xsl:when>
            <xsl:when test="$table_only_with_ids != ''"><fo:block/><!-- to prevent empty fo:block-container --></xsl:when>
            <xsl:otherwise>
                <xsl:call-template name="table"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='table']" name="table">

        <xsl:variable name="table-preamble">

        </xsl:variable>

        <xsl:variable name="table">

            <xsl:variable name="simple-table">
                <xsl:if test="$isGenerateTableIF = 'true' and $isApplyAutolayoutAlgorithm = 'true'">
                    <xsl:call-template name="getSimpleTable">
                        <xsl:with-param name="id" select="@id"/>
                    </xsl:call-template>
                </xsl:if>
            </xsl:variable>
            <!-- <xsl:variable name="simple-table" select="xalan:nodeset($simple-table_)"/> -->

            <!-- simple-table=<xsl:copy-of select="$simple-table"/> -->

            <!-- Display table's name before table as standalone block -->
            <!-- $namespace = 'iso' or  -->

                    <xsl:call-template name="table_name_fn_display"/>

            <xsl:variable name="cols-count" select="count(xalan:nodeset($simple-table)/*/tr[1]/td)"/>

            <xsl:variable name="colwidths">
                <xsl:if test="not(*[local-name()='colgroup']/*[local-name()='col']) and not(@class = 'dl')">
                    <xsl:call-template name="calculate-column-widths">
                        <xsl:with-param name="cols-count" select="$cols-count"/>
                        <xsl:with-param name="table" select="$simple-table"/>
                    </xsl:call-template>
                </xsl:if>
            </xsl:variable>
            <!-- <xsl:variable name="colwidths" select="xalan:nodeset($colwidths_)"/> -->

            <!-- DEBUG -->
            <xsl:if test="$table_if_debug = 'true'">
                <fo:block font-size="60%">
                    <xsl:apply-templates select="xalan:nodeset($colwidths)" mode="print_as_xml"/>
                </fo:block>
            </xsl:if>

            <!-- <xsl:copy-of select="$colwidths"/> -->

            <!-- <xsl:text disable-output-escaping="yes">&lt;!- -</xsl:text>
            DEBUG
            colwidths=<xsl:copy-of select="$colwidths"/>
        <xsl:text disable-output-escaping="yes">- -&gt;</xsl:text> -->

            <xsl:variable name="margin-side">
                <xsl:choose>
                    <xsl:when test="$isApplyAutolayoutAlgorithm = 'true'">0</xsl:when>
                    <xsl:when test="$isApplyAutolayoutAlgorithm = 'skip'">0</xsl:when>
                    <xsl:when test="sum(xalan:nodeset($colwidths)//column) &gt; 75">15</xsl:when>
                    <xsl:otherwise>0</xsl:otherwise>
                </xsl:choose>
            </xsl:variable>

            <fo:block-container xsl:use-attribute-sets="table-container-style" role="SKIP">

                <xsl:call-template name="refine_table-container-style">
                    <xsl:with-param name="margin-side" select="$margin-side"/>
                </xsl:call-template>

                <!-- display table's name before table for PAS inside block-container (2-columnn layout) -->

                <xsl:variable name="table_width_default">100%</xsl:variable>
                <xsl:variable name="table_width">
                    <!-- for centered table always 100% (@width will be set for middle/second cell of outer table) -->

                            <xsl:choose>
                                <xsl:when test="ancestor::*[local-name() = 'feedback-statement']">50%</xsl:when>
                                <xsl:when test="@width = 'full-page-width' or @width = 'text-width'">100%</xsl:when>
                                <xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
                                <xsl:otherwise><xsl:value-of select="$table_width_default"/></xsl:otherwise>
                            </xsl:choose>

                </xsl:variable>

                <xsl:variable name="table_attributes">

                    <xsl:element name="table_attributes" use-attribute-sets="table-style">

                        <xsl:if test="$margin-side != 0">
                            <xsl:attribute name="margin-left">0mm</xsl:attribute>
                            <xsl:attribute name="margin-right">0mm</xsl:attribute>
                        </xsl:if>

                        <xsl:attribute name="width"><xsl:value-of select="normalize-space($table_width)"/></xsl:attribute>

                        <xsl:call-template name="refine_table-style">
                            <xsl:with-param name="margin-side" select="$margin-side"/>
                        </xsl:call-template>

                    </xsl:element>
                </xsl:variable>

                <xsl:if test="$isGenerateTableIF = 'true'">
                    <!-- to determine start of table -->
                    <fo:block id="{concat('table_if_start_',@id)}" keep-with-next="always" font-size="1pt">Start table '<xsl:value-of select="@id"/>'.</fo:block>
                </xsl:if>

                <fo:table id="{@id}">

                    <xsl:if test="$isGenerateTableIF = 'true'">
                        <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
                    </xsl:if>

                    <xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
                        <xsl:attribute name="{local-name()}">
                            <xsl:value-of select="."/>
                        </xsl:attribute>
                    </xsl:for-each>

                    <xsl:variable name="isNoteOrFnExist" select="./*[local-name()='note'][not(@type = 'units')] or ./*[local-name()='example'] or .//*[local-name()='fn'][local-name(..) != 'name'] or ./*[local-name()='source']"/>
                    <xsl:if test="$isNoteOrFnExist = 'true'">

                                <xsl:attribute name="border-bottom">0pt solid black</xsl:attribute><!-- set 0pt border, because there is a separete table below for footer -->

                    </xsl:if>

                    <xsl:choose>
                        <xsl:when test="$isGenerateTableIF = 'true'">
                            <!-- generate IF for table widths -->
                            <!-- example:
                                <tr>
                                    <td valign="top" align="left" id="tab-symdu_1_1">
                                        <p>Symbol</p>
                                        <word id="tab-symdu_1_1_word_1">Symbol</word>
                                    </td>
                                    <td valign="top" align="left" id="tab-symdu_1_2">
                                        <p>Description</p>
                                        <word id="tab-symdu_1_2_word_1">Description</word>
                                    </td>
                                </tr>
                            -->
                            <!-- Simple_table=<xsl:copy-of select="$simple-table"/> -->
                            <xsl:apply-templates select="xalan:nodeset($simple-table)" mode="process_table-if"/>

                        </xsl:when>
                        <xsl:otherwise>

                            <xsl:choose>
                                <xsl:when test="*[local-name()='colgroup']/*[local-name()='col']">
                                    <xsl:for-each select="*[local-name()='colgroup']/*[local-name()='col']">
                                        <fo:table-column column-width="{@width}"/>
                                    </xsl:for-each>
                                </xsl:when>
                                <xsl:when test="@class = 'dl'">
                                    <xsl:for-each select=".//*[local-name()='tr'][1]/*">
                                        <fo:table-column column-width="{@width}"/>
                                    </xsl:for-each>
                                </xsl:when>
                                <xsl:otherwise>
                                    <xsl:call-template name="insertTableColumnWidth">
                                        <xsl:with-param name="colwidths" select="$colwidths"/>
                                    </xsl:call-template>
                                </xsl:otherwise>
                            </xsl:choose>

                            <xsl:choose>
                                <xsl:when test="not(*[local-name()='tbody']) and *[local-name()='thead']">
                                    <xsl:apply-templates select="*[local-name()='thead']" mode="process_tbody"/>
                                </xsl:when>
                                <xsl:otherwise>
                                    <xsl:apply-templates select="node()[not(local-name() = 'name') and not(local-name() = 'note') and not(local-name() = 'example') and not(local-name() = 'dl') and not(local-name() = 'source') and not(local-name() = 'p')          and not(local-name() = 'thead') and not(local-name() = 'tfoot')]"/> <!-- process all table' elements, except name, header, footer, note, source and dl which render separaterely -->
                                </xsl:otherwise>
                            </xsl:choose>

                        </xsl:otherwise>
                    </xsl:choose>

                </fo:table>

                <xsl:variable name="colgroup" select="*[local-name()='colgroup']"/>

                        <xsl:for-each select="*[local-name()='tbody']"><!-- select context to tbody -->
                            <xsl:call-template name="insertTableFooterInSeparateTable">
                                <xsl:with-param name="table_attributes" select="$table_attributes"/>
                                <xsl:with-param name="colwidths" select="$colwidths"/>
                                <xsl:with-param name="colgroup" select="$colgroup"/>
                            </xsl:call-template>
                        </xsl:for-each>

                <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
                    <fo:block keep-with-previous="always" line-height="0.1">
                        <xsl:for-each select="*[local-name()='bookmark']">
                            <xsl:call-template name="bookmark"/>
                        </xsl:for-each>
                    </fo:block>
                </xsl:if>

            </fo:block-container>
        </xsl:variable>

        <xsl:variable name="isAdded" select="@added"/>
        <xsl:variable name="isDeleted" select="@deleted"/>

        <xsl:choose>
            <xsl:when test="@width and @width != 'full-page-width' and @width != 'text-width'">

                <!-- centered table when table name is centered (see table-name-style) -->

            </xsl:when>
            <xsl:otherwise>
                <xsl:choose>
                    <xsl:when test="$isAdded = 'true' or $isDeleted = 'true'">
                        <xsl:copy-of select="$table-preamble"/>
                        <fo:block>
                            <xsl:call-template name="setTrackChangesStyles">
                                <xsl:with-param name="isAdded" select="$isAdded"/>
                                <xsl:with-param name="isDeleted" select="$isDeleted"/>
                            </xsl:call-template>
                            <xsl:copy-of select="$table"/>
                        </fo:block>
                    </xsl:when>
                    <xsl:otherwise>
                        <xsl:copy-of select="$table-preamble"/>
                        <xsl:copy-of select="$table"/>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:otherwise>
        </xsl:choose>

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setBordersTableArray">

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='table']/*[local-name() = 'name']">
        <xsl:param name="continued"/>
        <xsl:if test="normalize-space() != ''">

                    <fo:inline>

                        <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                            <xsl:attribute name="font-size">11pt</xsl:attribute>
                            <xsl:attribute name="font-family">Arial Black</xsl:attribute>
                        </xsl:if>

                        <xsl:apply-templates/>
                    </fo:inline>

        </xsl:if>
    </xsl:template> <!-- table/name -->

    <!-- workaround solution for https://github.com/metanorma/metanorma-iso/issues/1151#issuecomment-2033087938 -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='table']/*[local-name() = 'note'][@type = 'units']/*[local-name() = 'p']/text()" priority="4">
        <xsl:choose>
            <xsl:when test="preceding-sibling::*[local-name() = 'br']">
                <!-- remove CR or LF at start -->
                <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),'^(&#13;&#10;|&#13;|&#10;)', '')"/>
            </xsl:when>
            <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- SOURCE: ... -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='table']/*[local-name() = 'source']" priority="2">
        <xsl:call-template name="termsource"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="calculate-columns-numbers">
        <xsl:param name="table-row"/>
        <xsl:variable name="columns-count" select="count($table-row/*)"/>
        <xsl:variable name="sum-colspans" select="sum($table-row/*/@colspan)"/>
        <xsl:variable name="columns-with-colspan" select="count($table-row/*[@colspan])"/>
        <xsl:value-of select="$columns-count + $sum-colspans - $columns-with-colspan"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="calculate-column-widths">
        <xsl:param name="table"/>
        <xsl:param name="cols-count"/>
        <xsl:choose>
            <xsl:when test="$isApplyAutolayoutAlgorithm = 'true'">
                <xsl:call-template name="get-calculated-column-widths-autolayout-algorithm"/>
            </xsl:when>
            <xsl:when test="$isApplyAutolayoutAlgorithm = 'skip'"/>
            <xsl:otherwise>
                <xsl:call-template name="calculate-column-widths-proportional">
                    <xsl:with-param name="cols-count" select="$cols-count"/>
                    <xsl:with-param name="table" select="$table"/>
                </xsl:call-template>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- ================================================== -->
    <!-- Calculate column's width based on text string max widths -->
    <!-- ================================================== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="calculate-column-widths-proportional">
        <xsl:param name="table"/>
        <xsl:param name="cols-count"/>
        <xsl:param name="curr-col" select="1"/>
        <xsl:param name="width" select="0"/>

        <!-- table=<xsl:copy-of select="$table"/> -->

        <xsl:if test="$curr-col &lt;= $cols-count">
            <xsl:variable name="widths">
                <xsl:choose>
                    <xsl:when test="not($table)"><!-- this branch is not using in production, for debug only -->
                        <xsl:for-each select="*[local-name()='thead']//*[local-name()='tr']">
                            <xsl:variable name="words">
                                <xsl:call-template name="tokenize">
                                    <xsl:with-param name="text" select="translate(*[local-name()='th'][$curr-col],'- —:', '    ')"/>
                                </xsl:call-template>
                            </xsl:variable>
                            <xsl:variable name="max_length">
                                <xsl:call-template name="max_length">
                                    <xsl:with-param name="words" select="xalan:nodeset($words)"/>
                                </xsl:call-template>
                            </xsl:variable>
                            <width>
                                <xsl:value-of select="$max_length"/>
                            </width>
                        </xsl:for-each>
                        <xsl:for-each select="*[local-name()='tbody']//*[local-name()='tr']">
                            <xsl:variable name="words">
                                <xsl:call-template name="tokenize">
                                    <xsl:with-param name="text" select="translate(*[local-name()='td'][$curr-col],'- —:', '    ')"/>
                                </xsl:call-template>
                            </xsl:variable>
                            <xsl:variable name="max_length">
                                <xsl:call-template name="max_length">
                                    <xsl:with-param name="words" select="xalan:nodeset($words)"/>
                                </xsl:call-template>
                            </xsl:variable>
                            <width>
                                <xsl:value-of select="$max_length"/>
                            </width>

                        </xsl:for-each>
                    </xsl:when>
                    <xsl:otherwise>
                        <!-- <curr_col><xsl:value-of select="$curr-col"/></curr_col> -->

                        <!-- <table><xsl:copy-of select="$table"/></table>
                         -->
                        <xsl:for-each select="xalan:nodeset($table)/*/*[local-name()='tr']">
                            <xsl:variable name="td_text">
                                <xsl:apply-templates select="td[$curr-col]" mode="td_text"/>
                            </xsl:variable>
                            <!-- <td_text><xsl:value-of select="$td_text"/></td_text> -->
                            <xsl:variable name="words">
                                <xsl:variable name="string_with_added_zerospaces">
                                    <xsl:call-template name="add-zero-spaces-java">
                                        <xsl:with-param name="text" select="$td_text"/>
                                    </xsl:call-template>
                                </xsl:variable>
                                <!-- <xsl:message>string_with_added_zerospaces=<xsl:value-of select="$string_with_added_zerospaces"/></xsl:message> -->
                                <xsl:call-template name="tokenize">
                                    <!-- <xsl:with-param name="text" select="translate(td[$curr-col],'- —:', '    ')"/> -->
                                    <!-- 2009 thinspace -->
                                    <!-- <xsl:with-param name="text" select="translate(normalize-space($td_text),'- —:', '    ')"/> -->
                                    <xsl:with-param name="text" select="normalize-space(translate($string_with_added_zerospaces, '​­', '  '))"/> <!-- replace zero-width-space and soft-hyphen to space -->
                                </xsl:call-template>
                            </xsl:variable>
                            <!-- words=<xsl:copy-of select="$words"/> -->
                            <xsl:variable name="max_length">
                                <xsl:call-template name="max_length">
                                    <xsl:with-param name="words" select="xalan:nodeset($words)"/>
                                </xsl:call-template>
                            </xsl:variable>
                            <!-- <xsl:message>max_length=<xsl:value-of select="$max_length"/></xsl:message> -->
                            <width>
                                <xsl:variable name="divider">
                                    <xsl:choose>
                                        <xsl:when test="td[$curr-col]/@divide">
                                            <xsl:value-of select="td[$curr-col]/@divide"/>
                                        </xsl:when>
                                        <xsl:otherwise>1</xsl:otherwise>
                                    </xsl:choose>
                                </xsl:variable>
                                <xsl:value-of select="$max_length div $divider"/>
                            </width>

                        </xsl:for-each>

                    </xsl:otherwise>
                </xsl:choose>
            </xsl:variable>

            <!-- widths=<xsl:copy-of select="$widths"/> -->

            <column>
                <xsl:for-each select="xalan:nodeset($widths)//width">
                    <xsl:sort select="." data-type="number" order="descending"/>
                    <xsl:if test="position()=1">
                            <xsl:value-of select="."/>
                    </xsl:if>
                </xsl:for-each>
            </column>
            <xsl:call-template name="calculate-column-widths-proportional">
                <xsl:with-param name="cols-count" select="$cols-count"/>
                <xsl:with-param name="curr-col" select="$curr-col +1"/>
                <xsl:with-param name="table" select="$table"/>
            </xsl:call-template>
        </xsl:if>
    </xsl:template> <!-- calculate-column-widths-proportional -->

    <!-- ================================= -->
    <!-- mode="td_text" -->
    <!-- ================================= -->
    <!-- replace each each char to 'X', just to process the tag 'keep-together_within-line' as whole word in longest word calculation -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[@keep-together.within-line or local-name() = 'keep-together_within-line']/text()" priority="2" mode="td_text">
        <!-- <xsl:message>DEBUG t1=<xsl:value-of select="."/></xsl:message>
        <xsl:message>DEBUG t2=<xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),'.','X')"/></xsl:message> -->
        <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),'.','X')"/>

        <!-- if all capitals english letters or digits -->
        <xsl:if test="normalize-space(translate(., concat($upper,'0123456789'), '')) = ''">
            <xsl:call-template name="repeat">
                <xsl:with-param name="char" select="'X'"/>
                <xsl:with-param name="count" select="string-length(normalize-space(.)) * 0.5"/>
            </xsl:call-template>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="text()" mode="td_text">
        <xsl:value-of select="translate(., $zero_width_space, ' ')"/><xsl:text> </xsl:text>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='termsource']" mode="td_text">
        <xsl:value-of select="*[local-name()='origin']/@citeas"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='link']" mode="td_text">
        <xsl:value-of select="@target"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='math']" mode="td_text" name="math_length">
        <xsl:if test="$isGenerateTableIF = 'false'">
            <xsl:variable name="mathml_">
                <xsl:for-each select="*">
                    <xsl:if test="local-name() != 'unit' and local-name() != 'prefix' and local-name() != 'dimension' and local-name() != 'quantity'">
                        <xsl:copy-of select="."/>
                    </xsl:if>
                </xsl:for-each>
            </xsl:variable>
            <xsl:variable name="mathml" select="xalan:nodeset($mathml_)"/>

            <xsl:variable name="math_text">
                <xsl:value-of select="normalize-space($mathml)"/>
                <xsl:for-each select="$mathml//@open"><xsl:value-of select="."/></xsl:for-each>
                <xsl:for-each select="$mathml//@close"><xsl:value-of select="."/></xsl:for-each>
            </xsl:variable>
            <xsl:value-of select="translate($math_text, ' ', '#')"/><!-- mathml images as one 'word' without spaces -->
        </xsl:if>
    </xsl:template>
    <!-- ================================= -->
    <!-- END mode="td_text" -->
    <!-- ================================= -->
    <!-- ================================================== -->
    <!-- END Calculate column's width based on text string max widths -->
    <!-- ================================================== -->

    <!-- ================================================== -->
    <!-- Calculate column's width based on HTML4 algorithm -->
    <!-- (https://www.w3.org/TR/REC-html40/appendix/notes.html#h-B.5.2) -->
    <!-- ================================================== -->

    <!-- INPUT: table with columns widths, generated by table_if.xsl  -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="calculate-column-widths-autolayout-algorithm">
        <xsl:param name="parent_table_page-width"/> <!-- for nested tables, in re-calculate step -->

        <!-- via intermediate format -->

        <!-- The algorithm uses two passes through the table data and scales linearly with the size of the table -->

        <!-- In the first pass, line wrapping is disabled, and the user agent keeps track of the minimum and maximum width of each cell. -->

        <!-- Since line wrap has been disabled, paragraphs are treated as long lines unless broken by BR elements. -->

        <xsl:variable name="page_width">
            <xsl:choose>
                <xsl:when test="$parent_table_page-width != ''">
                    <xsl:value-of select="$parent_table_page-width"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="@page-width"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:if test="$table_if_debug = 'true'">
            <page_width><xsl:value-of select="$page_width"/></page_width>
        </xsl:if>

        <!-- There are three cases: -->
        <xsl:choose>
            <!-- 1. The minimum table width is equal to or wider than the available space -->
            <xsl:when test="@width_min &gt;= $page_width and 1 = 2"> <!-- this condition isn't working see case 3 below -->
                <!-- call old algorithm -->
                <case1/>
                <!-- <xsl:variable name="cols-count" select="count(xalan:nodeset($table)/*/tr[1]/td)"/>
                <xsl:call-template name="calculate-column-widths-proportional">
                    <xsl:with-param name="cols-count" select="$cols-count"/>
                    <xsl:with-param name="table" select="$table"/>
                </xsl:call-template> -->
            </xsl:when>
            <!-- 2. The maximum table width fits within the available space. In this case, set the columns to their maximum widths. -->
            <xsl:when test="@width_max &lt;= $page_width">
                <case2/>
                <autolayout/>
                <xsl:for-each select="column/@width_max">
                    <column divider="100"><xsl:value-of select="."/></column>
                </xsl:for-each>
            </xsl:when>
            <!-- 3. The maximum width of the table is greater than the available space, but the minimum table width is smaller. 
            In this case, find the difference between the available space and the minimum table width, lets call it W. 
            Lets also call D the difference between maximum and minimum width of the table. 
            For each column, let d be the difference between maximum and minimum width of that column. 
            Now set the column's width to the minimum width plus d times W over D. 
            This makes columns with large differences between minimum and maximum widths wider than columns with smaller differences. -->
            <xsl:when test="(@width_max &gt; $page_width and @width_min &lt; $page_width) or (@width_min &gt;= $page_width)">
                <!-- difference between the available space and the minimum table width -->
                <_width_min><xsl:value-of select="@width_min"/></_width_min>
                <xsl:variable name="W" select="$page_width - @width_min"/>
                <W><xsl:value-of select="$W"/></W>
                <!-- difference between maximum and minimum width of the table -->
                <xsl:variable name="D" select="@width_max - @width_min"/>
                <D><xsl:value-of select="$D"/></D>
                <case3/>
                <autolayout/>
                <xsl:if test="@width_min &gt;= $page_width">
                    <split_keep-within-line>true</split_keep-within-line>
                </xsl:if>
                <xsl:for-each select="column">
                    <!-- difference between maximum and minimum width of that column.  -->
                    <xsl:variable name="d" select="@width_max - @width_min"/>
                    <d><xsl:value-of select="$d"/></d>
                    <width_min><xsl:value-of select="@width_min"/></width_min>
                    <e><xsl:value-of select="$d * $W div $D"/></e>
                    <!-- set the column's width to the minimum width plus d times W over D.  -->
                    <xsl:variable name="column_width_" select="round(@width_min + $d * $W div $D)"/> <!--  * 10 -->
                    <xsl:variable name="column_width" select="$column_width_*($column_width_ &gt;= 0) - $column_width_*($column_width_ &lt; 0)"/> <!-- absolute value -->
                    <column divider="100">
                        <xsl:value-of select="$column_width"/>
                    </column>
                </xsl:for-each>

            </xsl:when>
            <xsl:otherwise><unknown_case/></xsl:otherwise>
        </xsl:choose>

    </xsl:template> <!-- calculate-column-widths-autolayout-algorithm -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="get-calculated-column-widths-autolayout-algorithm">

        <!-- if nested 'dl' or 'table' -->
        <xsl:variable name="parent_table_id" select="normalize-space(ancestor::*[local-name() = 'table' or local-name() = 'dl'][1]/@id)"/>
        <parent_table_id><xsl:value-of select="$parent_table_id"/></parent_table_id>

        <parent_element><xsl:value-of select="local-name(..)"/></parent_element>

        <ancestor_tree>
            <xsl:for-each select="ancestor::*">
                <ancestor><xsl:value-of select="local-name()"/></ancestor>
            </xsl:for-each>
        </ancestor_tree>

        <xsl:variable name="parent_table_page-width_">
            <xsl:if test="$parent_table_id != ''">
                <!-- determine column number in the parent table -->
                <xsl:variable name="parent_table_column_number">
                    <xsl:choose>
                        <!-- <xsl:when test="parent::*[local-name() = 'dd']">2</xsl:when> -->
                        <xsl:when test="(ancestor::*[local-name() = 'dd' or local-name() = 'table' or local-name() = 'dl'])[last()][local-name() = 'dd' or local-name() = 'dl']">2</xsl:when>
                        <xsl:otherwise> <!-- parent is table -->
                            <xsl:value-of select="count(ancestor::*[local-name() = 'td'][1]/preceding-sibling::*[local-name() = 'td']) + 1"/>
                        </xsl:otherwise>
                    </xsl:choose>
                </xsl:variable>
                <!-- find table by id in the file 'table_widths' and get all Nth `<column>...</column> -->

                <xsl:variable name="parent_table_column_" select="$table_widths_from_if_calculated//table[@id = $parent_table_id]/column[number($parent_table_column_number)]"/>
                <xsl:variable name="parent_table_column" select="xalan:nodeset($parent_table_column_)"/>
                <!-- <xsl:variable name="divider">
                    <xsl:value-of select="$parent_table_column/@divider"/>
                    <xsl:if test="not($parent_table_column/@divider)">1</xsl:if>
                </xsl:variable> -->
                <xsl:value-of select="$parent_table_column/text()"/> <!--  * 10 -->
            </xsl:if>
        </xsl:variable>
        <xsl:variable name="parent_table_page-width" select="normalize-space($parent_table_page-width_)"/>

        <parent_table_page-width><xsl:value-of select="$parent_table_page-width"/></parent_table_page-width>

        <!-- get current table id -->
        <xsl:variable name="table_id" select="@id"/>

        <xsl:choose>
            <xsl:when test="$parent_table_id = '' or $parent_table_page-width = ''">
                <!-- find table by id in the file 'table_widths' and get all `<column>...</column> -->
                <xsl:copy-of select="$table_widths_from_if_calculated//table[@id = $table_id]/node()"/>
            </xsl:when>
            <xsl:otherwise>
                <!-- recalculate columns width based on parent table width -->
                <xsl:for-each select="$table_widths_from_if//table[@id = $table_id]">
                    <xsl:call-template name="calculate-column-widths-autolayout-algorithm">
                        <xsl:with-param name="parent_table_page-width" select="$parent_table_page-width"/> <!-- padding-left = 2mm  = 50000-->
                    </xsl:call-template>
                </xsl:for-each>
            </xsl:otherwise>
        </xsl:choose>

    </xsl:template> <!-- get-calculated-column-widths-autolayout-algorithm -->

    <!-- ================================================== -->
    <!-- Calculate column's width based on HTML4 algorithm -->
    <!-- ================================================== -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='thead']">
        <xsl:param name="cols-count"/>
        <fo:table-header>

                <xsl:call-template name="table-header-title">
                    <xsl:with-param name="cols-count" select="$cols-count"/>
                </xsl:call-template>

            <xsl:apply-templates/>
        </fo:table-header>
    </xsl:template> <!-- thead -->

    <!-- template is using for iec, iso, jcgm, bsi only -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table-header-title">
        <xsl:param name="cols-count"/>
        <!-- row for title -->
        <fo:table-row role="SKIP">
            <fo:table-cell number-columns-spanned="{$cols-count}" border-left="1.5pt solid white" border-right="1.5pt solid white" border-top="1.5pt solid white" border-bottom="1.5pt solid black" role="SKIP">

                <xsl:call-template name="refine_table-header-title-style"/>

                        <xsl:if test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                            <xsl:attribute name="border-bottom">0.5 solid black</xsl:attribute>
                        </xsl:if>

                        <fo:block xsl:use-attribute-sets="table-name-style" role="SKIP">

                            <xsl:apply-templates select="ancestor::*[local-name()='table']/*[local-name()='name']">
                                <xsl:with-param name="continued">true</xsl:with-param>
                            </xsl:apply-templates>

                            <fo:inline font-weight="normal" font-style="italic" role="SKIP">
                                <xsl:text> </xsl:text>
                                <fo:retrieve-table-marker retrieve-class-name="table_continued"/>
                            </fo:inline>
                        </fo:block>

            </fo:table-cell>
        </fo:table-row>
    </xsl:template> <!-- table-header-title -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_table-header-title-style">

    </xsl:template> <!-- refine_table-header-title-style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='thead']" mode="process_tbody">
        <fo:table-body>
            <xsl:apply-templates/>
        </fo:table-body>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='tfoot']">
        <xsl:apply-templates/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertTableFooter">
        <xsl:param name="cols-count"/>
        <xsl:if test="../*[local-name()='tfoot']">
            <fo:table-footer>
                <xsl:apply-templates select="../*[local-name()='tfoot']"/>
            </fo:table-footer>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertTableFooterInSeparateTable">
        <xsl:param name="table_attributes"/>
        <xsl:param name="colwidths"/>
        <xsl:param name="colgroup"/>

        <xsl:variable name="isNoteOrFnExist" select="../*[local-name()='note'][not(@type = 'units')] or ../*[local-name()='example'] or ../*[local-name()='dl'] or ..//*[local-name()='fn'][local-name(..) != 'name'] or ../*[local-name()='source'] or ../*[local-name()='p']"/>

        <xsl:variable name="isNoteOrFnExistShowAfterTable">

        </xsl:variable>

        <xsl:if test="$isNoteOrFnExist = 'true' or normalize-space($isNoteOrFnExistShowAfterTable) = 'true'">

            <xsl:variable name="cols-count">
                <xsl:choose>
                    <xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
                        <xsl:value-of select="count(xalan:nodeset($colgroup)//*[local-name()='col'])"/>
                    </xsl:when>
                    <xsl:otherwise>
                        <xsl:value-of select="count(xalan:nodeset($colwidths)//column)"/>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:variable>

            <xsl:variable name="table_fn_block">
                <xsl:call-template name="table_fn_display"/>
            </xsl:variable>

            <xsl:variable name="tableWithNotesAndFootnotes">

                <fo:table keep-with-previous="always">
                    <xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
                        <xsl:variable name="name" select="local-name()"/>
                        <xsl:choose>
                            <xsl:when test="$name = 'border-top'">
                                <xsl:attribute name="{$name}">0pt solid black</xsl:attribute>
                            </xsl:when>
                            <xsl:when test="$name = 'border'">
                                <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
                                <xsl:attribute name="border-top">0pt solid black</xsl:attribute>
                            </xsl:when>
                            <xsl:otherwise>
                                <xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
                            </xsl:otherwise>
                        </xsl:choose>
                    </xsl:for-each>

                    <xsl:choose>
                        <xsl:when test="xalan:nodeset($colgroup)//*[local-name()='col']">
                            <xsl:for-each select="xalan:nodeset($colgroup)//*[local-name()='col']">
                                <fo:table-column column-width="{@width}"/>
                            </xsl:for-each>
                        </xsl:when>
                        <xsl:otherwise>
                            <!-- $colwidths=<xsl:copy-of select="$colwidths"/> -->
                            <xsl:call-template name="insertTableColumnWidth">
                                <xsl:with-param name="colwidths" select="$colwidths"/>
                            </xsl:call-template>
                        </xsl:otherwise>
                    </xsl:choose>

                    <fo:table-body>
                        <fo:table-row>
                            <fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">

                                <xsl:call-template name="refine_table-footer-cell-style"/>

                                <xsl:call-template name="setBordersTableArray"/>

                                <!-- fn will be processed inside 'note' processing -->

                                <!-- for BSI (not PAS) display Notes before footnotes -->

                                <!-- except gb and bsi  -->

                                        <xsl:apply-templates select="../*[local-name()='p']"/>
                                        <xsl:apply-templates select="../*[local-name()='dl']"/>
                                        <xsl:apply-templates select="../*[local-name()='note'][not(@type = 'units')]"/>
                                        <xsl:apply-templates select="../*[local-name()='example']"/>
                                        <xsl:apply-templates select="../*[local-name()='source']"/>

                                <xsl:variable name="isDisplayRowSeparator">

                                </xsl:variable>

                                <!-- horizontal row separator -->
                                <xsl:if test="normalize-space($isDisplayRowSeparator) = 'true'">
                                    <xsl:if test="(../*[local-name()='note'][not(@type = 'units')] or ../*[local-name()='example']) and normalize-space($table_fn_block) != ''">
                                        <fo:block-container border-top="0.5pt solid black" padding-left="1mm" padding-right="1mm">

                                            <xsl:call-template name="setBordersTableArray"/>
                                            <fo:block font-size="1pt"> </fo:block>
                                        </fo:block-container>
                                    </xsl:if>
                                </xsl:if>

                                <!-- fn processing -->
                                <fo:block/><!-- display fn after table -->

                                <!-- for PAS display Notes after footnotes -->

                            </fo:table-cell>
                        </fo:table-row>
                    </fo:table-body>

                </fo:table>
            </xsl:variable>

            <xsl:if test="normalize-space($tableWithNotesAndFootnotes) != ''">
                <xsl:copy-of select="$tableWithNotesAndFootnotes"/>
            </xsl:if>

                <!-- <xsl:call-template name="table_fn_display" /> -->
                <xsl:copy-of select="$table_fn_block"/>

        </xsl:if>
    </xsl:template> <!-- insertTableFooterInSeparateTable -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='tbody']">

        <xsl:variable name="cols-count">
            <xsl:choose>
                <xsl:when test="../*[local-name()='thead']">
                    <xsl:call-template name="calculate-columns-numbers">
                        <xsl:with-param name="table-row" select="../*[local-name()='thead']/*[local-name()='tr'][1]"/>
                    </xsl:call-template>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:call-template name="calculate-columns-numbers">
                        <xsl:with-param name="table-row" select="./*[local-name()='tr'][1]"/>
                    </xsl:call-template>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

            <!-- if there isn't 'thead' and there is a table's title -->
            <xsl:if test="not(ancestor::*[local-name()='table']/*[local-name()='thead']) and ancestor::*[local-name()='table']/*[local-name()='name']">
                <fo:table-header>
                    <xsl:call-template name="table-header-title">
                        <xsl:with-param name="cols-count" select="$cols-count"/>
                    </xsl:call-template>
                </fo:table-header>
            </xsl:if>

        <xsl:apply-templates select="../*[local-name()='thead']">
            <xsl:with-param name="cols-count" select="$cols-count"/>
        </xsl:apply-templates>

        <xsl:call-template name="insertTableFooter">
            <xsl:with-param name="cols-count" select="$cols-count"/>
        </xsl:call-template>

        <fo:table-body>

                <xsl:variable name="title_continued_">
                    <xsl:call-template name="getLocalizedString">
                        <xsl:with-param name="key">continued</xsl:with-param>
                    </xsl:call-template>
                </xsl:variable>
                <xsl:variable name="title_continued_in_parenthesis" select="concat('(',$title_continued_,')')"/>
                <xsl:variable name="title_continued">
                    <xsl:value-of select="$title_continued_in_parenthesis"/>

                </xsl:variable>

                <xsl:variable name="title_start" select="ancestor::*[local-name()='table'][1]/*[local-name()='name']/node()[1][self::text()]"/>
                <xsl:variable name="table_number" select="substring-before($title_start, '—')"/>

                <fo:table-row height="0" keep-with-next.within-page="always" role="SKIP">
                    <fo:table-cell role="SKIP">

                            <fo:marker marker-class-name="table_continued"/>

                        <fo:block role="SKIP"/>
                    </fo:table-cell>
                </fo:table-row>
                <fo:table-row height="0" keep-with-next.within-page="always" role="SKIP">
                    <fo:table-cell role="SKIP">

                        <fo:marker marker-class-name="table_continued">
                            <xsl:value-of select="$title_continued"/>
                        </fo:marker>
                         <fo:block role="SKIP"/>
                    </fo:table-cell>
                </fo:table-row>

            <xsl:apply-templates/>

        </fo:table-body>

    </xsl:template> <!-- tbody -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="/" mode="process_table-if">
        <xsl:param name="table_or_dl">table</xsl:param>
        <xsl:apply-templates mode="process_table-if">
            <xsl:with-param name="table_or_dl" select="$table_or_dl"/>
        </xsl:apply-templates>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='tbody']" mode="process_table-if">
        <xsl:param name="table_or_dl">table</xsl:param>

        <fo:table-body>
            <xsl:for-each select="*[local-name() = 'tr']">
                <xsl:variable name="col_count" select="count(*)"/>

                <!-- iteration for each tr/td -->

                <xsl:choose>
                    <xsl:when test="$table_or_dl = 'table'">
                        <xsl:for-each select="*[local-name() = 'td' or local-name() = 'th']/*">
                            <fo:table-row number-columns-spanned="{$col_count}">
                                <xsl:copy-of select="../@font-weight"/>
                                <!-- <test_table><xsl:copy-of select="."/></test_table> -->
                                <xsl:call-template name="td"/>
                            </fo:table-row>
                        </xsl:for-each>
                    </xsl:when>
                    <xsl:otherwise> <!-- $table_or_dl = 'dl' -->
                        <xsl:for-each select="*[local-name() = 'td' or local-name() = 'th']">
                            <xsl:variable name="is_dt" select="position() = 1"/>

                            <xsl:for-each select="*">
                                <!-- <test><xsl:copy-of select="."/></test> -->
                                <fo:table-row number-columns-spanned="{$col_count}">
                                    <xsl:choose>
                                        <xsl:when test="$is_dt">
                                            <xsl:call-template name="insert_dt_cell"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <xsl:call-template name="insert_dd_cell"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                </fo:table-row>
                            </xsl:for-each>
                        </xsl:for-each>
                    </xsl:otherwise>
                </xsl:choose>

            </xsl:for-each>
        </fo:table-body>
    </xsl:template> <!-- process_table-if -->

    <!-- ===================== -->
    <!-- Table's row processing -->
    <!-- ===================== -->
    <!-- row in table header (thead) thead/tr -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='thead']/*[local-name()='tr']" priority="2">
        <fo:table-row xsl:use-attribute-sets="table-header-row-style">

            <xsl:call-template name="refine_table-header-row-style"/>

            <xsl:call-template name="setTableRowAttributes"/>

            <xsl:apply-templates/>
        </fo:table-row>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setBorderUnderRow">
        <xsl:variable name="border_under_row_" select="normalize-space(ancestor::*[local-name() = 'table'][1]/@border-under-row)"/>
        <xsl:choose>
            <xsl:when test="$border_under_row_ != ''">
                <xsl:variable name="table_id" select="ancestor::*[local-name() = 'table'][1]/@id"/>
                <xsl:variable name="row_num_"><xsl:number level="any" count="*[local-name() = 'table'][@id = $table_id]//*[local-name() = 'tr']"/></xsl:variable>
                <xsl:variable name="row_num" select="number($row_num_) - 1"/> <!-- because values in border-under-row start with 0 -->
                <xsl:variable name="border_under_row">
                    <xsl:call-template name="split">
                        <xsl:with-param name="pText" select="$border_under_row_"/>
                    </xsl:call-template>
                </xsl:variable>
                <xsl:if test="xalan:nodeset($border_under_row)/item[. = normalize-space($row_num)]">
                    <xsl:attribute name="border-bottom"><xsl:value-of select="$table-border"/></xsl:attribute>
                </xsl:if>
            </xsl:when>
            <xsl:otherwise>
                <xsl:attribute name="border-bottom"><xsl:value-of select="$table-border"/></xsl:attribute>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- row in table footer (tfoot), tfoot/tr -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='tfoot']/*[local-name()='tr']" priority="2">
        <fo:table-row xsl:use-attribute-sets="table-footer-row-style">

            <xsl:call-template name="refine_table-footer-row-style"/>

            <xsl:call-template name="setTableRowAttributes"/>
            <xsl:apply-templates/>
        </fo:table-row>
    </xsl:template>

    <!-- row in table's body (tbody) -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='tr']">
        <fo:table-row xsl:use-attribute-sets="table-body-row-style">

            <xsl:if test="count(*) = count(*[local-name() = 'th'])"> <!-- row contains 'th' only -->
                <xsl:attribute name="keep-with-next">always</xsl:attribute>
            </xsl:if>

            <xsl:call-template name="refine_table-body-row-style"/>

            <xsl:call-template name="setTableRowAttributes"/>

            <xsl:apply-templates/>
        </fo:table-row>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setTableRowAttributes">

    </xsl:template> <!-- setTableRowAttributes -->
    <!-- ===================== -->
    <!-- END Table's row processing -->
    <!-- ===================== -->

    <!-- cell in table header row -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='th']">
        <fo:table-cell xsl:use-attribute-sets="table-header-cell-style"> <!-- text-align="{@align}" -->
            <xsl:call-template name="setTextAlignment">
                <xsl:with-param name="default">center</xsl:with-param>
            </xsl:call-template>

            <xsl:copy-of select="@keep-together.within-line"/>

            <xsl:call-template name="refine_table-header-cell-style"/>

            <!-- experimental feature, see https://github.com/metanorma/metanorma-plateau/issues/30#issuecomment-2145461828 -->
            <!-- <xsl:choose>
                <xsl:when test="count(node()) = 1 and *[local-name() = 'span'][contains(@style, 'text-orientation')]">
                    <fo:block-container reference-orientation="270">
                        <fo:block role="SKIP" text-align="start">
                            <xsl:apply-templates />
                        </fo:block>
                    </fo:block-container>
                </xsl:when>
                <xsl:otherwise>
                    <fo:block role="SKIP">
                        <xsl:apply-templates />
                    </fo:block>
                </xsl:otherwise>
            </xsl:choose> -->

            <fo:block role="SKIP">
                <xsl:apply-templates/>
                <xsl:if test="$isGenerateTableIF = 'false' and count(node()) = 0"> </xsl:if>
            </fo:block>
        </fo:table-cell>
    </xsl:template> <!-- cell in table header row - 'th' -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setTableCellAttributes">
        <xsl:if test="@colspan">
            <xsl:attribute name="number-columns-spanned">
                <xsl:value-of select="@colspan"/>
            </xsl:attribute>
        </xsl:if>
        <xsl:if test="@rowspan">
            <xsl:attribute name="number-rows-spanned">
                <xsl:value-of select="@rowspan"/>
            </xsl:attribute>
        </xsl:if>
        <xsl:call-template name="display-align"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="display-align">
        <xsl:if test="@valign">
            <xsl:attribute name="display-align">
                <xsl:choose>
                    <xsl:when test="@valign = 'top'">before</xsl:when>
                    <xsl:when test="@valign = 'middle'">center</xsl:when>
                    <xsl:when test="@valign = 'bottom'">after</xsl:when>
                    <xsl:otherwise>before</xsl:otherwise>
                </xsl:choose>
            </xsl:attribute>
        </xsl:if>
    </xsl:template>

    <!-- cell in table body, footer -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='td']" name="td">
        <fo:table-cell xsl:use-attribute-sets="table-cell-style"> <!-- text-align="{@align}" -->
            <xsl:call-template name="setTextAlignment">
                <xsl:with-param name="default">left</xsl:with-param>
            </xsl:call-template>

            <xsl:copy-of select="@keep-together.within-line"/>

            <xsl:call-template name="refine_table-cell-style"/>

            <xsl:if test=".//*[local-name() = 'table']"> <!-- if there is nested table -->
                <xsl:attribute name="padding-right">1mm</xsl:attribute>
            </xsl:if>

            <xsl:call-template name="setTableCellAttributes"/>

            <xsl:if test="$isGenerateTableIF = 'true'">
                <xsl:attribute name="border">1pt solid black</xsl:attribute> <!-- border is mandatory, to determine page width -->
                <xsl:attribute name="text-align">left</xsl:attribute>
            </xsl:if>

            <fo:block role="SKIP">

                <xsl:if test="$isGenerateTableIF = 'true'">
                    <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
                </xsl:if>

                <xsl:apply-templates/>

                <xsl:if test="$isGenerateTableIF = 'true'"> <fo:inline id="{@id}_end">end</fo:inline></xsl:if> <!-- to determine width of text --> <!-- <xsl:value-of select="$hair_space"/> -->

                <xsl:if test="$isGenerateTableIF = 'false' and count(node()) = 0"> </xsl:if>

            </fo:block>
        </fo:table-cell>
    </xsl:template> <!-- td -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='table']/*[local-name()='note' or local-name() = 'example']" priority="2">

                <fo:block xsl:use-attribute-sets="table-note-style">
                    <xsl:copy-of select="@id"/>

                    <xsl:call-template name="refine_table-note-style"/>

                    <!-- Table's note/example name (NOTE, for example) -->
                    <fo:inline xsl:use-attribute-sets="table-note-name-style">

                        <xsl:call-template name="refine_table-note-name-style"/>

                        <xsl:apply-templates select="*[local-name() = 'name']"/>

                    </fo:inline>

                    <xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
                </fo:block>

    </xsl:template> <!-- table/note -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='table']/*[local-name()='note' or local-name()='example']/*[local-name()='p']" priority="2">
        <xsl:apply-templates/>
    </xsl:template>

    <!-- ===================== -->
    <!-- Footnotes processing  -->
    <!-- ===================== -->
    <!--
    <fn reference="1">
            <p id="_8e5cf917-f75a-4a49-b0aa-1714cb6cf954">Formerly denoted as 15 % (m/m).</p>
        </fn>
    -->
    <!-- footnotes in text (title, bibliography, main body, table's, figure's names), not for tables, figures -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure')] and not(ancestor::*[local-name() = 'name']))]" priority="2" name="fn">

        <!-- list of footnotes to calculate actual footnotes number -->
        <xsl:variable name="p_fn_">
            <xsl:call-template name="get_fn_list"/>
            <!-- <xsl:choose>
                <xsl:when test="$namespace = 'jis'">
                    <xsl:call-template name="get_fn_list_for_element"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:call-template name="get_fn_list"/>
                </xsl:otherwise>
            </xsl:choose> -->
        </xsl:variable>
        <xsl:variable name="p_fn" select="xalan:nodeset($p_fn_)"/>

        <xsl:variable name="gen_id" select="generate-id(.)"/>
        <xsl:variable name="lang" select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibdata']//*[local-name()='language'][@current = 'true']"/>
        <xsl:variable name="reference_">
            <xsl:value-of select="@reference"/>
            <xsl:if test="normalize-space(@reference) = ''"><xsl:value-of select="$gen_id"/></xsl:if>
        </xsl:variable>
        <xsl:variable name="reference" select="normalize-space($reference_)"/>
        <!-- fn sequence number in document -->
        <xsl:variable name="current_fn_number">
            <xsl:choose>
                <xsl:when test="@current_fn_number"><xsl:value-of select="@current_fn_number"/></xsl:when> <!-- for BSI -->
                <xsl:otherwise>
                    <xsl:value-of select="count($p_fn//fn[@reference = $reference]/preceding-sibling::fn) + 1"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:variable name="current_fn_number_text">

                    <xsl:value-of select="$current_fn_number"/>

        </xsl:variable>

        <xsl:variable name="ref_id">
            <xsl:choose>
                <xsl:when test="normalize-space(@ref_id) != ''"><xsl:value-of select="@ref_id"/></xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="concat('footnote_', $lang, '_', $reference, '_', $current_fn_number)"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:variable name="footnote_inline">
            <fo:inline role="Reference">

                <xsl:variable name="fn_styles">
                    <xsl:choose>
                        <xsl:when test="ancestor::*[local-name() = 'bibitem']">
                            <fn_styles xsl:use-attribute-sets="bibitem-note-fn-style">

                            </fn_styles>
                        </xsl:when>
                        <xsl:otherwise>
                            <fn_styles xsl:use-attribute-sets="fn-num-style">

                            </fn_styles>
                        </xsl:otherwise>
                    </xsl:choose>
                </xsl:variable>

                <xsl:for-each select="xalan:nodeset($fn_styles)/fn_styles/@*">
                    <xsl:copy-of select="."/>
                </xsl:for-each>

                <xsl:if test="following-sibling::node()[normalize-space() != ''][1][local-name() = 'fn']">
                    <xsl:attribute name="padding-right">0.5mm</xsl:attribute>
                </xsl:if>

                <xsl:call-template name="insert_basic_link">
                    <xsl:with-param name="element">
                        <fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}"> <!-- note: role="Lbl" removed in https://github.com/metanorma/mn2pdf/issues/291 -->
                            <fo:inline role="Lbl"> <!-- need for https://github.com/metanorma/metanorma-iso/issues/1003 -->
                                <xsl:copy-of select="$current_fn_number_text"/>
                            </fo:inline>
                        </fo:basic-link>
                    </xsl:with-param>
                </xsl:call-template>
            </fo:inline>
        </xsl:variable>

        <xsl:choose>
            <xsl:when test="normalize-space(@skip_footnote_body) = 'true'">
                <xsl:copy-of select="$footnote_inline"/>
            </xsl:when>
            <xsl:when test="$p_fn//fn[@gen_id = $gen_id] or normalize-space(@skip_footnote_body) = 'false'">
                <fo:footnote xsl:use-attribute-sets="fn-style" role="SKIP">
                    <xsl:copy-of select="$footnote_inline"/>
                    <fo:footnote-body role="Note">

                        <fo:block-container xsl:use-attribute-sets="fn-container-body-style" role="SKIP">

                            <fo:block xsl:use-attribute-sets="fn-body-style" role="SKIP">

                                <xsl:call-template name="refine_fn-body-style"/>

                                <fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style" role="Lbl">

                                    <xsl:call-template name="refine_fn-body-num-style"/>

                                    <xsl:value-of select="$current_fn_number_text"/>
                                </fo:inline>
                                <xsl:apply-templates/>
                            </fo:block>
                        </fo:block-container>
                    </fo:footnote-body>
                </fo:footnote>
            </xsl:when>
            <xsl:otherwise>
                <xsl:copy-of select="$footnote_inline"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template> <!-- fn in text -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="get_fn_list">
        <xsl:choose>
            <xsl:when test="@current_fn_number"> <!-- for BSI, footnote reference number calculated already -->
                <fn gen_id="{generate-id(.)}">
                    <xsl:copy-of select="@*"/>
                    <xsl:copy-of select="node()"/>
                </fn>
            </xsl:when>
            <xsl:otherwise>
                <!-- itetation for:
                footnotes in bibdata/title
                footnotes in bibliography
                footnotes in document's body (except table's head/body/foot and figure text) 
                -->
                <xsl:for-each select="ancestor::*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']/*[local-name() = 'note'][@type='title-footnote']">
                    <fn gen_id="{generate-id(.)}">
                        <xsl:copy-of select="@*"/>
                        <xsl:copy-of select="node()"/>
                    </fn>
                </xsl:for-each>
                <xsl:for-each select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='boilerplate']/* |       ancestor::*[contains(local-name(), '-standard')]//*[local-name()='preface']/* |      ancestor::*[contains(local-name(), '-standard')]//*[local-name()='sections']/* |       ancestor::*[contains(local-name(), '-standard')]//*[local-name()='annex'] |      ancestor::*[contains(local-name(), '-standard')]//*[local-name()='bibliography']/*">
                    <xsl:sort select="@displayorder" data-type="number"/>
                    <!-- commented:
                     .//*[local-name() = 'bibitem'][ancestor::*[local-name() = 'references']]/*[local-name() = 'note'] |
                     because 'fn' there is in biblio-tag -->
                    <xsl:for-each select=".//*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure')] and not(ancestor::*[local-name() = 'name']))][generate-id(.)=generate-id(key('kfn',@reference)[1])]">
                        <!-- copy unique fn -->
                        <fn gen_id="{generate-id(.)}">
                            <xsl:copy-of select="@*"/>
                            <xsl:copy-of select="node()"/>
                        </fn>
                    </xsl:for-each>
                </xsl:for-each>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="get_fn_list_for_element">
        <xsl:choose>
            <xsl:when test="@current_fn_number"> <!-- footnote reference number calculated already -->
                <fn gen_id="{generate-id(.)}">
                    <xsl:copy-of select="@*"/>
                    <xsl:copy-of select="node()"/>
                </fn>
            </xsl:when>
            <xsl:otherwise>
                <xsl:for-each select="ancestor::*[local-name() = 'ul' or local-name() = 'ol'][1]">
                    <xsl:variable name="element_id" select="@id"/>
                    <xsl:for-each select=".//*[local-name() = 'fn'][generate-id(.)=generate-id(key('kfn',@reference)[1])]">
                        <!-- copy unique fn -->
                        <fn gen_id="{generate-id(.)}">
                            <xsl:copy-of select="@*"/>
                            <xsl:copy-of select="node()"/>
                        </fn>
                    </xsl:for-each>
                </xsl:for-each>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>
    <!-- ============================ -->
    <!-- table's footnotes rendering -->
    <!-- ============================ -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table_fn_display">
        <xsl:variable name="references">

            <xsl:for-each select="..//*[local-name()='fn'][local-name(..) != 'name']">
                <xsl:call-template name="create_fn"/>
            </xsl:for-each>
        </xsl:variable>

        <xsl:for-each select="xalan:nodeset($references)//fn">
            <xsl:variable name="reference" select="@reference"/>
            <xsl:if test="not(preceding-sibling::*[@reference = $reference])"> <!-- only unique reference puts in note-->

                        <fo:block xsl:use-attribute-sets="table-fn-style">
                            <xsl:call-template name="refine_table-fn-style"/>
                            <fo:inline id="{@id}" xsl:use-attribute-sets="table-fn-number-style">
                                <xsl:call-template name="refine_table-fn-number-style"/>

                                <xsl:value-of select="@reference"/>

                                <!-- commented https://github.com/metanorma/isodoc/issues/614 -->
                                <!-- <xsl:if test="$namespace = 'itu'">
                                    <xsl:text>)</xsl:text>
                                </xsl:if> -->

                            </fo:inline>
                            <fo:inline xsl:use-attribute-sets="table-fn-body-style">
                                <xsl:copy-of select="./node()"/>
                            </fo:inline>

                        </fo:block>

            </xsl:if>
        </xsl:for-each>
    </xsl:template> <!-- table_fn_display -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="create_fn">
        <fn reference="{@reference}" id="{@reference}_{ancestor::*[@id][1]/@id}">
            <xsl:if test="ancestor::*[local-name()='table'][1]/@id"> <!-- for footnotes in tables -->
                <xsl:attribute name="id">
                    <xsl:value-of select="concat(@reference, '_', ancestor::*[local-name()='table'][1]/@id)"/>
                </xsl:attribute>
            </xsl:if>

            <xsl:apply-templates/>
        </fn>
    </xsl:template>

    <!-- footnotes for table's name rendering -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="table_name_fn_display">
        <xsl:for-each select="*[local-name()='name']//*[local-name()='fn']">
            <xsl:variable name="reference" select="@reference"/>
            <fo:block id="{@reference}_{ancestor::*[@id][1]/@id}"><xsl:value-of select="@reference"/></fo:block>
            <fo:block margin-bottom="12pt">
                <xsl:apply-templates/>
            </fo:block>
        </xsl:for-each>
    </xsl:template>
    <!-- ============================ -->
    <!-- EMD table's footnotes rendering -->
    <!-- ============================ -->

    <!-- ============================ -->
    <!-- figure's footnotes rendering -->
    <!-- ============================ -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="fn_display_figure"> <!-- figure_fn_display -->

        <!-- current figure id -->
        <xsl:variable name="figure_id_">
            <xsl:value-of select="@id"/>
            <xsl:if test="not(@id)"><xsl:value-of select="generate-id()"/></xsl:if>
        </xsl:variable>
        <xsl:variable name="figure_id" select="normalize-space($figure_id_)"/>

        <!-- all footnotes relates to the current figure -->
        <xsl:variable name="references">
            <xsl:for-each select=".//*[local-name()='fn'][not(parent::*[local-name()='name'])][ancestor::*[local-name() = 'figure'][1][@id = $figure_id]]">
                <fn reference="{@reference}" id="{@reference}_{ancestor::*[@id][1]/@id}">
                    <xsl:apply-templates/>
                </fn>
            </xsl:for-each>
        </xsl:variable>

        <xsl:if test="xalan:nodeset($references)//fn">

            <xsl:variable name="key_iso">

            </xsl:variable>

            <fo:block>

                        <!-- current hierarchy is 'figure' element -->
                        <xsl:variable name="following_dl_colwidths">
                            <xsl:if test="*[local-name() = 'dl']"><!-- if there is a 'dl', then set the same columns width as for 'dl' -->
                                <xsl:variable name="simple-table">
                                    <!-- <xsl:variable name="doc_ns">
                                        <xsl:if test="$namespace = 'bipm'">bipm</xsl:if>
                                    </xsl:variable>
                                    <xsl:variable name="ns">
                                        <xsl:choose>
                                            <xsl:when test="normalize-space($doc_ns)  != ''">
                                                <xsl:value-of select="normalize-space($doc_ns)"/>
                                            </xsl:when>
                                            <xsl:otherwise>
                                                <xsl:value-of select="substring-before(name(/*), '-')"/>
                                            </xsl:otherwise>
                                        </xsl:choose>
                                    </xsl:variable> -->

                                    <xsl:for-each select="*[local-name() = 'dl'][1]">
                                        <tbody>
                                            <xsl:apply-templates mode="dl"/>
                                        </tbody>
                                    </xsl:for-each>
                                </xsl:variable>

                                <xsl:call-template name="calculate-column-widths">
                                    <xsl:with-param name="cols-count" select="2"/>
                                    <xsl:with-param name="table" select="$simple-table"/>
                                </xsl:call-template>

                            </xsl:if>
                        </xsl:variable>

                        <xsl:variable name="maxlength_dt">
                            <xsl:for-each select="*[local-name() = 'dl'][1]">
                                <xsl:call-template name="getMaxLength_dt"/>
                            </xsl:for-each>
                        </xsl:variable>

                        <fo:table width="95%" table-layout="fixed">
                            <xsl:if test="normalize-space($key_iso) = 'true'">
                                <xsl:attribute name="font-size">10pt</xsl:attribute>

                            </xsl:if>
                            <xsl:choose>
                                <!-- if there 'dl', then set same columns width -->
                                <xsl:when test="xalan:nodeset($following_dl_colwidths)//column">
                                    <xsl:call-template name="setColumnWidth_dl">
                                        <xsl:with-param name="colwidths" select="$following_dl_colwidths"/>
                                        <xsl:with-param name="maxlength_dt" select="$maxlength_dt"/>
                                    </xsl:call-template>
                                </xsl:when>
                                <xsl:otherwise>
                                    <fo:table-column column-width="5%"/>
                                    <fo:table-column column-width="95%"/>
                                </xsl:otherwise>
                            </xsl:choose>
                            <fo:table-body>
                                <xsl:for-each select="xalan:nodeset($references)//fn">
                                    <xsl:variable name="reference" select="@reference"/>
                                    <xsl:if test="not(preceding-sibling::*[@reference = $reference])"> <!-- only unique reference puts in note-->
                                        <fo:table-row>
                                            <fo:table-cell>
                                                <fo:block>
                                                    <fo:inline id="{@id}" xsl:use-attribute-sets="figure-fn-number-style">
                                                        <xsl:value-of select="@reference"/>
                                                    </fo:inline>
                                                </fo:block>
                                            </fo:table-cell>
                                            <fo:table-cell>
                                                <fo:block xsl:use-attribute-sets="figure-fn-body-style">
                                                    <xsl:if test="normalize-space($key_iso) = 'true'">

                                                                <xsl:attribute name="margin-bottom">0</xsl:attribute>

                                                    </xsl:if>
                                                    <xsl:copy-of select="./node()"/>
                                                </fo:block>
                                            </fo:table-cell>
                                        </fo:table-row>
                                    </xsl:if>
                                </xsl:for-each>
                            </fo:table-body>
                        </fo:table>

            </fo:block>
        </xsl:if>
    </xsl:template> <!-- fn_display_figure -->

    <!-- added for https://github.com/metanorma/isodoc/issues/607 -->
    <!-- figure's footnote label -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure']/*[local-name() = 'dl'][@key = 'true']/*[local-name() = 'dt']/     *[local-name() = 'p'][count(node()[normalize-space() != '']) = 1]/*[local-name() = 'sup']" priority="3">
        <xsl:variable name="key_iso">

        </xsl:variable>
        <xsl:if test="normalize-space($key_iso) = 'true'">
            <xsl:attribute name="font-size">10pt</xsl:attribute>

        </xsl:if>
        <fo:inline xsl:use-attribute-sets="figure-fn-number-style"> <!-- id="{@id}"  -->
            <!-- <xsl:value-of select="@reference"/> -->
            <xsl:apply-templates/>
        </fo:inline>
    </xsl:template>

    <!-- ============================ -->
    <!-- END: figure's footnotes rendering -->
    <!-- ============================ -->

    <!-- fn reference in the text rendering (for instance, 'some text 1) some text' ) -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='fn']">
        <fo:inline xsl:use-attribute-sets="fn-reference-style">

            <xsl:call-template name="refine_fn-reference-style"/>

            <fo:basic-link internal-destination="{@reference}_{ancestor::*[@id][1]/@id}" fox:alt-text="footnote {@reference}"> <!-- @reference   | ancestor::*[local-name()='clause'][1]/@id-->
                <xsl:if test="ancestor::*[local-name()='table'][1]/@id"> <!-- for footnotes in tables -->
                    <xsl:attribute name="internal-destination">
                        <xsl:value-of select="concat(@reference, '_', ancestor::*[local-name()='table'][1]/@id)"/>
                    </xsl:attribute>
                </xsl:if>

                <xsl:value-of select="@reference"/>

                <!-- commented, https://github.com/metanorma/isodoc/issues/614 -->
                <!-- <xsl:if test="$namespace = 'jis'">
                    <fo:inline font-weight="normal">)</fo:inline>
                </xsl:if> -->
            </fo:basic-link>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='fn']/text()[normalize-space() != '']">
        <fo:inline role="SKIP"><xsl:value-of select="."/></fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='fn']//*[local-name()='p']">
        <fo:inline role="P">
            <xsl:apply-templates/>
        </fo:inline>
    </xsl:template>
    <!-- ===================== -->
    <!-- END Footnotes processing  -->
    <!-- ===================== -->

    <!-- ===================== -->
    <!-- Definition List -->
    <!-- ===================== -->

    <!-- for table auto-layout algorithm -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='dl']" priority="2">
        <xsl:choose>
            <xsl:when test="$table_only_with_id != '' and @id = $table_only_with_id">
                <xsl:call-template name="dl"/>
            </xsl:when>
            <xsl:when test="$table_only_with_id != ''"><fo:block/><!-- to prevent empty fo:block-container --></xsl:when>
            <xsl:when test="$table_only_with_ids != '' and contains($table_only_with_ids, concat(@id, ' '))">
                <xsl:call-template name="dl"/>
            </xsl:when>
            <xsl:when test="$table_only_with_ids != ''"><fo:block/><!-- to prevent empty fo:block-container --></xsl:when>
            <xsl:otherwise>
                <xsl:call-template name="dl"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='dl']" name="dl">
        <xsl:variable name="isAdded" select="@added"/>
        <xsl:variable name="isDeleted" select="@deleted"/>
        <!-- <dl><xsl:copy-of select="."/></dl> -->
        <fo:block-container xsl:use-attribute-sets="dl-block-style" role="SKIP">

            <xsl:call-template name="setBlockSpanAll"/>

                    <xsl:if test="not(ancestor::*[local-name() = 'quote'])">
                        <xsl:attribute name="margin-left">0mm</xsl:attribute>
                    </xsl:if>

            <xsl:if test="ancestor::*[local-name() = 'sourcecode']">
                <!-- set font-size as sourcecode font-size -->
                <xsl:variable name="sourcecode_attributes">
                    <xsl:call-template name="get_sourcecode_attributes"/>
                </xsl:variable>
                <xsl:for-each select="xalan:nodeset($sourcecode_attributes)/sourcecode_attributes/@font-size">
                    <xsl:attribute name="{local-name()}">
                        <xsl:value-of select="."/>
                    </xsl:attribute>
                </xsl:for-each>
            </xsl:if>

            <xsl:if test="parent::*[local-name() = 'note']">
                <xsl:attribute name="margin-left">
                    <xsl:choose>
                        <xsl:when test="not(ancestor::*[local-name() = 'table'])"><xsl:value-of select="$note-body-indent"/></xsl:when>
                        <xsl:otherwise><xsl:value-of select="$note-body-indent-table"/></xsl:otherwise>
                    </xsl:choose>
                </xsl:attribute>

            </xsl:if>

            <xsl:call-template name="setTrackChangesStyles">
                <xsl:with-param name="isAdded" select="$isAdded"/>
                <xsl:with-param name="isDeleted" select="$isDeleted"/>
            </xsl:call-template>

            <fo:block-container margin-left="0mm" role="SKIP">

                        <xsl:attribute name="margin-right">0mm</xsl:attribute>

                <xsl:variable name="parent" select="local-name(..)"/>

                <xsl:variable name="key_iso">
                     <!-- and  (not(../@class) or ../@class !='pseudocode') -->
                </xsl:variable>

                <xsl:variable name="onlyOneComponent" select="normalize-space($parent = 'formula' and count(*[local-name()='dt']) = 1)"/>

                <xsl:choose>
                    <xsl:when test="$onlyOneComponent = 'true'"> <!-- only one component -->

                                <fo:block margin-bottom="12pt" text-align="left">

                                    <!-- <xsl:variable name="title-where">
                                        <xsl:call-template name="getLocalizedString">
                                            <xsl:with-param name="key">where</xsl:with-param>
                                        </xsl:call-template>
                                    </xsl:variable>
                                    <xsl:value-of select="$title-where"/> -->
                                    <xsl:apply-templates select="preceding-sibling::*[1][local-name() = 'p' and @keep-with-next = 'true']/node()"/>
                                    <xsl:text> </xsl:text>
                                    <xsl:apply-templates select="*[local-name()='dt']/*"/>
                                    <xsl:if test="*[local-name()='dd']/node()[normalize-space() != ''][1][self::text()]">
                                        <xsl:text> </xsl:text>
                                    </xsl:if>
                                    <xsl:apply-templates select="*[local-name()='dd']/node()" mode="inline"/>
                                </fo:block>

                    </xsl:when> <!-- END: only one component -->
                    <xsl:when test="$parent = 'formula'"> <!-- a few components -->
                        <fo:block margin-bottom="12pt" text-align="left">

                            <xsl:call-template name="refine_dl_formula_where_style"/>

                            <!-- <xsl:variable name="title-where">
                                <xsl:call-template name="getLocalizedString">
                                    <xsl:with-param name="key">where</xsl:with-param>
                                </xsl:call-template>
                            </xsl:variable>
                            <xsl:value-of select="$title-where"/><xsl:if test="$namespace = 'bsi' or $namespace = 'itu'">:</xsl:if> -->
                            <!-- preceding 'p' with word 'where' -->
                            <xsl:apply-templates select="preceding-sibling::*[1][local-name() = 'p' and @keep-with-next = 'true']/node()"/>
                        </fo:block>
                    </xsl:when>  <!-- END: a few components -->
                    <xsl:when test="$parent = 'figure' and  (not(../@class) or ../@class !='pseudocode')"> <!-- definition list in a figure -->
                        <!-- Presentation XML contains 'Key' caption, https://github.com/metanorma/isodoc/issues/607 -->
                        <xsl:if test="not(preceding-sibling::*[1][local-name() = 'p' and @keep-with-next])"> <!-- for old Presentation XML -->

                                    <fo:block font-weight="bold" text-align="left" margin-bottom="12pt" keep-with-next="always">

                                        <xsl:call-template name="refine_figure_key_style"/>

                                        <xsl:variable name="title-key">
                                            <xsl:call-template name="getLocalizedString">
                                                <xsl:with-param name="key">key</xsl:with-param>
                                            </xsl:call-template>
                                        </xsl:variable>
                                        <xsl:value-of select="$title-key"/>
                                    </fo:block>

                        </xsl:if>
                    </xsl:when>  <!-- END: definition list in a figure -->
                </xsl:choose>

                <!-- a few components -->
                <xsl:if test="$onlyOneComponent = 'false'">
                    <fo:block role="SKIP">

                        <xsl:call-template name="refine_multicomponent_style"/>

                        <xsl:if test="ancestor::*[local-name() = 'dd' or local-name() = 'td']">
                            <xsl:attribute name="margin-top">0</xsl:attribute>
                        </xsl:if>

                        <fo:block role="SKIP">

                            <xsl:call-template name="refine_multicomponent_block_style"/>

                            <xsl:apply-templates select="*[local-name() = 'name']">
                                <xsl:with-param name="process">true</xsl:with-param>
                            </xsl:apply-templates>

                            <xsl:if test="$isGenerateTableIF = 'true'">
                                <!-- to determine start of table -->
                                <fo:block id="{concat('table_if_start_',@id)}" keep-with-next="always" font-size="1pt">Start table '<xsl:value-of select="@id"/>'.</fo:block>
                            </xsl:if>

                            <fo:table width="95%" table-layout="fixed">

                                <xsl:if test="$isGenerateTableIF = 'true'">
                                    <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
                                </xsl:if>

                                <xsl:choose>
                                    <xsl:when test="normalize-space($key_iso) = 'true' and $parent = 'formula'"/>
                                    <xsl:when test="normalize-space($key_iso) = 'true'">
                                        <xsl:attribute name="font-size">10pt</xsl:attribute>

                                    </xsl:when>
                                </xsl:choose>

                                <xsl:choose>
                                    <xsl:when test="$isGenerateTableIF = 'true'">
                                        <!-- generate IF for table widths -->
                                        <!-- example:
                                            <tr>
                                                <td valign="top" align="left" id="tab-symdu_1_1">
                                                    <p>Symbol</p>
                                                    <word id="tab-symdu_1_1_word_1">Symbol</word>
                                                </td>
                                                <td valign="top" align="left" id="tab-symdu_1_2">
                                                    <p>Description</p>
                                                    <word id="tab-symdu_1_2_word_1">Description</word>
                                                </td>
                                            </tr>
                                        -->

                                        <!-- create virtual html table for dl/[dt and dd] -->
                                        <xsl:variable name="simple-table">
                                            <!-- initial='<xsl:copy-of select="."/>' -->
                                            <xsl:variable name="dl_table">
                                                <tbody>
                                                    <xsl:apply-templates mode="dl_if">
                                                        <xsl:with-param name="id" select="@id"/>
                                                    </xsl:apply-templates>
                                                </tbody>
                                            </xsl:variable>

                                            <!-- dl_table='<xsl:copy-of select="$dl_table"/>' -->

                                            <!-- Step: replace <br/> to <p>...</p> -->
                                            <xsl:variable name="table_without_br">
                                                <xsl:apply-templates select="xalan:nodeset($dl_table)" mode="table-without-br"/>
                                            </xsl:variable>

                                            <!-- table_without_br='<xsl:copy-of select="$table_without_br"/>' -->

                                            <!-- Step: add id to each cell -->
                                            <!-- add <word>...</word> for each word, image, math -->
                                            <xsl:variable name="simple-table-id">
                                                <xsl:apply-templates select="xalan:nodeset($table_without_br)" mode="simple-table-id">
                                                    <xsl:with-param name="id" select="@id"/>
                                                </xsl:apply-templates>
                                            </xsl:variable>

                                            <!-- simple-table-id='<xsl:copy-of select="$simple-table-id"/>' -->

                                            <xsl:copy-of select="xalan:nodeset($simple-table-id)"/>

                                        </xsl:variable>

                                        <!-- DEBUG: simple-table<xsl:copy-of select="$simple-table"/> -->

                                        <xsl:apply-templates select="xalan:nodeset($simple-table)" mode="process_table-if">
                                            <xsl:with-param name="table_or_dl">dl</xsl:with-param>
                                        </xsl:apply-templates>

                                    </xsl:when>
                                    <xsl:otherwise>

                                        <xsl:variable name="simple-table">

                                            <xsl:variable name="dl_table">
                                                <tbody>
                                                    <xsl:apply-templates mode="dl">
                                                        <xsl:with-param name="id" select="@id"/>
                                                    </xsl:apply-templates>
                                                </tbody>
                                            </xsl:variable>

                                            <xsl:copy-of select="$dl_table"/>
                                        </xsl:variable>

                                        <xsl:variable name="colwidths">
                                            <xsl:choose>
                                                <!-- dl from table[@class='dl'] -->
                                                <xsl:when test="*[local-name() = 'colgroup']">
                                                    <autolayout/>
                                                    <xsl:for-each select="*[local-name() = 'colgroup']/*[local-name() = 'col']">
                                                        <column><xsl:value-of select="translate(@width,'%m','')"/></column>
                                                    </xsl:for-each>
                                                </xsl:when>
                                                <xsl:otherwise>
                                                    <xsl:call-template name="calculate-column-widths">
                                                        <xsl:with-param name="cols-count" select="2"/>
                                                        <xsl:with-param name="table" select="$simple-table"/>
                                                    </xsl:call-template>
                                                </xsl:otherwise>
                                            </xsl:choose>
                                        </xsl:variable>

                                        <!-- <xsl:text disable-output-escaping="yes">&lt;!- -</xsl:text>
                                            DEBUG
                                            colwidths=<xsl:copy-of select="$colwidths"/>
                                        <xsl:text disable-output-escaping="yes">- -&gt;</xsl:text> -->

                                        <!-- colwidths=<xsl:copy-of select="$colwidths"/> -->

                                        <xsl:variable name="maxlength_dt">
                                            <xsl:call-template name="getMaxLength_dt"/>
                                        </xsl:variable>

                                        <xsl:variable name="isContainsKeepTogetherTag_">
                                            false
                                        </xsl:variable>
                                        <xsl:variable name="isContainsKeepTogetherTag" select="normalize-space($isContainsKeepTogetherTag_)"/>
                                        <!-- isContainsExpressReference=<xsl:value-of select="$isContainsExpressReference"/> -->

                                        <xsl:call-template name="setColumnWidth_dl">
                                            <xsl:with-param name="colwidths" select="$colwidths"/>
                                            <xsl:with-param name="maxlength_dt" select="$maxlength_dt"/>
                                            <xsl:with-param name="isContainsKeepTogetherTag" select="$isContainsKeepTogetherTag"/>
                                        </xsl:call-template>

                                        <fo:table-body>

                                            <!-- DEBUG -->
                                            <xsl:if test="$table_if_debug = 'true'">
                                                <fo:table-row>
                                                    <fo:table-cell number-columns-spanned="2" font-size="60%">
                                                        <xsl:apply-templates select="xalan:nodeset($colwidths)" mode="print_as_xml"/>
                                                    </fo:table-cell>
                                                </fo:table-row>
                                            </xsl:if>

                                            <xsl:apply-templates>
                                                <xsl:with-param name="key_iso" select="normalize-space($key_iso)"/>
                                                <xsl:with-param name="split_keep-within-line" select="xalan:nodeset($colwidths)/split_keep-within-line"/>
                                            </xsl:apply-templates>

                                        </fo:table-body>
                                    </xsl:otherwise>
                                </xsl:choose>
                            </fo:table>
                        </fo:block>
                    </fo:block>
                </xsl:if> <!-- END: a few components -->
            </fo:block-container>
        </fo:block-container>

        <xsl:if test="$isGenerateTableIF = 'true'"> <!-- process nested 'dl' -->
            <xsl:apply-templates select="*[local-name() = 'dd']/*[local-name() = 'dl']"/>
        </xsl:if>

    </xsl:template> <!-- END: dl -->

    <!-- caption for figure key and another caption, https://github.com/metanorma/isodoc/issues/607 -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure']/*[local-name() = 'p'][@keep-with-next = 'true' and *[local-name() = 'strong']]" priority="3">
        <fo:block text-align="left" margin-bottom="12pt" keep-with-next="always">
            <xsl:call-template name="refine_figure_key_style"/>
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_dl_formula_where_style">

    </xsl:template> <!-- refine_dl_formula_where_style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_figure_key_style">

    </xsl:template> <!-- refine_figure_key_style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_multicomponent_style">
        <xsl:variable name="parent" select="local-name(..)"/>

    </xsl:template> <!-- refine_multicomponent_style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_multicomponent_block_style">
        <xsl:variable name="parent" select="local-name(..)"/>

    </xsl:template> <!-- refine_multicomponent_block_style -->

    <!-- ignore 'p' with 'where' in formula, before 'dl' -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'formula']/*[local-name() = 'p' and @keep-with-next = 'true' and following-sibling::*[1][local-name() = 'dl']]"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'dl']/*[local-name() = 'name']">
        <xsl:param name="process">false</xsl:param>
        <xsl:if test="$process = 'true'">
            <fo:block xsl:use-attribute-sets="dl-name-style">
                <xsl:apply-templates/>
            </fo:block>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setColumnWidth_dl">
        <xsl:param name="colwidths"/>
        <xsl:param name="maxlength_dt"/>
        <xsl:param name="isContainsKeepTogetherTag"/>

        <!-- <colwidths><xsl:copy-of select="$colwidths"/></colwidths> -->

        <xsl:choose>
            <xsl:when test="xalan:nodeset($colwidths)/autolayout">
                <xsl:call-template name="insertTableColumnWidth">
                    <xsl:with-param name="colwidths" select="$colwidths"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:when test="ancestor::*[local-name()='dl']"><!-- second level, i.e. inlined table -->
                <fo:table-column column-width="50%"/>
                <fo:table-column column-width="50%"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:choose>
                    <xsl:when test="xalan:nodeset($colwidths)/autolayout">
                        <xsl:call-template name="insertTableColumnWidth">
                            <xsl:with-param name="colwidths" select="$colwidths"/>
                        </xsl:call-template>
                    </xsl:when>
                    <xsl:when test="$isContainsKeepTogetherTag">
                        <xsl:call-template name="insertTableColumnWidth">
                            <xsl:with-param name="colwidths" select="$colwidths"/>
                        </xsl:call-template>
                    </xsl:when>
                    <!-- to set width check most wide chars like `W` -->
                    <xsl:when test="normalize-space($maxlength_dt) != '' and number($maxlength_dt) &lt;= 2"> <!-- if dt contains short text like t90, a, etc -->
                        <fo:table-column column-width="7%"/>
                        <fo:table-column column-width="93%"/>
                    </xsl:when>
                    <xsl:when test="normalize-space($maxlength_dt) != '' and number($maxlength_dt) &lt;= 5"> <!-- if dt contains short text like ABC, etc -->
                        <fo:table-column column-width="15%"/>
                        <fo:table-column column-width="85%"/>
                    </xsl:when>
                    <xsl:when test="normalize-space($maxlength_dt) != '' and number($maxlength_dt) &lt;= 7"> <!-- if dt contains short text like ABCDEF, etc -->
                        <fo:table-column column-width="20%"/>
                        <fo:table-column column-width="80%"/>
                    </xsl:when>
                    <xsl:when test="normalize-space($maxlength_dt) != '' and number($maxlength_dt) &lt;= 10"> <!-- if dt contains short text like ABCDEFEF, etc -->
                        <fo:table-column column-width="25%"/>
                        <fo:table-column column-width="75%"/>
                    </xsl:when>
                    <!-- <xsl:when test="xalan:nodeset($colwidths)/column[1] div xalan:nodeset($colwidths)/column[2] &gt; 1.7">
                        <fo:table-column column-width="60%"/>
                        <fo:table-column column-width="40%"/>
                    </xsl:when> -->
                    <xsl:when test="xalan:nodeset($colwidths)/column[1] div xalan:nodeset($colwidths)/column[2] &gt; 1.3">
                        <fo:table-column column-width="50%"/>
                        <fo:table-column column-width="50%"/>
                    </xsl:when>
                    <xsl:when test="xalan:nodeset($colwidths)/column[1] div xalan:nodeset($colwidths)/column[2] &gt; 0.5">
                        <fo:table-column column-width="40%"/>
                        <fo:table-column column-width="60%"/>
                    </xsl:when>
                    <xsl:otherwise>
                        <xsl:call-template name="insertTableColumnWidth">
                            <xsl:with-param name="colwidths" select="$colwidths"/>
                        </xsl:call-template>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertTableColumnWidth">
        <xsl:param name="colwidths"/>

        <xsl:for-each select="xalan:nodeset($colwidths)//column">
            <xsl:choose>
                <xsl:when test=". = 1 or . = 0">
                    <fo:table-column column-width="proportional-column-width(2)"/>
                </xsl:when>
                <xsl:otherwise>
                    <!-- <fo:table-column column-width="proportional-column-width({.})"/> -->
                    <xsl:variable name="divider">
                        <xsl:value-of select="@divider"/>
                        <xsl:if test="not(@divider)">1</xsl:if>
                    </xsl:variable>
                    <fo:table-column column-width="proportional-column-width({round(. div $divider)})"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:for-each>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getMaxLength_dt">
        <xsl:variable name="lengths">
            <xsl:for-each select="*[local-name()='dt']">
                <xsl:variable name="maintext_length" select="string-length(normalize-space(.))"/>
                <xsl:variable name="attributes">
                    <xsl:for-each select=".//@open"><xsl:value-of select="."/></xsl:for-each>
                    <xsl:for-each select=".//@close"><xsl:value-of select="."/></xsl:for-each>
                </xsl:variable>
                <length><xsl:value-of select="string-length(normalize-space(.)) + string-length($attributes)"/></length>
            </xsl:for-each>
        </xsl:variable>
        <xsl:variable name="maxLength">
            <xsl:for-each select="xalan:nodeset($lengths)/length">
                <xsl:sort select="." data-type="number" order="descending"/>
                <xsl:if test="position() = 1">
                    <xsl:value-of select="."/>
                </xsl:if>
            </xsl:for-each>
        </xsl:variable>
        <!-- <xsl:message>DEBUG:<xsl:value-of select="$maxLength"/></xsl:message> -->
        <xsl:value-of select="$maxLength"/>
    </xsl:template>

    <!-- note in definition list: dl/note -->
    <!-- renders in the 2-column spanned table row -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='dl']/*[local-name()='note']" priority="2">
        <xsl:param name="key_iso"/>
        <!-- <tr>
            <td>NOTE</td>
            <td>
                <xsl:apply-templates />
            </td>
        </tr>
         -->
        <!-- OLD Variant -->
        <!-- <fo:table-row>
            <fo:table-cell>
                <fo:block margin-top="6pt">
                    <xsl:if test="normalize-space($key_iso) = 'true'">
                        <xsl:attribute name="margin-top">0</xsl:attribute>
                    </xsl:if>
                    <xsl:apply-templates select="*[local-name() = 'name']" />
                </fo:block>
            </fo:table-cell>
            <fo:table-cell>
                <fo:block>
                    <xsl:apply-templates select="node()[not(local-name() = 'name')]" />
                </fo:block>
            </fo:table-cell>
        </fo:table-row> -->
        <!-- <tr>
            <td number-columns-spanned="2">NOTE <xsl:apply-templates /> </td>
        </tr> 
        -->
        <fo:table-row>
            <fo:table-cell number-columns-spanned="2">
                <fo:block role="SKIP">
                    <xsl:call-template name="note"/>
                </fo:block>
            </fo:table-cell>
        </fo:table-row>
    </xsl:template> <!-- END: dl/note -->

    <!-- virtual html table for dl/[dt and dd]  -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='dt']" mode="dl">
        <xsl:param name="id"/>
        <xsl:variable name="row_number" select="count(preceding-sibling::*[local-name()='dt']) + 1"/>
        <tr>
            <td>
                <xsl:attribute name="id">
                    <xsl:value-of select="concat($id,'@',$row_number,'_1')"/>
                </xsl:attribute>
                <xsl:apply-templates/>
            </td>
            <td>
                <xsl:attribute name="id">
                    <xsl:value-of select="concat($id,'@',$row_number,'_2')"/>
                </xsl:attribute>

                        <xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]">
                            <xsl:with-param name="process">true</xsl:with-param>
                        </xsl:apply-templates>

            </td>
        </tr>

    </xsl:template>

    <!-- Definition's term -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='dt']">
        <xsl:param name="key_iso"/>
        <xsl:param name="split_keep-within-line"/>

        <fo:table-row xsl:use-attribute-sets="dt-row-style">

            <xsl:call-template name="insert_dt_cell">
                <xsl:with-param name="key_iso" select="$key_iso"/>
                <xsl:with-param name="split_keep-within-line" select="$split_keep-within-line"/>
            </xsl:call-template>
            <xsl:for-each select="following-sibling::*[local-name()='dd'][1]">
                <xsl:call-template name="insert_dd_cell">
                    <xsl:with-param name="split_keep-within-line" select="$split_keep-within-line"/>
                </xsl:call-template>
            </xsl:for-each>
        </fo:table-row>
    </xsl:template> <!-- END: dt -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insert_dt_cell">
        <xsl:param name="key_iso"/>
        <xsl:param name="split_keep-within-line"/>
        <fo:table-cell xsl:use-attribute-sets="dt-cell-style">

            <xsl:if test="$isGenerateTableIF = 'true'">
                <!-- border is mandatory, to calculate real width -->
                <xsl:attribute name="border">0.1pt solid black</xsl:attribute>
                <xsl:attribute name="text-align">left</xsl:attribute>

            </xsl:if>

            <xsl:call-template name="refine_dt-cell-style"/>

            <fo:block xsl:use-attribute-sets="dt-block-style" role="SKIP">
                <xsl:copy-of select="@id"/>

                <xsl:if test="normalize-space($key_iso) = 'true'">
                    <xsl:attribute name="margin-top">0</xsl:attribute>
                </xsl:if>

                <xsl:call-template name="refine_dt-block-style"/>

                <xsl:apply-templates>
                    <xsl:with-param name="split_keep-within-line" select="$split_keep-within-line"/>
                </xsl:apply-templates>

                <xsl:if test="$isGenerateTableIF = 'true'"><fo:inline id="{@id}_end">end</fo:inline></xsl:if> <!-- to determine width of text --> <!-- <xsl:value-of select="$hair_space"/> -->

            </fo:block>
        </fo:table-cell>
    </xsl:template> <!-- insert_dt_cell -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insert_dd_cell">
        <xsl:param name="split_keep-within-line"/>
        <fo:table-cell xsl:use-attribute-sets="dd-cell-style">

            <xsl:if test="$isGenerateTableIF = 'true'">
                <!-- border is mandatory, to calculate real width -->
                <xsl:attribute name="border">0.1pt solid black</xsl:attribute>
            </xsl:if>

            <xsl:call-template name="refine_dd-cell-style"/>

            <fo:block role="SKIP">

                <xsl:if test="$isGenerateTableIF = 'true'">
                    <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
                </xsl:if>

                <xsl:choose>
                    <xsl:when test="$isGenerateTableIF = 'true'">
                        <xsl:apply-templates> <!-- following-sibling::*[local-name()='dd'][1] -->
                            <xsl:with-param name="process">true</xsl:with-param>
                        </xsl:apply-templates>
                    </xsl:when>
                    <xsl:otherwise>
                        <xsl:apply-templates select="."> <!-- following-sibling::*[local-name()='dd'][1] -->
                            <xsl:with-param name="process">true</xsl:with-param>
                            <xsl:with-param name="split_keep-within-line" select="$split_keep-within-line"/>
                        </xsl:apply-templates>
                    </xsl:otherwise>

                </xsl:choose>

                <xsl:if test="$isGenerateTableIF = 'true'"><fo:inline id="{@id}_end">end</fo:inline></xsl:if> <!-- to determine width of text --> <!-- <xsl:value-of select="$hair_space"/> -->

            </fo:block>
        </fo:table-cell>
    </xsl:template> <!-- insert_dd_cell -->

    <!-- END Definition's term -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='dd']" mode="dl"/>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='dd']" mode="dl_process">
        <xsl:apply-templates/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='dd']">
        <xsl:param name="process">false</xsl:param>
        <xsl:param name="split_keep-within-line"/>
        <xsl:if test="$process = 'true'">
            <xsl:apply-templates select="@language"/>
            <xsl:apply-templates>
                <xsl:with-param name="split_keep-within-line" select="$split_keep-within-line"/>
            </xsl:apply-templates>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='dd']/*" mode="inline">
        <xsl:variable name="is_inline_element_after_where">
            <xsl:if test="(local-name() = 'p') and not(preceding-sibling::node()[normalize-space() != ''])">true</xsl:if>
        </xsl:variable>
        <xsl:choose>
            <xsl:when test="$is_inline_element_after_where = 'true'">
                <fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
            </xsl:when>
            <xsl:otherwise>
                <xsl:apply-templates select="."/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- virtual html table for dl/[dt and dd] for IF (Intermediate Format) -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='dt']" mode="dl_if">
        <xsl:param name="id"/>
        <tr>
            <td>
                <xsl:copy-of select="node()"/>
            </td>
            <td>
                <!-- <xsl:copy-of select="following-sibling::*[local-name()='dd'][1]/node()[not(local-name() = 'dl')]"/> -->
                <xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]/node()[not(local-name() = 'dl')]" mode="dl_if"/>
                <!-- get paragraphs from nested 'dl' -->
                <xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]/*[local-name() = 'dl']" mode="dl_if_nested"/>
            </td>
        </tr>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='dd']" mode="dl_if"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*" mode="dl_if">
        <xsl:copy-of select="."/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'p']" mode="dl_if">
        <xsl:param name="indent"/>
        <p>
            <xsl:copy-of select="@*"/>
            <xsl:value-of select="$indent"/>
            <xsl:copy-of select="node()"/>
        </p>

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'ul' or local-name() = 'ol']" mode="dl_if">
        <xsl:variable name="list_rendered_">
            <xsl:apply-templates select="."/>
        </xsl:variable>
        <xsl:variable name="list_rendered" select="xalan:nodeset($list_rendered_)"/>

        <xsl:variable name="indent">
            <xsl:for-each select="($list_rendered//fo:block[not(.//fo:block)])[1]">
                <xsl:apply-templates select="ancestor::*[@provisional-distance-between-starts]/@provisional-distance-between-starts" mode="dl_if"/>
            </xsl:for-each>
        </xsl:variable>

        <xsl:apply-templates mode="dl_if">
            <xsl:with-param name="indent" select="$indent"/>
        </xsl:apply-templates>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'li']" mode="dl_if">
        <xsl:param name="indent"/>
        <xsl:apply-templates mode="dl_if">
            <xsl:with-param name="indent" select="$indent"/>
        </xsl:apply-templates>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@provisional-distance-between-starts" mode="dl_if">
        <xsl:variable name="value" select="round(substring-before(.,'mm'))"/>
        <!-- emulate left indent for list item -->
        <xsl:call-template name="repeat">
            <xsl:with-param name="char" select="'x'"/>
            <xsl:with-param name="count" select="$value"/>
        </xsl:call-template>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='dl']" mode="dl_if_nested">
        <xsl:for-each select="*[local-name() = 'dt']">
            <p>
                <xsl:copy-of select="node()"/>
                <xsl:text> </xsl:text>
                <xsl:copy-of select="following-sibling::*[local-name()='dd'][1]/*[local-name() = 'p']/node()"/>
            </p>
        </xsl:for-each>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='dd']" mode="dl_if_nested"/>
    <!-- ===================== -->
    <!-- END Definition List -->
    <!-- ===================== -->

    <!-- default: ignore title in sections/p -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'sections']/*[local-name() = 'p'][starts-with(@class, 'zzSTDTitle')]" priority="3"/>

    <!-- ========================= -->
    <!-- Rich text formatting -->
    <!-- ========================= -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='em']">
        <fo:inline font-style="italic">
            <xsl:call-template name="refine_italic_style"/>
            <xsl:apply-templates/>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_italic_style">

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='strong'] | *[local-name()='b']">
        <xsl:param name="split_keep-within-line"/>
        <fo:inline font-weight="bold">

            <xsl:call-template name="refine_strong_style"/>

            <xsl:apply-templates>
                <xsl:with-param name="split_keep-within-line" select="$split_keep-within-line"/>
            </xsl:apply-templates>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_strong_style">

        <xsl:if test="ancestor::*['preferred']">
            <xsl:attribute name="role">SKIP</xsl:attribute>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='padding']">
        <fo:inline padding-right="{@value}"> </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='sup']">
        <fo:inline font-size="80%" vertical-align="super">
            <xsl:apply-templates/>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='sub']">
        <fo:inline font-size="80%" vertical-align="sub">
            <xsl:apply-templates/>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='tt']">
        <fo:inline xsl:use-attribute-sets="tt-style">

            <xsl:variable name="_font-size">

                 <!-- inherit -->

            </xsl:variable>
            <xsl:variable name="font-size" select="normalize-space($_font-size)"/>
            <xsl:if test="$font-size != ''">
                <xsl:attribute name="font-size">
                    <xsl:choose>
                        <xsl:when test="$font-size = 'inherit'"><xsl:value-of select="$font-size"/></xsl:when>
                        <xsl:when test="contains($font-size, '%')"><xsl:value-of select="$font-size"/></xsl:when>
                        <xsl:when test="ancestor::*[local-name()='note'] or ancestor::*[local-name()='example']"><xsl:value-of select="$font-size * 0.91"/>pt</xsl:when>
                        <xsl:otherwise><xsl:value-of select="$font-size"/>pt</xsl:otherwise>
                    </xsl:choose>
                </xsl:attribute>
            </xsl:if>
            <xsl:apply-templates/>
        </fo:inline>
    </xsl:template> <!-- tt -->

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="regex_url_start">^(http://|https://|www\.)?(.*)</xsl:variable>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='tt']/text()" priority="2">
        <xsl:choose>
            <xsl:when test="java:replaceAll(java:java.lang.String.new(.), $regex_url_start, '$2') != ''">
                 <!-- url -->
                <xsl:call-template name="add-zero-spaces-link-java"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:call-template name="add_spaces_to_sourcecode"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='underline']">
        <fo:inline text-decoration="underline">
            <xsl:apply-templates/>
        </fo:inline>
    </xsl:template>

    <!-- ================= -->
    <!-- Added,deleted text -->
    <!-- ================= -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='add'] | *[local-name() = 'change-open-tag'] | *[local-name() = 'change-close-tag']" name="tag_add">
        <xsl:param name="skip">true</xsl:param>
        <xsl:param name="block">false</xsl:param>
        <xsl:param name="type"/>
        <xsl:param name="text-align"/>
        <xsl:choose>
            <xsl:when test="starts-with(., $ace_tag) or local-name() = 'change-open-tag' or local-name() = 'change-close-tag'"> <!-- examples: ace-tag_A1_start, ace-tag_A2_end, C1_start, AC_start, or
                            <change-open-tag>A<sub>1</sub></change-open-tag>, <change-close-tag>A<sub>1</sub></change-close-tag> -->
                <xsl:choose>
                    <xsl:when test="$skip = 'true' and       ((local-name(../..) = 'note' and not(preceding-sibling::node())) or       (local-name(..) = 'title' and preceding-sibling::node()[1][local-name() = 'tab']) or      local-name(..) = 'formattedref' and not(preceding-sibling::node()))      and       ../node()[last()][local-name() = 'add'][starts-with(text(), $ace_tag)]"><!-- start tag displayed in template name="note" and title --></xsl:when>
                    <xsl:otherwise>
                        <xsl:variable name="tag">
                            <xsl:call-template name="insertTag">
                                <xsl:with-param name="type">
                                    <xsl:choose>
                                        <xsl:when test="local-name() = 'change-open-tag'">start</xsl:when>
                                        <xsl:when test="local-name() = 'change-close-tag'">end</xsl:when>
                                        <xsl:when test="$type = ''"><xsl:value-of select="substring-after(substring-after(., $ace_tag), '_')"/> <!-- start or end --></xsl:when>
                                        <xsl:otherwise><xsl:value-of select="$type"/></xsl:otherwise>
                                    </xsl:choose>
                                </xsl:with-param>
                                <xsl:with-param name="kind">
                                    <xsl:choose>
                                        <xsl:when test="local-name() = 'change-open-tag' or local-name() = 'change-close-tag'">
                                            <xsl:value-of select="text()"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <xsl:value-of select="substring(substring-before(substring-after(., $ace_tag), '_'), 1, 1)"/> <!-- A or C -->
                                        </xsl:otherwise>
                                    </xsl:choose>
                                </xsl:with-param>
                                <xsl:with-param name="value">
                                    <xsl:choose>
                                        <xsl:when test="local-name() = 'change-open-tag' or local-name() = 'change-close-tag'">
                                            <xsl:value-of select="*[local-name() = 'sub']"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <xsl:value-of select="substring(substring-before(substring-after(., $ace_tag), '_'), 2)"/> <!-- 1, 2, C -->
                                        </xsl:otherwise>
                                    </xsl:choose>
                                </xsl:with-param>
                            </xsl:call-template>
                        </xsl:variable>
                        <xsl:choose>
                            <xsl:when test="$block = 'false'">
                                <fo:inline>
                                    <xsl:copy-of select="$tag"/>
                                </fo:inline>
                            </xsl:when>
                            <xsl:otherwise>
                                <fo:block> <!-- for around figures -->
                                    <xsl:if test="$text-align != ''">
                                        <xsl:attribute name="text-align"><xsl:value-of select="$text-align"/></xsl:attribute>
                                    </xsl:if>
                                    <xsl:copy-of select="$tag"/>
                                </fo:block>
                            </xsl:otherwise>
                        </xsl:choose>

                    </xsl:otherwise>
                </xsl:choose>
            </xsl:when>
            <xsl:when test="@amendment">
                <fo:inline>
                    <xsl:call-template name="insertTag">
                        <xsl:with-param name="kind">A</xsl:with-param>
                        <xsl:with-param name="value"><xsl:value-of select="@amendment"/></xsl:with-param>
                    </xsl:call-template>
                    <xsl:apply-templates/>
                    <xsl:call-template name="insertTag">
                        <xsl:with-param name="type">closing</xsl:with-param>
                        <xsl:with-param name="kind">A</xsl:with-param>
                        <xsl:with-param name="value"><xsl:value-of select="@amendment"/></xsl:with-param>
                    </xsl:call-template>
                </fo:inline>
            </xsl:when>
            <xsl:when test="@corrigenda">
                <fo:inline>
                    <xsl:call-template name="insertTag">
                        <xsl:with-param name="kind">C</xsl:with-param>
                        <xsl:with-param name="value"><xsl:value-of select="@corrigenda"/></xsl:with-param>
                    </xsl:call-template>
                    <xsl:apply-templates/>
                    <xsl:call-template name="insertTag">
                        <xsl:with-param name="type">closing</xsl:with-param>
                        <xsl:with-param name="kind">C</xsl:with-param>
                        <xsl:with-param name="value"><xsl:value-of select="@corrigenda"/></xsl:with-param>
                    </xsl:call-template>
                </fo:inline>
            </xsl:when>
            <xsl:otherwise>
                <fo:inline xsl:use-attribute-sets="add-style">
                    <xsl:apply-templates/>
                </fo:inline>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template> <!-- add -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertTag">
        <xsl:param name="type"/>
        <xsl:param name="kind"/>
        <xsl:param name="value"/>
        <xsl:variable name="add_width" select="string-length($value) * 20"/>
        <xsl:variable name="maxwidth" select="60 + $add_width"/>
            <fo:instream-foreign-object fox:alt-text="OpeningTag" baseline-shift="-10%"><!-- alignment-baseline="middle" -->
                <xsl:attribute name="height">3.5mm</xsl:attribute> <!-- 5mm -->
                <xsl:attribute name="content-width">100%</xsl:attribute>
                <xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
                <xsl:attribute name="scaling">uniform</xsl:attribute>
                <!-- <svg xmlns="http://www.w3.org/2000/svg" width="{$maxwidth + 32}" height="80">
                    <g>
                        <xsl:if test="$type = 'closing' or $type = 'end'">
                            <xsl:attribute name="transform">scale(-1 1) translate(-<xsl:value-of select="$maxwidth + 32"/>,0)</xsl:attribute>
                        </xsl:if>
                        <polyline points="0,0 {$maxwidth},0 {$maxwidth + 30},40 {$maxwidth},80 0,80 " stroke="black" stroke-width="5" fill="white"/>
                        <line x1="0" y1="0" x2="0" y2="80" stroke="black" stroke-width="20"/>
                    </g>
                    <text font-family="Arial" x="15" y="57" font-size="40pt">
                        <xsl:if test="$type = 'closing' or $type = 'end'">
                            <xsl:attribute name="x">25</xsl:attribute>
                        </xsl:if>
                        <xsl:value-of select="$kind"/><tspan dy="10" font-size="30pt"><xsl:value-of select="$value"/></tspan>
                    </text>
                </svg> -->
                <svg xmlns="http://www.w3.org/2000/svg" width="{$maxwidth + 32}" height="80">
                    <g>
                        <xsl:if test="$type = 'closing' or $type = 'end'">
                            <xsl:attribute name="transform">scale(-1 1) translate(-<xsl:value-of select="$maxwidth + 32"/>,0)</xsl:attribute>
                        </xsl:if>
                        <polyline points="0,2.5 {$maxwidth},2.5 {$maxwidth + 20},40 {$maxwidth},77.5 0,77.5" stroke="black" stroke-width="5" fill="white"/>
                        <line x1="9.5" y1="0" x2="9.5" y2="80" stroke="black" stroke-width="19"/>
                    </g>
                    <xsl:variable name="text_x">
                        <xsl:choose>
                            <xsl:when test="$type = 'closing' or $type = 'end'">28</xsl:when>
                            <xsl:otherwise>22</xsl:otherwise>
                        </xsl:choose>
                    </xsl:variable>
                    <text font-family="Arial" x="{$text_x}" y="50" font-size="40pt">
                        <xsl:value-of select="$kind"/>
                    </text>
                    <text font-family="Arial" x="{$text_x + 33}" y="65" font-size="38pt">
                        <xsl:value-of select="$value"/>
                    </text>
                </svg>
            </fo:instream-foreign-object>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='del']">
        <fo:inline xsl:use-attribute-sets="del-style">
            <xsl:apply-templates/>
        </fo:inline>
    </xsl:template>
    <!-- ================= -->
    <!-- END Added,deleted text -->
    <!-- ================= -->

    <!-- highlight text -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='hi']">
        <fo:inline background-color="yellow">
            <xsl:apply-templates/>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="text()[ancestor::*[local-name()='smallcap']]" name="smallcaps">
        <xsl:param name="txt"/>
        <!-- <xsl:variable name="text" select="normalize-space(.)"/> --> <!-- https://github.com/metanorma/metanorma-iso/issues/1115 -->
        <xsl:variable name="text">
            <xsl:choose>
                <xsl:when test="$txt != ''">
                    <xsl:value-of select="$txt"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="."/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:variable name="ratio_">
            0.75
        </xsl:variable>
        <xsl:variable name="ratio" select="number(normalize-space($ratio_))"/>
        <fo:inline font-size="{$ratio * 100}%" role="SKIP">
                <xsl:if test="string-length($text) &gt; 0">
                    <xsl:variable name="smallCapsText">
                        <xsl:call-template name="recursiveSmallCaps">
                            <xsl:with-param name="text" select="$text"/>
                            <xsl:with-param name="ratio" select="$ratio"/>
                        </xsl:call-template>
                    </xsl:variable>
                    <!-- merge neighboring fo:inline -->
                    <xsl:for-each select="xalan:nodeset($smallCapsText)/node()">
                        <xsl:choose>
                            <xsl:when test="self::fo:inline and preceding-sibling::node()[1][self::fo:inline]"><!-- <xsl:copy-of select="."/> --></xsl:when>
                            <xsl:when test="self::fo:inline and @font-size">
                                <xsl:variable name="curr_pos" select="count(preceding-sibling::node()) + 1"/>
                                <!-- <curr_pos><xsl:value-of select="$curr_pos"/></curr_pos> -->
                                <xsl:variable name="next_text_" select="count(following-sibling::node()[not(local-name() = 'inline')][1]/preceding-sibling::node())"/>
                                <xsl:variable name="next_text">
                                    <xsl:choose>
                                        <xsl:when test="$next_text_ = 0">99999999</xsl:when>
                                        <xsl:otherwise><xsl:value-of select="$next_text_ + 1"/></xsl:otherwise>
                                    </xsl:choose>
                                </xsl:variable>
                                <!-- <next_text><xsl:value-of select="$next_text"/></next_text> -->
                                <fo:inline>
                                    <xsl:copy-of select="@*"/>
                                    <xsl:copy-of select="./node()"/>
                                    <xsl:for-each select="following-sibling::node()[position() &lt; $next_text - $curr_pos]"> <!-- [self::fo:inline] -->
                                        <xsl:copy-of select="./node()"/>
                                    </xsl:for-each>
                                </fo:inline>
                            </xsl:when>
                            <xsl:otherwise>
                                <xsl:copy-of select="."/>
                            </xsl:otherwise>
                        </xsl:choose>
                    </xsl:for-each>
                </xsl:if>
            </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="recursiveSmallCaps">
    <xsl:param name="text"/>
    <xsl:param name="ratio">0.75</xsl:param>
    <xsl:variable name="char" select="substring($text,1,1)"/>
    <!-- <xsl:variable name="upperCase" select="translate($char, $lower, $upper)"/> -->
        <xsl:variable name="upperCase" select="java:toUpperCase(java:java.lang.String.new($char))"/>
    <xsl:choose>
      <xsl:when test="$char=$upperCase">
        <fo:inline font-size="{100 div $ratio}%" role="SKIP">
          <xsl:value-of select="$upperCase"/>
        </fo:inline>
      </xsl:when>
      <xsl:otherwise>
        <xsl:value-of select="$upperCase"/>
      </xsl:otherwise>
    </xsl:choose>
    <xsl:if test="string-length($text) &gt; 1">
      <xsl:call-template name="recursiveSmallCaps">
        <xsl:with-param name="text" select="substring($text,2)"/>
        <xsl:with-param name="ratio" select="$ratio"/>
      </xsl:call-template>
    </xsl:if>
  </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'pagebreak']">
        <fo:block break-after="page"/>
        <fo:block> </fo:block>
        <fo:block break-after="page"/>
    </xsl:template>

    <!-- Example: <span style="font-family:&quot;Noto Sans JP&quot;">styled text</span> -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'span'][@style]" priority="2">
        <xsl:variable name="styles__">
            <xsl:call-template name="split">
                <xsl:with-param name="pText" select="concat(@style,';')"/>
                <xsl:with-param name="sep" select="';'"/>
            </xsl:call-template>
        </xsl:variable>

        <xsl:variable name="quot">"</xsl:variable>
        <xsl:variable name="styles_">
            <xsl:for-each select="xalan:nodeset($styles__)/item">
                <xsl:variable name="key" select="normalize-space(substring-before(., ':'))"/>
                <xsl:variable name="value_" select="normalize-space(substring-after(translate(.,$quot,''), ':'))"/>
                <xsl:variable name="value">
                    <xsl:choose>
                        <!-- if font-size is digits only -->
                        <xsl:when test="$key = 'font-size' and translate($value_, '0123456789', '') = ''"><xsl:value-of select="$value_"/>pt</xsl:when>
                        <xsl:otherwise>
                            <xsl:value-of select="$value_"/>
                        </xsl:otherwise>
                    </xsl:choose>
                </xsl:variable>
                <xsl:if test="$key = 'font-family' or $key = 'font-size' or $key = 'color'">
                    <style name="{$key}"><xsl:value-of select="$value"/></style>
                </xsl:if>
                <xsl:if test="$key = 'text-indent'">
                    <style name="padding-left"><xsl:value-of select="$value"/></style>
                </xsl:if>
            </xsl:for-each>
        </xsl:variable>
        <xsl:variable name="styles" select="xalan:nodeset($styles_)"/>
        <xsl:choose>
            <xsl:when test="$styles/style">
                <fo:inline>
                    <xsl:for-each select="$styles/style">
                        <xsl:attribute name="{@name}"><xsl:value-of select="."/></xsl:attribute>

                    </xsl:for-each>
                    <xsl:apply-templates/>
                </fo:inline>
            </xsl:when>
            <xsl:otherwise>
                <xsl:apply-templates/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template> <!-- END: span[@style] -->

    <!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'span']">
        <xsl:apply-templates/>
    </xsl:template>

    <!-- Don't break standard's numbers -->
    <!-- Example : <span class="stdpublisher">ISO</span> <span class="stddocNumber">10303</span>-<span class="stddocPartNumber">1</span>:<span class="stdyear">1994</span> -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'span'][@class = 'stdpublisher' or @class = 'stddocNumber' or @class = 'stddocPartNumber' or @class = 'stdyear']" priority="2">
        <xsl:choose>
            <xsl:when test="ancestor::*[local-name() = 'table']"><xsl:apply-templates/></xsl:when>
            <xsl:when test="following-sibling::*[2][local-name() = 'span'][@class = 'stdpublisher' or @class = 'stddocNumber' or @class = 'stddocPartNumber' or @class = 'stdyear']">
                <fo:inline keep-with-next.within-line="always"><xsl:apply-templates/></fo:inline>
            </xsl:when>
            <xsl:otherwise>
                <xsl:apply-templates/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="text()[not(ancestor::*[local-name() = 'table']) and preceding-sibling::*[1][local-name() = 'span'][@class = 'stdpublisher' or @class = 'stddocNumber' or @class = 'stddocPartNumber' or @class = 'stdyear'] and   following-sibling::*[1][local-name() = 'span'][@class = 'stdpublisher' or @class = 'stddocNumber' or @class = 'stddocPartNumber' or @class = 'stdyear']]" priority="2">
        <fo:inline keep-with-next.within-line="always"><xsl:value-of select="."/></fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'span'][contains(@style, 'text-transform:none')]//text()" priority="5">
        <xsl:value-of select="."/>
    </xsl:template>

    <!-- ========================= -->
    <!-- END Rich text formatting -->
    <!-- ========================= -->

    <!-- split string 'text' by 'separator' -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="tokenize">
        <xsl:param name="text"/>
        <xsl:param name="separator" select="' '"/>
        <xsl:choose>

            <xsl:when test="$isGenerateTableIF = 'true' and not(contains($text, $separator))">
                <word><xsl:value-of select="normalize-space($text)"/></word>
            </xsl:when>
            <xsl:when test="not(contains($text, $separator))">
                <word>
                    <xsl:variable name="len_str_tmp" select="string-length(normalize-space($text))"/>
                    <xsl:choose>
                        <xsl:when test="normalize-space(translate($text, 'X', '')) = ''"> <!-- special case for keep-together.within-line -->
                            <xsl:value-of select="$len_str_tmp"/>
                        </xsl:when>
                        <xsl:otherwise>
                            <xsl:variable name="str_no_en_chars" select="normalize-space(translate($text, $en_chars, ''))"/>
                            <xsl:variable name="len_str_no_en_chars" select="string-length($str_no_en_chars)"/>
                            <xsl:variable name="len_str">
                                <xsl:choose>
                                    <xsl:when test="normalize-space(translate($text, $upper, '')) = ''"> <!-- english word in CAPITAL letters -->
                                        <xsl:value-of select="$len_str_tmp * 1.5"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:value-of select="$len_str_tmp"/>
                                    </xsl:otherwise>
                                </xsl:choose>
                            </xsl:variable>

                            <!-- <xsl:if test="$len_str_no_en_chars div $len_str &gt; 0.8">
                                <xsl:message>
                                    div=<xsl:value-of select="$len_str_no_en_chars div $len_str"/>
                                    len_str=<xsl:value-of select="$len_str"/>
                                    len_str_no_en_chars=<xsl:value-of select="$len_str_no_en_chars"/>
                                </xsl:message>
                            </xsl:if> -->
                            <!-- <len_str_no_en_chars><xsl:value-of select="$len_str_no_en_chars"/></len_str_no_en_chars>
                            <len_str><xsl:value-of select="$len_str"/></len_str> -->
                            <xsl:choose>
                                <xsl:when test="$len_str_no_en_chars div $len_str &gt; 0.8"> <!-- means non-english string -->
                                    <xsl:value-of select="$len_str - $len_str_no_en_chars"/>
                                </xsl:when>
                                <xsl:otherwise>
                                    <xsl:value-of select="$len_str"/>
                                </xsl:otherwise>
                            </xsl:choose>
                        </xsl:otherwise>
                    </xsl:choose>
                </word>
            </xsl:when>
            <xsl:otherwise>
                <word>
                    <xsl:variable name="word" select="normalize-space(substring-before($text, $separator))"/>
                    <xsl:choose>
                        <xsl:when test="$isGenerateTableIF = 'true'">
                            <xsl:value-of select="$word"/>
                        </xsl:when>
                        <xsl:otherwise>
                            <xsl:value-of select="string-length($word)"/>
                        </xsl:otherwise>
                    </xsl:choose>
                </word>
                <xsl:call-template name="tokenize">
                    <xsl:with-param name="text" select="substring-after($text, $separator)"/>
                </xsl:call-template>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- split string 'text' by 'separator', enclosing in formatting tags -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="tokenize_with_tags">
        <xsl:param name="tags"/>
        <xsl:param name="text"/>
        <xsl:param name="separator" select="' '"/>
        <xsl:choose>

            <xsl:when test="not(contains($text, $separator))">
                <word>
                    <xsl:if test="ancestor::*[local-name() = 'p'][@from_dl = 'true']">
                        <xsl:text>
 </xsl:text> <!-- to add distance between dt and dd -->
                    </xsl:if>
                    <xsl:call-template name="enclose_text_in_tags">
                        <xsl:with-param name="text" select="normalize-space($text)"/>
                        <xsl:with-param name="tags" select="$tags"/>
                    </xsl:call-template>
                </word>
            </xsl:when>
            <xsl:otherwise>
                <word>
                    <xsl:if test="ancestor::*[local-name() = 'p'][@from_dl = 'true']">
                        <xsl:text>
 </xsl:text> <!-- to add distance between dt and dd -->
                    </xsl:if>
                    <xsl:call-template name="enclose_text_in_tags">
                        <xsl:with-param name="text" select="normalize-space(substring-before($text, $separator))"/>
                        <xsl:with-param name="tags" select="$tags"/>
                    </xsl:call-template>
                </word>
                <xsl:call-template name="tokenize_with_tags">
                    <xsl:with-param name="text" select="substring-after($text, $separator)"/>
                    <xsl:with-param name="tags" select="$tags"/>
                </xsl:call-template>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="enclose_text_in_tags">
        <xsl:param name="text"/>
        <xsl:param name="tags"/>
        <xsl:param name="num">1</xsl:param> <!-- default (start) value -->

        <xsl:variable name="tag_name" select="normalize-space(xalan:nodeset($tags)//tag[$num])"/>

        <xsl:choose>
            <xsl:when test="$tag_name = ''"><xsl:value-of select="$text"/></xsl:when>
            <xsl:otherwise>
                <xsl:element name="{$tag_name}">
                    <xsl:call-template name="enclose_text_in_tags">
                        <xsl:with-param name="text" select="$text"/>
                        <xsl:with-param name="tags" select="$tags"/>
                        <xsl:with-param name="num" select="$num + 1"/>
                    </xsl:call-template>
                </xsl:element>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- get max value in array -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="max_length">
        <xsl:param name="words"/>
        <xsl:for-each select="$words//word">
                <xsl:sort select="." data-type="number" order="descending"/>
                <xsl:if test="position()=1">
                        <xsl:value-of select="."/>
                </xsl:if>
        </xsl:for-each>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="add-zero-spaces-java">
        <xsl:param name="text" select="."/>

        <!-- add zero-width space (#x200B) after dot with next non-digit -->
        <xsl:variable name="text1" select="java:replaceAll(java:java.lang.String.new($text),'(\.)([^\d\s])','$1​$2')"/>
        <!-- add zero-width space (#x200B) after characters: dash, equal, underscore, em dash, thin space, arrow right, ;   -->
        <xsl:variable name="text2" select="java:replaceAll(java:java.lang.String.new($text1),'(-|=|_|—| |→|;)','$1​')"/>
        <!-- add zero-width space (#x200B) after characters: colon, if there aren't digits after -->
        <xsl:variable name="text3" select="java:replaceAll(java:java.lang.String.new($text2),'(:)(\D)','$1​$2')"/>
        <!-- add zero-width space (#x200B) after characters: 'great than' -->
        <xsl:variable name="text4" select="java:replaceAll(java:java.lang.String.new($text3), '(\u003e)(?!\u003e)', '$1​')"/><!-- negative lookahead: 'great than' not followed by 'great than' -->
        <!-- add zero-width space (#x200B) before characters: 'less than' -->
        <xsl:variable name="text5" select="java:replaceAll(java:java.lang.String.new($text4), '(?&lt;!\u003c)(\u003c)', '​$1')"/> <!-- (?<!\u003c)(\u003c) --> <!-- negative lookbehind: 'less than' not preceeded by 'less than' -->
        <!-- add zero-width space (#x200B) before character: { -->
        <xsl:variable name="text6" select="java:replaceAll(java:java.lang.String.new($text5), '(?&lt;!\W)(\{)', '​$1')"/> <!-- negative lookbehind: '{' not preceeded by 'punctuation char' -->
        <!-- add zero-width space (#x200B) after character: , -->
        <xsl:variable name="text7" select="java:replaceAll(java:java.lang.String.new($text6), '(\,)(?!\d)', '$1​')"/> <!-- negative lookahead: ',' not followed by digit -->
        <!-- add zero-width space (#x200B) after character: '/' -->
        <xsl:variable name="text8" select="java:replaceAll(java:java.lang.String.new($text7), '(\u002f)(?!\u002f)', '$1​')"/><!-- negative lookahead: '/' not followed by '/' -->

        <xsl:variable name="text9">
            <xsl:choose>
                <xsl:when test="$isGenerateTableIF = 'true'">
                    <xsl:value-of select="java:replaceAll(java:java.lang.String.new($text8), '([\u3000-\u9FFF])', '$1​')"/> <!-- 3000 - CJK Symbols and Punctuation ... 9FFF CJK Unified Ideographs-->
                </xsl:when>
                <xsl:otherwise><xsl:value-of select="$text8"/></xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <!-- replace sequence #x200B to one &#x200B -->
        <xsl:variable name="text10" select="java:replaceAll(java:java.lang.String.new($text9), '\u200b{2,}', '​')"/>

        <!-- replace sequence #x200B and space TO space -->
        <xsl:variable name="text11" select="java:replaceAll(java:java.lang.String.new($text10), '\u200b ', ' ')"/>

        <xsl:value-of select="$text11"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="add-zero-spaces-link-java">
        <xsl:param name="text" select="."/>

        <xsl:value-of select="java:replaceAll(java:java.lang.String.new($text), $regex_url_start, '$1')"/> <!-- http://. https:// or www. -->
        <xsl:variable name="url_continue" select="java:replaceAll(java:java.lang.String.new($text), $regex_url_start, '$2')"/>
        <!-- add zero-width space (#x200B) after characters: dash, dot, colon, equal, underscore, em dash, thin space, comma, slash, @  -->
        <xsl:variable name="url" select="java:replaceAll(java:java.lang.String.new($url_continue),'(-|\.|:|=|_|—| |,|/|@)','$1​')"/>

        <!-- replace sequence #x200B to one &#x200B -->
        <xsl:variable name="url2" select="java:replaceAll(java:java.lang.String.new($url), '\u200b{2,}', '​')"/>

        <!-- remove zero-width space at the end -->
        <xsl:value-of select="java:replaceAll(java:java.lang.String.new($url2), '​$', '')"/>
    </xsl:template>

    <!-- add zero space after dash character (for table's entries) -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="add-zero-spaces">
        <xsl:param name="text" select="."/>
        <xsl:variable name="zero-space-after-chars">-</xsl:variable>
        <xsl:variable name="zero-space-after-dot">.</xsl:variable>
        <xsl:variable name="zero-space-after-colon">:</xsl:variable>
        <xsl:variable name="zero-space-after-equal">=</xsl:variable>
        <xsl:variable name="zero-space-after-underscore">_</xsl:variable>
        <xsl:variable name="zero-space">​</xsl:variable>
        <xsl:choose>
            <xsl:when test="contains($text, $zero-space-after-chars)">
                <xsl:value-of select="substring-before($text, $zero-space-after-chars)"/>
                <xsl:value-of select="$zero-space-after-chars"/>
                <xsl:value-of select="$zero-space"/>
                <xsl:call-template name="add-zero-spaces">
                    <xsl:with-param name="text" select="substring-after($text, $zero-space-after-chars)"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:when test="contains($text, $zero-space-after-dot)">
                <xsl:value-of select="substring-before($text, $zero-space-after-dot)"/>
                <xsl:value-of select="$zero-space-after-dot"/>
                <xsl:value-of select="$zero-space"/>
                <xsl:call-template name="add-zero-spaces">
                    <xsl:with-param name="text" select="substring-after($text, $zero-space-after-dot)"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:when test="contains($text, $zero-space-after-colon)">
                <xsl:value-of select="substring-before($text, $zero-space-after-colon)"/>
                <xsl:value-of select="$zero-space-after-colon"/>
                <xsl:value-of select="$zero-space"/>
                <xsl:call-template name="add-zero-spaces">
                    <xsl:with-param name="text" select="substring-after($text, $zero-space-after-colon)"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:when test="contains($text, $zero-space-after-equal)">
                <xsl:value-of select="substring-before($text, $zero-space-after-equal)"/>
                <xsl:value-of select="$zero-space-after-equal"/>
                <xsl:value-of select="$zero-space"/>
                <xsl:call-template name="add-zero-spaces">
                    <xsl:with-param name="text" select="substring-after($text, $zero-space-after-equal)"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:when test="contains($text, $zero-space-after-underscore)">
                <xsl:value-of select="substring-before($text, $zero-space-after-underscore)"/>
                <xsl:value-of select="$zero-space-after-underscore"/>
                <xsl:value-of select="$zero-space"/>
                <xsl:call-template name="add-zero-spaces">
                    <xsl:with-param name="text" select="substring-after($text, $zero-space-after-underscore)"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:otherwise>
                <xsl:value-of select="$text"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="add-zero-spaces-equal">
        <xsl:param name="text" select="."/>
        <xsl:variable name="zero-space-after-equals">==========</xsl:variable>
        <xsl:variable name="regex_zero-space-after-equals">(==========)</xsl:variable>
        <xsl:variable name="zero-space-after-equal">=</xsl:variable>
        <xsl:variable name="regex_zero-space-after-equal">(=)</xsl:variable>
        <xsl:variable name="zero-space">​</xsl:variable>
        <xsl:choose>
            <xsl:when test="contains($text, $zero-space-after-equals)">
                <!-- <xsl:value-of select="substring-before($text, $zero-space-after-equals)"/>
                <xsl:value-of select="$zero-space-after-equals"/>
                <xsl:value-of select="$zero-space"/>
                <xsl:call-template name="add-zero-spaces-equal">
                    <xsl:with-param name="text" select="substring-after($text, $zero-space-after-equals)"/>
                </xsl:call-template> -->
                <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),$regex_zero-space-after-equals,concat('$1',$zero_width_space))"/>
            </xsl:when>
            <xsl:when test="contains($text, $zero-space-after-equal)">
                <!-- <xsl:value-of select="substring-before($text, $zero-space-after-equal)"/>
                <xsl:value-of select="$zero-space-after-equal"/>
                <xsl:value-of select="$zero-space"/>
                <xsl:call-template name="add-zero-spaces-equal">
                    <xsl:with-param name="text" select="substring-after($text, $zero-space-after-equal)"/>
                </xsl:call-template> -->
                <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),$regex_zero-space-after-equal,concat('$1',$zero_width_space))"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:value-of select="$text"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- Table normalization (colspan,rowspan processing for adding TDs) for column width calculation -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getSimpleTable">
        <xsl:param name="id"/>

        <!-- <test0>
            <xsl:copy-of select="."/>
        </test0> -->

        <xsl:variable name="simple-table">

            <!-- Step 0. replace <br/> to <p>...</p> -->
            <xsl:variable name="table_without_br">
                <xsl:apply-templates mode="table-without-br"/>
            </xsl:variable>

            <!-- Step 1. colspan processing -->
            <xsl:variable name="simple-table-colspan">
                <tbody>
                    <xsl:apply-templates select="xalan:nodeset($table_without_br)" mode="simple-table-colspan"/>
                </tbody>
            </xsl:variable>

            <!-- Step 2. rowspan processing -->
            <xsl:variable name="simple-table-rowspan">
                <xsl:apply-templates select="xalan:nodeset($simple-table-colspan)" mode="simple-table-rowspan"/>
            </xsl:variable>

            <!-- Step 3: add id to each cell -->
            <!-- add <word>...</word> for each word, image, math -->
            <xsl:variable name="simple-table-id">
                <xsl:apply-templates select="xalan:nodeset($simple-table-rowspan)" mode="simple-table-id">
                    <xsl:with-param name="id" select="$id"/>
                </xsl:apply-templates>
            </xsl:variable>

            <xsl:copy-of select="xalan:nodeset($simple-table-id)"/>

        </xsl:variable>
        <xsl:copy-of select="$simple-table"/>
    </xsl:template>

    <!-- ================================== -->
    <!-- Step 0. replace <br/> to <p>...</p> -->
    <!-- ================================== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="table-without-br">
        <xsl:copy>
                <xsl:apply-templates select="@*|node()" mode="table-without-br"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='th' or local-name() = 'td'][not(*[local-name()='br']) and not(*[local-name()='p']) and not(*[local-name()='sourcecode']) and not(*[local-name()='ul']) and not(*[local-name()='ol'])]" mode="table-without-br">
        <xsl:copy>
            <xsl:copy-of select="@*"/>
            <p>
                <xsl:copy-of select="node()"/>
            </p>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='th' or local-name()='td'][*[local-name()='br']]" mode="table-without-br">
        <xsl:copy>
            <xsl:copy-of select="@*"/>
            <xsl:for-each select="*[local-name()='br']">
                <xsl:variable name="current_id" select="generate-id()"/>
                <p>
                    <xsl:for-each select="preceding-sibling::node()[following-sibling::*[local-name() = 'br'][1][generate-id() = $current_id]][not(local-name() = 'br')]">
                        <xsl:copy-of select="."/>
                    </xsl:for-each>
                </p>
                <xsl:if test="not(following-sibling::*[local-name() = 'br'])">
                    <p>
                        <xsl:for-each select="following-sibling::node()">
                            <xsl:copy-of select="."/>
                        </xsl:for-each>
                    </p>
                </xsl:if>
            </xsl:for-each>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='th' or local-name()='td']/*[local-name() = 'p'][*[local-name()='br']]" mode="table-without-br">
        <xsl:for-each select="*[local-name()='br']">
            <xsl:variable name="current_id" select="generate-id()"/>
            <p>
                <xsl:for-each select="preceding-sibling::node()[following-sibling::*[local-name() = 'br'][1][generate-id() = $current_id]][not(local-name() = 'br')]">
                    <xsl:copy-of select="."/>
                </xsl:for-each>
            </p>
            <xsl:if test="not(following-sibling::*[local-name() = 'br'])">
                <p>
                    <xsl:for-each select="following-sibling::node()">
                        <xsl:copy-of select="."/>
                    </xsl:for-each>
                </p>
            </xsl:if>
        </xsl:for-each>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='th' or local-name()='td']/*[local-name() = 'sourcecode']" mode="table-without-br">
        <xsl:apply-templates mode="table-without-br"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='th' or local-name()='td']/*[local-name() = 'sourcecode']/text()[contains(., '&#13;') or contains(., '&#10;')]" mode="table-without-br">

        <xsl:variable name="sep">###SOURCECODE_NEWLINE###</xsl:variable>
        <xsl:variable name="sourcecode_text" select="java:replaceAll(java:java.lang.String.new(.),'(&#13;&#10;|&#13;|&#10;)', $sep)"/>
        <xsl:variable name="items">
            <xsl:call-template name="split">
                <xsl:with-param name="pText" select="$sourcecode_text"/>
                <xsl:with-param name="sep" select="$sep"/>
                <xsl:with-param name="normalize-space">false</xsl:with-param>
            </xsl:call-template>
        </xsl:variable>
        <xsl:for-each select="xalan:nodeset($items)/*">
            <p>
                <sourcecode><xsl:copy-of select="node()"/></sourcecode>
            </p>
        </xsl:for-each>
    </xsl:template>

    <!-- remove redundant white spaces -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="text()[not(ancestor::*[local-name() = 'sourcecode'])]" mode="table-without-br">
        <xsl:variable name="text" select="translate(.,'&#9;&#10;&#13;','')"/>
        <xsl:value-of select="java:replaceAll(java:java.lang.String.new($text),' {2,}',' ')"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='th' or local-name()='td']//*[local-name() = 'ol' or local-name() = 'ul']" mode="table-without-br">
        <xsl:apply-templates mode="table-without-br"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='th' or local-name()='td']//*[local-name() = 'li']" mode="table-without-br">
        <xsl:apply-templates mode="table-without-br"/>
    </xsl:template>

    <!-- mode="table-without-br" -->
    <!-- ================================== -->
    <!-- END: Step 0. replace <br/> to <p>...</p> -->
    <!-- ================================== -->

    <!-- ===================== -->
    <!-- 1. mode "simple-table-colspan" 
            1.1. remove thead, tbody, fn
            1.2. rename th -> td
            1.3. repeating N td with colspan=N
            1.4. remove namespace
            1.5. remove @colspan attribute
            1.6. add @divide attribute for divide text width in further processing 
    -->
    <!-- ===================== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='thead'] | *[local-name()='tbody']" mode="simple-table-colspan">
        <xsl:apply-templates mode="simple-table-colspan"/>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='fn']" mode="simple-table-colspan"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='th'] | *[local-name()='td']" mode="simple-table-colspan">
        <xsl:choose>
            <xsl:when test="@colspan">
                <xsl:variable name="td">
                    <xsl:element name="{local-name()}">
                        <xsl:attribute name="divide"><xsl:value-of select="@colspan"/></xsl:attribute>
                        <xsl:if test="local-name()='th'">
                            <xsl:attribute name="font-weight">bold</xsl:attribute>
                        </xsl:if>
                        <xsl:apply-templates select="@*" mode="simple-table-colspan"/>
                        <xsl:apply-templates mode="simple-table-colspan"/>
                    </xsl:element>
                </xsl:variable>
                <xsl:call-template name="repeatNode">
                    <xsl:with-param name="count" select="@colspan"/>
                    <xsl:with-param name="node" select="$td"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:otherwise>
                <xsl:element name="{local-name()}">
                    <xsl:apply-templates select="@*" mode="simple-table-colspan"/>
                    <xsl:if test="local-name()='th'">
                        <xsl:attribute name="font-weight">bold</xsl:attribute>
                    </xsl:if>
                    <xsl:apply-templates mode="simple-table-colspan"/>
                </xsl:element>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@colspan" mode="simple-table-colspan"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='tr']" mode="simple-table-colspan">
        <xsl:element name="tr">
            <xsl:apply-templates select="@*" mode="simple-table-colspan"/>
            <xsl:apply-templates mode="simple-table-colspan"/>
        </xsl:element>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="simple-table-colspan">
        <xsl:copy>
                <xsl:apply-templates select="@*|node()" mode="simple-table-colspan"/>
        </xsl:copy>
    </xsl:template>

    <!-- repeat node 'count' times -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="repeatNode">
        <xsl:param name="count"/>
        <xsl:param name="node"/>

        <xsl:if test="$count &gt; 0">
            <xsl:call-template name="repeatNode">
                <xsl:with-param name="count" select="$count - 1"/>
                <xsl:with-param name="node" select="$node"/>
            </xsl:call-template>
            <xsl:copy-of select="$node"/>
        </xsl:if>
    </xsl:template>
    <!-- End mode simple-table-colspan  -->
    <!-- ===================== -->
    <!-- ===================== -->

    <!-- ===================== -->
    <!-- 2. mode "simple-table-rowspan" 
    Row span processing, more information http://andrewjwelch.com/code/xslt/table/table-normalization.html    -->
    <!-- ===================== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="simple-table-rowspan">
        <xsl:copy>
                <xsl:apply-templates select="@*|node()" mode="simple-table-rowspan"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="tbody" mode="simple-table-rowspan">
        <xsl:copy>
                <xsl:copy-of select="tr[1]"/>
                <xsl:apply-templates select="tr[2]" mode="simple-table-rowspan">
                        <xsl:with-param name="previousRow" select="tr[1]"/>
                </xsl:apply-templates>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="tr" mode="simple-table-rowspan">
        <xsl:param name="previousRow"/>
        <xsl:variable name="currentRow" select="."/>

        <xsl:variable name="normalizedTDs">
                <xsl:for-each select="xalan:nodeset($previousRow)//*[self::td or self::th]">
                        <xsl:choose>
                                <xsl:when test="@rowspan &gt; 1">
                                        <xsl:copy>
                                                <xsl:attribute name="rowspan">
                                                        <xsl:value-of select="@rowspan - 1"/>
                                                </xsl:attribute>
                                                <xsl:copy-of select="@*[not(name() = 'rowspan')]"/>
                                                <xsl:copy-of select="node()"/>
                                        </xsl:copy>
                                </xsl:when>
                                <xsl:otherwise>
                                        <xsl:copy-of select="$currentRow/*[self::td or self::th][1 + count(current()/preceding-sibling::*[self::td or self::th][not(@rowspan) or (@rowspan = 1)])]"/>
                                </xsl:otherwise>
                        </xsl:choose>
                </xsl:for-each>
        </xsl:variable>

        <xsl:variable name="newRow">
                <xsl:copy>
                        <xsl:copy-of select="$currentRow/@*"/>
                        <xsl:copy-of select="xalan:nodeset($normalizedTDs)"/>
                </xsl:copy>
        </xsl:variable>
        <xsl:copy-of select="$newRow"/>

        <!-- optimize to prevent StackOverflowError, just copy next 'tr' -->
        <xsl:variable name="currrow_num" select="count(preceding-sibling::tr) + 1"/>
        <xsl:variable name="nextrow_without_rowspan_" select="count(following-sibling::tr[*[@rowspan and @rowspan != 1]][1]/preceding-sibling::tr) + 1"/>
        <xsl:variable name="nextrow_without_rowspan" select="$nextrow_without_rowspan_ - $currrow_num"/>
        <xsl:choose>
            <xsl:when test="not(xalan:nodeset($newRow)/*/*[@rowspan and @rowspan != 1]) and $nextrow_without_rowspan &lt;= 0">
                <xsl:copy-of select="following-sibling::tr"/>
            </xsl:when>
            <!-- <xsl:when test="xalan:nodeset($newRow)/*[not(@rowspan) or (@rowspan = 1)] and $nextrow_without_rowspan &gt; 0">
                <xsl:copy-of select="following-sibling::tr[position() &lt;= $nextrow_without_rowspan]"/>
                
                <xsl:copy-of select="following-sibling::tr[$nextrow_without_rowspan + 1]"/>
                <xsl:apply-templates select="following-sibling::tr[$nextrow_without_rowspan + 2]" mode="simple-table-rowspan">
                        <xsl:with-param name="previousRow" select="following-sibling::tr[$nextrow_without_rowspan + 1]"/>
                </xsl:apply-templates>
            </xsl:when> -->
            <xsl:otherwise>
                <xsl:apply-templates select="following-sibling::tr[1]" mode="simple-table-rowspan">
                        <xsl:with-param name="previousRow" select="$newRow"/>
                </xsl:apply-templates>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>
    <!-- End mode simple-table-rowspan  -->

    <!-- Step 3: add id for each cell -->
    <!-- mode: simple-table-id -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="/" mode="simple-table-id">
        <xsl:param name="id"/>
        <xsl:variable name="id_prefixed" select="concat('table_if_',$id)"/> <!-- table id prefixed by 'table_if_' to simple search in IF  -->
        <xsl:apply-templates select="@*|node()" mode="simple-table-id">
            <xsl:with-param name="id" select="$id_prefixed"/>
        </xsl:apply-templates>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="simple-table-id">
        <xsl:param name="id"/>
        <xsl:copy>
                <xsl:apply-templates select="@*|node()" mode="simple-table-id">
                    <xsl:with-param name="id" select="$id"/>
                </xsl:apply-templates>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='tbody']" mode="simple-table-id">
        <xsl:param name="id"/>
        <xsl:copy>
            <xsl:copy-of select="@*"/>
            <xsl:attribute name="id"><xsl:value-of select="$id"/></xsl:attribute>
            <xsl:apply-templates select="node()" mode="simple-table-id">
                <xsl:with-param name="id" select="$id"/>
            </xsl:apply-templates>
        </xsl:copy>
    </xsl:template>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="font_main_root_style">
        <root-style xsl:use-attribute-sets="root-style">
        </root-style>
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="font_main_root_style_font_family" select="xalan:nodeset($font_main_root_style)/root-style/@font-family"/>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="font_main">
        <xsl:choose>
            <xsl:when test="contains($font_main_root_style_font_family, ',')"><xsl:value-of select="substring-before($font_main_root_style_font_family, ',')"/></xsl:when>
            <xsl:otherwise><xsl:value-of select="$font_main_root_style_font_family"/></xsl:otherwise>
        </xsl:choose>
    </xsl:variable>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='th' or local-name()='td']" mode="simple-table-id">
        <xsl:param name="id"/>
        <xsl:copy>
            <xsl:copy-of select="@*"/>
            <xsl:variable name="row_number" select="count(../preceding-sibling::*) + 1"/>
            <xsl:variable name="col_number" select="count(preceding-sibling::*) + 1"/>
            <xsl:variable name="divide">
                <xsl:choose>
                    <xsl:when test="@divide"><xsl:value-of select="@divide"/></xsl:when>
                    <xsl:otherwise>1</xsl:otherwise>
                </xsl:choose>
            </xsl:variable>
            <xsl:attribute name="id">
                <xsl:value-of select="concat($id,'@',$row_number,'_',$col_number,'_',$divide)"/>
            </xsl:attribute>

            <xsl:for-each select="*[local-name() = 'p']">
                <xsl:copy>
                    <xsl:copy-of select="@*"/>
                    <xsl:variable name="p_num" select="count(preceding-sibling::*[local-name() = 'p']) + 1"/>
                    <xsl:attribute name="id">
                        <xsl:value-of select="concat($id,'@',$row_number,'_',$col_number,'_p_',$p_num,'_',$divide)"/>
                    </xsl:attribute>

                    <!-- <xsl:copy-of select="node()" /> -->
                    <xsl:apply-templates mode="simple-table-noid"/>

                </xsl:copy>
            </xsl:for-each>

            <xsl:if test="$isGenerateTableIF = 'true'"> <!-- split each paragraph to words, image, math -->

                <xsl:variable name="td_text">
                    <xsl:apply-templates select="." mode="td_text_with_formatting"/>
                </xsl:variable>

                <!-- td_text='<xsl:copy-of select="$td_text"/>' -->

                <xsl:variable name="words_with_width">
                    <!-- calculate width for 'word' which contain text only (without formatting tags inside) -->
                    <xsl:for-each select="xalan:nodeset($td_text)//*[local-name() = 'word'][normalize-space() != ''][not(*)]">
                        <xsl:copy>
                            <xsl:copy-of select="@*"/>
                            <xsl:attribute name="width">
                                <xsl:value-of select="java:org.metanorma.fop.Util.getStringWidth(., $font_main)"/> <!-- Example: 'Times New Roman' -->
                            </xsl:attribute>
                            <xsl:copy-of select="node()"/>
                        </xsl:copy>
                    </xsl:for-each>
                </xsl:variable>

                <xsl:variable name="words_with_width_sorted">
                    <xsl:for-each select="xalan:nodeset($words_with_width)//*[local-name() = 'word']">
                        <xsl:sort select="@width" data-type="number" order="descending"/>
                        <!-- select word maximal width only -->
                        <xsl:if test="position() = 1">
                            <xsl:copy-of select="."/>
                        </xsl:if>
                    </xsl:for-each>
                    <!-- add 'word' with formatting tags inside -->
                    <xsl:for-each select="xalan:nodeset($td_text)//*[local-name() = 'word'][normalize-space() != ''][*]">
                        <xsl:copy-of select="."/>
                    </xsl:for-each>
                </xsl:variable>

                <xsl:variable name="words">
                    <xsl:for-each select=".//*[local-name() = 'image' or local-name() = 'stem']">
                        <word>
                            <xsl:copy-of select="."/>
                        </word>
                    </xsl:for-each>

                    <xsl:for-each select="xalan:nodeset($words_with_width_sorted)//*[local-name() = 'word'][normalize-space() != '']">
                        <xsl:copy-of select="."/>
                    </xsl:for-each>
                    <!-- <xsl:for-each select="xalan:nodeset($td_text)//*[local-name() = 'word'][normalize-space() != '']">
                        <xsl:copy-of select="."/>
                    </xsl:for-each> -->

                </xsl:variable>

                <xsl:for-each select="xalan:nodeset($words)/word">
                    <xsl:variable name="num" select="count(preceding-sibling::word) + 1"/>
                    <xsl:copy>
                        <xsl:attribute name="id">
                            <xsl:value-of select="concat($id,'@',$row_number,'_',$col_number,'_word_',$num,'_',$divide)"/>
                        </xsl:attribute>
                        <xsl:copy-of select="node()"/>
                    </xsl:copy>
                </xsl:for-each>
            </xsl:if>
        </xsl:copy>

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='th' or local-name()='td']/*[local-name() = 'p']//*" mode="simple-table-noid">
        <xsl:copy>
            <xsl:choose>
                <xsl:when test="$isGenerateTableIF = 'true'">
                    <xsl:copy-of select="@*[local-name() != 'id']"/> <!-- to prevent repeat id in colspan/rowspan cells -->
                    <!-- <xsl:if test="local-name() = 'dl' or local-name() = 'table'">
                        <xsl:copy-of select="@id"/>
                    </xsl:if> -->
                </xsl:when>
                <xsl:otherwise>
                    <xsl:copy-of select="@*"/>
                </xsl:otherwise>
            </xsl:choose>
            <xsl:apply-templates select="node()" mode="simple-table-noid"/>
        </xsl:copy>
    </xsl:template>

    <!-- End mode: simple-table-id -->
    <!-- ===================== -->
    <!-- ===================== -->

    <!-- =============================== -->
    <!-- mode="td_text_with_formatting" -->
    <!-- =============================== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="td_text_with_formatting">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()" mode="td_text_with_formatting"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'stem' or local-name() = 'image']" mode="td_text_with_formatting"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'keep-together_within-line']/text()" mode="td_text_with_formatting">
        <xsl:variable name="formatting_tags">
            <xsl:call-template name="getFormattingTags"/>
        </xsl:variable>
        <word>
            <xsl:call-template name="enclose_text_in_tags">
                <xsl:with-param name="text" select="normalize-space(.)"/>
                <xsl:with-param name="tags" select="$formatting_tags"/>
            </xsl:call-template>
        </word>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() != 'keep-together_within-line']/text()" mode="td_text_with_formatting">

        <xsl:variable name="td_text" select="."/>

        <xsl:variable name="string_with_added_zerospaces">
            <xsl:call-template name="add-zero-spaces-java">
                <xsl:with-param name="text" select="$td_text"/>
            </xsl:call-template>
        </xsl:variable>

        <xsl:variable name="formatting_tags">
            <xsl:call-template name="getFormattingTags"/>
        </xsl:variable>

        <!-- <word>text</word> -->
        <xsl:call-template name="tokenize_with_tags">
            <xsl:with-param name="tags" select="$formatting_tags"/>
            <xsl:with-param name="text" select="normalize-space(translate($string_with_added_zerospaces, '​­', '  '))"/> <!-- replace zero-width-space and soft-hyphen to space -->
        </xsl:call-template>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'link'][normalize-space() = '']" mode="td_text_with_formatting">
        <xsl:variable name="link">
            <link_updated>
                <xsl:variable name="target_text">
                    <xsl:choose>
                        <xsl:when test="starts-with(normalize-space(@target), 'mailto:')">
                            <xsl:value-of select="normalize-space(substring-after(@target, 'mailto:'))"/>
                        </xsl:when>
                        <xsl:otherwise>
                            <xsl:value-of select="normalize-space(@target)"/>
                        </xsl:otherwise>
                    </xsl:choose>
                </xsl:variable>
                <xsl:value-of select="$target_text"/>
            </link_updated>
        </xsl:variable>
        <xsl:for-each select="xalan:nodeset($link)/*">
            <xsl:apply-templates mode="td_text_with_formatting"/>
        </xsl:for-each>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getFormattingTags">
        <tags>
            <xsl:if test="ancestor::*[local-name() = 'strong']"><tag>strong</tag></xsl:if>
            <xsl:if test="ancestor::*[local-name() = 'em']"><tag>em</tag></xsl:if>
            <xsl:if test="ancestor::*[local-name() = 'sub']"><tag>sub</tag></xsl:if>
            <xsl:if test="ancestor::*[local-name() = 'sup']"><tag>sup</tag></xsl:if>
            <xsl:if test="ancestor::*[local-name() = 'tt']"><tag>tt</tag></xsl:if>
            <xsl:if test="ancestor::*[local-name() = 'sourcecode']"><tag>sourcecode</tag></xsl:if>
            <xsl:if test="ancestor::*[local-name() = 'keep-together_within-line']"><tag>keep-together_within-line</tag></xsl:if>
        </tags>
    </xsl:template>
    <!-- =============================== -->
    <!-- END mode="td_text_with_formatting" -->
    <!-- =============================== -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getLang">
        <xsl:variable name="language_current" select="normalize-space(//*[local-name()='bibdata']//*[local-name()='language'][@current = 'true'])"/>
        <xsl:variable name="language">
            <xsl:choose>
                <xsl:when test="$language_current != ''">
                    <xsl:value-of select="$language_current"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:variable name="language_current_2" select="normalize-space(xalan:nodeset($bibdata)//*[local-name()='bibdata']//*[local-name()='language'][@current = 'true'])"/>
                    <xsl:choose>
                        <xsl:when test="$language_current_2 != ''">
                            <xsl:value-of select="$language_current_2"/>
                        </xsl:when>
                        <xsl:otherwise>
                            <xsl:variable name="language_current_3" select="normalize-space(//*[local-name()='bibdata']//*[local-name()='language'])"/>
                            <xsl:choose>
                                <xsl:when test="$language_current_3 != ''">
                                    <xsl:value-of select="$language_current_3"/>
                                </xsl:when>
                                <xsl:otherwise>en</xsl:otherwise>
                            </xsl:choose>
                        </xsl:otherwise>
                    </xsl:choose>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:choose>
            <xsl:when test="$language = 'English'">en</xsl:when>
            <xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getLang_fromCurrentNode">
        <xsl:variable name="language_current" select="normalize-space(.//*[local-name()='bibdata']//*[local-name()='language'][@current = 'true'])"/>
        <xsl:variable name="language">
            <xsl:choose>
                <xsl:when test="$language_current != ''">
                    <xsl:value-of select="$language_current"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:variable name="language_current_2" select="normalize-space(xalan:nodeset($bibdata)//*[local-name()='bibdata']//*[local-name()='language'][@current = 'true'])"/>
                    <xsl:choose>
                        <xsl:when test="$language_current_2 != ''">
                            <xsl:value-of select="$language_current_2"/>
                        </xsl:when>
                        <xsl:otherwise>
                            <xsl:value-of select=".//*[local-name()='bibdata']//*[local-name()='language']"/>
                        </xsl:otherwise>
                    </xsl:choose>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:choose>
            <xsl:when test="$language = 'English'">en</xsl:when>
            <xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="capitalizeWords">
        <xsl:param name="str"/>
        <xsl:variable name="str2" select="translate($str, '-', ' ')"/>
        <xsl:choose>
            <xsl:when test="contains($str2, ' ')">
                <xsl:variable name="substr" select="substring-before($str2, ' ')"/>
                <xsl:call-template name="capitalize">
                    <xsl:with-param name="str" select="$substr"/>
                </xsl:call-template>
                <xsl:text> </xsl:text>
                <xsl:call-template name="capitalizeWords">
                    <xsl:with-param name="str" select="substring-after($str2, ' ')"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:otherwise>
                <xsl:call-template name="capitalize">
                    <xsl:with-param name="str" select="$str2"/>
                </xsl:call-template>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="capitalize">
        <xsl:param name="str"/>
        <xsl:value-of select="java:toUpperCase(java:java.lang.String.new(substring($str, 1, 1)))"/>
        <xsl:value-of select="substring($str, 2)"/>
    </xsl:template>

    <!-- ======================================= -->
    <!-- math -->
    <!-- ======================================= -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:math">
        <xsl:variable name="isAdded" select="@added"/>
        <xsl:variable name="isDeleted" select="@deleted"/>

        <fo:inline xsl:use-attribute-sets="mathml-style">

            <!-- DEBUG -->
            <!-- <xsl:copy-of select="ancestor::*[local-name() = 'stem']/@font-family"/> -->

            <xsl:call-template name="refine_mathml-style"/>

            <xsl:if test="$isGenerateTableIF = 'true' and ancestor::*[local-name() = 'td' or local-name() = 'th' or local-name() = 'dl'] and not(following-sibling::node()[not(self::comment())][normalize-space() != ''])"> <!-- math in table cell, and math is last element -->
                <!-- <xsl:attribute name="padding-right">1mm</xsl:attribute> -->
            </xsl:if>

            <xsl:call-template name="setTrackChangesStyles">
                <xsl:with-param name="isAdded" select="$isAdded"/>
                <xsl:with-param name="isDeleted" select="$isDeleted"/>
            </xsl:call-template>

            <xsl:if test="$add_math_as_text = 'true'">
                <!-- insert helper tag -->
                <!-- set unique font-size (fiction) -->
                <xsl:variable name="font-size_sfx"><xsl:number level="any"/></xsl:variable>
                <fo:inline color="white" font-size="1.{$font-size_sfx}pt" font-style="normal" font-weight="normal"><xsl:value-of select="$zero_width_space"/></fo:inline> <!-- zero width space -->
            </xsl:if>

            <xsl:variable name="mathml_content">
                <xsl:apply-templates select="." mode="mathml_actual_text"/>
            </xsl:variable>

                    <xsl:call-template name="mathml_instream_object">
                        <xsl:with-param name="mathml_content" select="$mathml_content"/>
                    </xsl:call-template>

        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getMathml_comment_text">
        <xsl:variable name="comment_text_following" select="following-sibling::node()[1][self::comment()]"/>
        <xsl:variable name="comment_text_">
            <xsl:choose>
                <xsl:when test="normalize-space($comment_text_following) != ''">
                    <xsl:value-of select="$comment_text_following"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="normalize-space(translate(.,' ⁢','  '))"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:variable name="comment_text_2" select="java:org.metanorma.fop.Util.unescape($comment_text_)"/>
        <xsl:variable name="comment_text" select="java:trim(java:java.lang.String.new($comment_text_2))"/>
        <xsl:value-of select="$comment_text"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'asciimath']">
        <xsl:param name="process" select="'false'"/>
        <xsl:if test="$process = 'true'">
            <xsl:apply-templates/>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'latexmath']"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getMathml_asciimath_text">
        <xsl:variable name="asciimath" select="../*[local-name() = 'asciimath']"/>
        <xsl:variable name="latexmath">

                <xsl:value-of select="../*[local-name() = 'latexmath']"/>

        </xsl:variable>
        <xsl:variable name="asciimath_text_following">
            <xsl:choose>
                <xsl:when test="normalize-space($latexmath) != ''">
                    <xsl:value-of select="$latexmath"/>
                </xsl:when>
                <xsl:when test="normalize-space($asciimath) != ''">
                    <xsl:value-of select="$asciimath"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="following-sibling::node()[1][self::comment()]"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:variable name="asciimath_text_">
            <xsl:choose>
                <xsl:when test="normalize-space($asciimath_text_following) != ''">
                    <xsl:value-of select="$asciimath_text_following"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="normalize-space(translate(.,' ⁢','  '))"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:variable name="asciimath_text_2" select="java:org.metanorma.fop.Util.unescape($asciimath_text_)"/>
        <xsl:variable name="asciimath_text" select="java:trim(java:java.lang.String.new($asciimath_text_2))"/>
        <xsl:value-of select="$asciimath_text"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="mathml_instream_object">
        <xsl:param name="asciimath_text"/>
        <xsl:param name="mathml_content"/>

        <xsl:variable name="asciimath_text_">
            <xsl:choose>
                <xsl:when test="normalize-space($asciimath_text) != ''"><xsl:value-of select="$asciimath_text"/></xsl:when>
                <!-- <xsl:otherwise><xsl:call-template name="getMathml_comment_text"/></xsl:otherwise> -->
                <xsl:otherwise><xsl:call-template name="getMathml_asciimath_text"/></xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:variable name="mathml">
            <xsl:apply-templates select="." mode="mathml"/>
        </xsl:variable>

        <fo:instream-foreign-object fox:alt-text="Math">

            <xsl:call-template name="refine_mathml_insteam_object_style"/>

            <!-- put MathML in Actual Text -->
            <!-- DEBUG: mathml_content=<xsl:value-of select="$mathml_content"/> -->
            <xsl:attribute name="fox:actual-text">
                <xsl:value-of select="$mathml_content"/>
            </xsl:attribute>

            <!-- <xsl:if test="$add_math_as_text = 'true'"> -->
            <xsl:if test="normalize-space($asciimath_text_) != ''">
            <!-- put Mathin Alternate Text -->
                <xsl:attribute name="fox:alt-text">
                    <xsl:value-of select="$asciimath_text_"/>
                </xsl:attribute>
            </xsl:if>
            <!-- </xsl:if> -->

            <xsl:copy-of select="xalan:nodeset($mathml)"/>

        </fo:instream-foreign-object>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_mathml_insteam_object_style">

    </xsl:template> <!-- refine_mathml_insteam_object_style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:*" mode="mathml_actual_text">
        <!-- <xsl:text>a+b</xsl:text> -->
        <xsl:text>&lt;</xsl:text>
        <xsl:value-of select="local-name()"/>
        <xsl:if test="local-name() = 'math'">
            <xsl:text> xmlns="http://www.w3.org/1998/Math/MathML"</xsl:text>
        </xsl:if>
        <xsl:for-each select="@*">
            <xsl:text> </xsl:text>
            <xsl:value-of select="local-name()"/>
            <xsl:text>="</xsl:text>
            <xsl:value-of select="."/>
            <xsl:text>"</xsl:text>
        </xsl:for-each>
        <xsl:text>&gt;</xsl:text>
        <xsl:apply-templates mode="mathml_actual_text"/>
        <xsl:text>&lt;/</xsl:text>
        <xsl:value-of select="local-name()"/>
        <xsl:text>&gt;</xsl:text>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="text()" mode="mathml_actual_text">
        <xsl:value-of select="normalize-space()"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="mathml">
        <xsl:copy>
                <xsl:apply-templates select="@*|node()" mode="mathml"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:mtext" mode="mathml">
        <xsl:copy>
            <!-- replace start and end spaces to non-break space -->
            <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),'(^ )|( $)',' ')"/>
        </xsl:copy>
    </xsl:template>

    <!-- <xsl:template match="mathml:mi[. = ',' and not(following-sibling::*[1][local-name() = 'mtext' and text() = '&#xa0;'])]" mode="mathml">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()" mode="mathml"/>
        </xsl:copy>
        <xsl:choose>
            if in msub, then don't add space
            <xsl:when test="ancestor::mathml:mrow[parent::mathml:msub and preceding-sibling::*[1][self::mathml:mrow]]"></xsl:when>
            if next char in digit,  don't add space
            <xsl:when test="translate(substring(following-sibling::*[1]/text(),1,1),'0123456789','') = ''"></xsl:when>
            <xsl:otherwise>
                <mathml:mspace width="0.5ex"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template> -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:math/*[local-name()='unit']" mode="mathml"/>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:math/*[local-name()='prefix']" mode="mathml"/>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:math/*[local-name()='dimension']" mode="mathml"/>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:math/*[local-name()='quantity']" mode="mathml"/>

    <!-- patch: slash in the mtd wrong rendering -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:mtd/mathml:mo/text()[. = '/']" mode="mathml">
        <xsl:value-of select="."/><xsl:value-of select="$zero_width_space"/>
    </xsl:template>

    <!-- special case for:
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <mstyle displaystyle="true">
                <msup>
                    <mi color="#00000000">C</mi>
                    <mtext>R</mtext>
                </msup>
                <msubsup>
                    <mtext>C</mtext>
                    <mi>n</mi>
                    <mi>k</mi>
                </msubsup>
            </mstyle>
        </math>
    -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:msup/mathml:mi[. = '‌' or . = ''][not(preceding-sibling::*)][following-sibling::mathml:mtext]" mode="mathml">
        <xsl:copy>
            <xsl:copy-of select="@*"/>
            <xsl:variable name="next_mtext" select="ancestor::mathml:msup/following-sibling::*[1][self::mathml:msubsup or self::mathml:msub or self::mathml:msup]/mathml:mtext"/>
            <xsl:if test="string-length($next_mtext) != ''">
                <xsl:attribute name="color">#00000000</xsl:attribute>
            </xsl:if>
            <xsl:apply-templates/>
            <xsl:value-of select="$next_mtext"/>
        </xsl:copy>
    </xsl:template>

    <!-- special case for:
                <msup>
                    <mtext/>
                    <mn>1</mn>
                </msup>
        convert to (add mspace after mtext and enclose them into mrow):
            <msup>
                <mrow>
                    <mtext/>
                    <mspace height="1.47ex"/>
                </mrow>
                <mn>1</mn>
            </msup>
    -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:msup/mathml:mtext[not(preceding-sibling::*)]" mode="mathml">
        <mathml:mrow>
            <xsl:copy-of select="."/>
            <mathml:mspace height="1.47ex"/>
        </mathml:mrow>
    </xsl:template>

    <!-- add space around vertical line -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:mo[normalize-space(text()) = '|']" mode="mathml">
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="mathml"/>
            <xsl:if test="not(@lspace)">
                <xsl:attribute name="lspace">0.2em</xsl:attribute>
            </xsl:if>
            <xsl:if test="not(@rspace) and not(following-sibling::*[1][self::mathml:mo and normalize-space(text()) = '|'])">
                <xsl:attribute name="rspace">0.2em</xsl:attribute>
            </xsl:if>
            <xsl:apply-templates mode="mathml"/>
        </xsl:copy>
    </xsl:template>

    <!-- decrease fontsize for 'Circled Times' char -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:mo[normalize-space(text()) = '⊗']" mode="mathml">
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="mathml"/>
            <xsl:if test="not(@fontsize)">
                <xsl:attribute name="fontsize">55%</xsl:attribute>
            </xsl:if>
            <xsl:apply-templates mode="mathml"/>
        </xsl:copy>
    </xsl:template>

    <!-- increase space before '(' -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:mo[normalize-space(text()) = '(']" mode="mathml">
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="mathml"/>
            <xsl:if test="(preceding-sibling::* and not(preceding-sibling::*[1][self::mathml:mo])) or (../preceding-sibling::* and not(../preceding-sibling::*[1][self::mathml:mo]))">
                <xsl:if test="not(@lspace)">
                    <xsl:attribute name="lspace">0.4em</xsl:attribute>
                    <xsl:choose>
                        <xsl:when test="preceding-sibling::*[1][self::mathml:mi or self::mathml:mstyle]">
                            <xsl:attribute name="lspace">0.2em</xsl:attribute>
                        </xsl:when>
                        <xsl:when test="../preceding-sibling::*[1][self::mathml:mi or self::mathml:mstyle]">
                            <xsl:attribute name="lspace">0.2em</xsl:attribute>
                        </xsl:when>
                    </xsl:choose>
                </xsl:if>
            </xsl:if>
            <xsl:apply-templates mode="mathml"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="mathml_linebreak">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()" mode="mathml_linebreak"/>
        </xsl:copy>
    </xsl:template>

    <!-- split math into two math -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:mo[@linebreak] | mathml:mspace[@linebreak]" mode="mathml_linebreak">
        <xsl:variable name="math_elements_tree_">
            <xsl:for-each select="ancestor::*[ancestor-or-self::mathml:math]">
                <element pos="{position()}">
                    <xsl:copy-of select="@*[local-name() != 'id']"/>
                    <xsl:value-of select="name()"/>
                </element>
            </xsl:for-each>
        </xsl:variable>

        <xsl:variable name="math_elements_tree" select="xalan:nodeset($math_elements_tree_)"/>

        <xsl:call-template name="insertClosingElements">
            <xsl:with-param name="tree" select="$math_elements_tree"/>
        </xsl:call-template>

        <xsl:element name="br" namespace="{$namespace_full}"/>

        <xsl:call-template name="insertOpeningElements">
            <xsl:with-param name="tree" select="$math_elements_tree"/>
            <xsl:with-param name="xmlns">http://www.w3.org/1998/Math/MathML</xsl:with-param>
            <xsl:with-param name="add_continue">false</xsl:with-param>
        </xsl:call-template>

    </xsl:template>

    <!-- Examples: 
        <stem type="AsciiMath">x = 1</stem> 
        <stem type="AsciiMath"><asciimath>x = 1</asciimath></stem>
        <stem type="AsciiMath"><asciimath>x = 1</asciimath><latexmath>x = 1</latexmath></stem>
    -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'stem'][@type = 'AsciiMath'][count(*) = 0]/text() | *[local-name() = 'stem'][@type = 'AsciiMath'][*[local-name() = 'asciimath']]" priority="3">
        <fo:inline xsl:use-attribute-sets="mathml-style">

            <xsl:call-template name="refine_mathml-style"/>

            <xsl:choose>
                <xsl:when test="self::text()"><xsl:value-of select="."/></xsl:when>
                <xsl:otherwise>
                    <xsl:apply-templates>
                        <xsl:with-param name="process">true</xsl:with-param>
                    </xsl:apply-templates>
                </xsl:otherwise>
            </xsl:choose>

        </fo:inline>
    </xsl:template>
    <!-- ======================================= -->
    <!-- END: math -->
    <!-- ======================================= -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='localityStack']"/>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="pdfAttachmentsList_">
        <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']">
            <attachment filename="{@name}"/>
        </xsl:for-each>
        <xsl:if test="not(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment'])">
            <xsl:for-each select="//*[local-name() = 'bibitem'][@hidden = 'true'][*[local-name() = 'uri'][@type = 'attachment']]">
                <xsl:variable name="attachment_path" select="*[local-name() = 'uri'][@type = 'attachment']"/>
                <attachment filename="{$attachment_path}"/>
            </xsl:for-each>
        </xsl:if>
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="pdfAttachmentsList" select="xalan:nodeset($pdfAttachmentsList_)"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='link']" name="link">
        <xsl:variable name="target_normalized" select="translate(@target, '\', '/')"/>
        <xsl:variable name="target_attachment_name" select="substring-after($target_normalized, '_attachments/')"/>
        <xsl:variable name="isLinkToEmbeddedFile" select="normalize-space(@attachment = 'true' and $pdfAttachmentsList//attachment[@filename = current()/@target])"/>
        <xsl:variable name="target">
            <xsl:choose>
                <xsl:when test="@updatetype = 'true'">
                    <xsl:value-of select="concat(normalize-space(@target), '.pdf')"/>
                </xsl:when>
                <!-- link to the PDF attachment -->
                <xsl:when test="$isLinkToEmbeddedFile = 'true'">
                    <xsl:variable name="target_file" select="java:org.metanorma.fop.Util.getFilenameFromPath(@target)"/>
                    <xsl:value-of select="concat('url(embedded-file:', $target_file, ')')"/>
                </xsl:when>
                <!-- <xsl:when test="starts-with($target_normalized, '_') and contains($target_normalized, '_attachments/') and $pdfAttachmentsList//attachment[@filename = $target_attachment_name]">
                    <xsl:value-of select="concat('url(embedded-file:', $target_attachment_name, ')')"/>
                </xsl:when>
                <xsl:when test="contains(@target, concat('_', $inputxml_filename_prefix, '_attachments'))">
                    <xsl:variable name="target_" select="translate(@target, '\', '/')"/>
                    <xsl:variable name="target__" select="substring-after($target_, concat('_', $inputxml_filename_prefix, '_attachments', '/'))"/>
                    <xsl:value-of select="concat('url(embedded-file:', $target__, ')')"/>
                </xsl:when> -->
                <xsl:otherwise>
                    <xsl:value-of select="normalize-space(@target)"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:variable name="target_text">
            <xsl:choose>
                <xsl:when test="starts-with(normalize-space(@target), 'mailto:')">
                    <xsl:value-of select="normalize-space(substring-after(@target, 'mailto:'))"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="normalize-space(@target)"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <fo:inline xsl:use-attribute-sets="link-style">

            <xsl:if test="starts-with(normalize-space(@target), 'mailto:') and not(ancestor::*[local-name() = 'td'])">
                <xsl:attribute name="keep-together.within-line">always</xsl:attribute>
            </xsl:if>

            <xsl:if test="$isLinkToEmbeddedFile = 'true'">
                <xsl:attribute name="color">inherit</xsl:attribute>
                <xsl:attribute name="text-decoration">none</xsl:attribute>
            </xsl:if>

            <xsl:call-template name="refine_link-style"/>

            <xsl:choose>
                <xsl:when test="$target_text = ''">
                    <xsl:apply-templates/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:variable name="alt_text">
                        <xsl:call-template name="getAltText"/>
                    </xsl:variable>
                    <xsl:call-template name="insert_basic_link">
                        <xsl:with-param name="element">
                            <fo:basic-link external-destination="{$target}" fox:alt-text="{$alt_text}">
                                <xsl:if test="$isLinkToEmbeddedFile = 'true'">
                                    <xsl:attribute name="role">Annot</xsl:attribute>
                                </xsl:if>
                                <xsl:choose>
                                    <xsl:when test="normalize-space(.) = ''">
                                        <xsl:call-template name="add-zero-spaces-link-java">
                                            <xsl:with-param name="text" select="$target_text"/>
                                        </xsl:call-template>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <!-- output text from <link>text</link> -->
                                        <xsl:apply-templates/>
                                    </xsl:otherwise>
                                </xsl:choose>
                            </fo:basic-link>
                            <xsl:if test="$isLinkToEmbeddedFile = 'true'">
                                <!-- reserve space at right for PaperClip icon -->
                                <fo:inline keep-with-previous.within-line="always">        </fo:inline>
                            </xsl:if>
                        </xsl:with-param>
                    </xsl:call-template>
                </xsl:otherwise>
            </xsl:choose>
        </fo:inline>
    </xsl:template> <!-- link -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getAltText">
        <xsl:choose>
            <xsl:when test="normalize-space(.) = ''"><xsl:value-of select="@target"/></xsl:when>
            <xsl:otherwise><xsl:value-of select="normalize-space(translate(normalize-space(), ' —', ' -'))"/></xsl:otherwise>
            <!-- <xsl:otherwise><xsl:value-of select="@target"/></xsl:otherwise> -->
        </xsl:choose>
    </xsl:template>

    <!-- ======================== -->
    <!-- Appendix processing -->
    <!-- ======================== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='appendix']">
        <fo:block id="{@id}" xsl:use-attribute-sets="appendix-style">
            <xsl:apply-templates select="*[local-name()='title']"/>
        </fo:block>
        <xsl:apply-templates select="node()[not(local-name()='title')]"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='appendix']/*[local-name()='title']" priority="2">
        <xsl:variable name="level">
            <xsl:call-template name="getLevel"/>
        </xsl:variable>
        <fo:inline role="H{$level}"><xsl:apply-templates/></fo:inline>
    </xsl:template>
    <!-- ======================== -->
    <!-- END Appendix processing -->
    <!-- ======================== -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='appendix']//*[local-name()='example']" priority="2">
        <fo:block id="{@id}" xsl:use-attribute-sets="appendix-example-style">
            <xsl:apply-templates select="*[local-name()='name']"/>
        </fo:block>
        <xsl:apply-templates select="node()[not(local-name()='name')]"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'callout']">
        <xsl:choose>
            <xsl:when test="normalize-space(@target) = ''">&lt;<xsl:apply-templates/>&gt;</xsl:when>
            <xsl:otherwise><fo:basic-link internal-destination="{@target}" fox:alt-text="{normalize-space()}">&lt;<xsl:apply-templates/>&gt;</fo:basic-link></xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'annotation']">
        <xsl:variable name="annotation-id" select="@id"/>
        <xsl:variable name="callout" select="//*[@target = $annotation-id]/text()"/>
        <fo:block id="{$annotation-id}" white-space="nowrap">

            <fo:inline>
                <xsl:apply-templates>
                    <xsl:with-param name="callout" select="concat('&lt;', $callout, '&gt; ')"/>
                </xsl:apply-templates>
            </fo:inline>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'annotation']/*[local-name() = 'p']">
        <xsl:param name="callout"/>
        <fo:inline id="{@id}">
            <!-- for first p in annotation, put <x> -->
            <xsl:if test="not(preceding-sibling::*[local-name() = 'p'])"><xsl:value-of select="$callout"/></xsl:if>
            <xsl:apply-templates/>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'xref']">
        <xsl:call-template name="insert_basic_link">
            <xsl:with-param name="element">
                <xsl:variable name="alt_text">
                    <xsl:call-template name="getAltText"/>
                </xsl:variable>
                <fo:basic-link internal-destination="{@target}" fox:alt-text="{$alt_text}" xsl:use-attribute-sets="xref-style">
                    <xsl:if test="string-length(normalize-space()) &lt; 30 and not(contains(normalize-space(), 'http://')) and not(contains(normalize-space(), 'https://')) and not(ancestor::*[local-name() = 'table' or local-name() = 'dl'])">
                        <xsl:attribute name="keep-together.within-line">always</xsl:attribute>
                    </xsl:if>

                    <xsl:if test="parent::*[local-name() = 'add']">
                        <xsl:call-template name="append_add-style"/>
                    </xsl:if>
                    <xsl:apply-templates/>
                </fo:basic-link>
            </xsl:with-param>
        </xsl:call-template>
    </xsl:template>

    <!-- command between two xref points to non-standard bibitem -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="text()[. = ','][preceding-sibling::node()[1][local-name() = 'sup'][*[local-name() = 'xref'][@type = 'footnote']] and    following-sibling::node()[1][local-name() = 'sup'][*[local-name() = 'xref'][@type = 'footnote']]]">
        <xsl:value-of select="."/>
    </xsl:template>

    <!-- ====== -->
    <!-- formula  -->
    <!-- ====== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'formula']" name="formula">
        <fo:block-container margin-left="0mm" role="SKIP">
            <xsl:if test="parent::*[local-name() = 'note']">
                <xsl:attribute name="margin-left">
                    <xsl:choose>
                        <xsl:when test="not(ancestor::*[local-name() = 'table'])"><xsl:value-of select="$note-body-indent"/></xsl:when>
                        <xsl:otherwise><xsl:value-of select="$note-body-indent-table"/></xsl:otherwise>
                    </xsl:choose>
                </xsl:attribute>

            </xsl:if>
            <fo:block-container margin-left="0mm" role="SKIP">
                <fo:block id="{@id}">
                    <xsl:apply-templates select="node()[not(local-name() = 'name')]"/> <!-- formula's number will be process in 'stem' template -->
                </fo:block>
            </fo:block-container>
        </fo:block-container>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'formula']/*[local-name() = 'dt']/*[local-name() = 'stem']">
        <fo:inline>
            <xsl:apply-templates/>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'admitted']/*[local-name() = 'stem']">
        <fo:inline>
            <xsl:apply-templates/>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'formula']/*[local-name() = 'name']"> <!-- show in 'stem' template -->
        <!-- https://github.com/metanorma/isodoc/issues/607 
        <xsl:if test="normalize-space() != ''">
            <xsl:text>(</xsl:text><xsl:apply-templates /><xsl:text>)</xsl:text>
        </xsl:if> -->
        <xsl:apply-templates/>
    </xsl:template>

    <!-- stem inside formula with name (with formula's number) -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'formula'][*[local-name() = 'name']]/*[local-name() = 'stem']">
        <fo:block xsl:use-attribute-sets="formula-style">

            <fo:table table-layout="fixed" width="100%">
                <fo:table-column column-width="95%"/>
                <fo:table-column column-width="5%"/>
                <fo:table-body>
                    <fo:table-row>
                        <fo:table-cell display-align="center">
                            <fo:block xsl:use-attribute-sets="formula-stem-block-style" role="SKIP">

                                <xsl:call-template name="refine_formula-stem-block-style"/>

                                <xsl:apply-templates/>
                            </fo:block>
                        </fo:table-cell>
                        <fo:table-cell display-align="center">
                            <fo:block xsl:use-attribute-sets="formula-stem-number-style" role="SKIP">

                                <xsl:call-template name="refine_formula-stem-number-style"/>

                                <xsl:apply-templates select="../*[local-name() = 'name']"/>
                            </fo:block>
                        </fo:table-cell>
                    </fo:table-row>
                </fo:table-body>
            </fo:table>
        </fo:block>
    </xsl:template>

    <!-- stem inside formula without name (without formula's number) -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'formula'][not(*[local-name() = 'name'])]/*[local-name() = 'stem']">
        <fo:block xsl:use-attribute-sets="formula-style">
            <fo:block xsl:use-attribute-sets="formula-stem-block-style">
                <xsl:apply-templates/>
            </fo:block>
        </fo:block>
    </xsl:template>

    <!-- ====== -->
    <!-- ====== -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setBlockSpanAll">
        <xsl:if test="@columns = 1 or     (local-name() = 'p' and *[@columns = 1])"><xsl:attribute name="span">all</xsl:attribute></xsl:if>
    </xsl:template>

    <!-- ====== -->
    <!-- note      -->
    <!-- termnote -->
    <!-- ====== -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'note']" name="note">

                <fo:block-container id="{@id}" xsl:use-attribute-sets="note-style" role="SKIP">

                    <xsl:call-template name="setBlockSpanAll"/>

                    <xsl:call-template name="refine_note-style"/>

                    <fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">

                                <fo:block>

                                    <xsl:call-template name="refine_note_block_style"/>

                                    <fo:inline xsl:use-attribute-sets="note-name-style" role="SKIP">

                                        <xsl:call-template name="refine_note-name-style"/>

                                        <!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
                                        <!-- <xsl:if test="*[not(local-name()='name')][1][node()[normalize-space() != ''][1][local-name() = 'add'] and node()[normalize-space() != ''][last()][local-name() = 'add']]"> -->
                                        <xsl:if test="*[not(local-name()='name')][1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
                                            <xsl:call-template name="append_add-style"/>
                                        </xsl:if>

                                        <!-- if note contains only one element and first and last childs are `add` ace-tag, then move start ace-tag before NOTE's name-->
                                        <xsl:if test="count(*[not(local-name() = 'name')]) = 1 and *[not(local-name() = 'name')]/node()[last()][local-name() = 'add'][starts-with(text(), $ace_tag)]">
                                            <xsl:apply-templates select="*[not(local-name() = 'name')]/node()[1][local-name() = 'add'][starts-with(text(), $ace_tag)]">
                                                <xsl:with-param name="skip">false</xsl:with-param>
                                            </xsl:apply-templates>
                                        </xsl:if>

                                        <xsl:apply-templates select="*[local-name() = 'name']"/>

                                    </fo:inline>

                                    <xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
                                </fo:block>

                    </fo:block-container>
                </fo:block-container>

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_note_block_style">

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'note']/*[local-name() = 'p']">
        <xsl:variable name="num"><xsl:number/></xsl:variable>
        <xsl:choose>
            <xsl:when test="$num = 1"> <!-- display first NOTE's paragraph in the same line with label NOTE -->
                <fo:inline xsl:use-attribute-sets="note-p-style" role="SKIP">
                    <xsl:apply-templates/>
                </fo:inline>
            </xsl:when>
            <xsl:otherwise>
                <fo:block xsl:use-attribute-sets="note-p-style" role="SKIP">
                    <xsl:apply-templates/>
                </fo:block>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'termnote']">
        <fo:block id="{@id}" xsl:use-attribute-sets="termnote-style">

            <xsl:call-template name="setBlockSpanAll"/>

            <xsl:call-template name="refine_termnote-style"/>

            <fo:inline xsl:use-attribute-sets="termnote-name-style">

                <xsl:if test="not(*[local-name() = 'name']/following-sibling::node()[1][self::text()][normalize-space()=''])">
                    <xsl:attribute name="padding-right">1mm</xsl:attribute>
                </xsl:if>

                <xsl:call-template name="refine_termnote-name-style"/>

                <!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
                <!-- <xsl:if test="*[not(local-name()='name')][1][node()[normalize-space() != ''][1][local-name() = 'add'] and node()[normalize-space() != ''][last()][local-name() = 'add']]"> -->
                <xsl:if test="*[not(local-name()='name')][1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
                    <xsl:call-template name="append_add-style"/>
                </xsl:if>

                <xsl:apply-templates select="*[local-name() = 'name']"/>

            </fo:inline>

            <xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'note']/*[local-name() = 'name']">
        <xsl:param name="sfx"/>
        <xsl:variable name="suffix">
            <xsl:choose>
                <xsl:when test="$sfx != ''">
                    <xsl:value-of select="$sfx"/>
                </xsl:when>
                <xsl:otherwise>

                    <!-- https://github.com/metanorma/isodoc/issues/607 -->
                    <!-- <xsl:if test="$namespace = 'ieee'">
                        <xsl:text>—</xsl:text> em dash &#x2014;
                    </xsl:if> -->
                    <!-- <xsl:if test="$namespace = 'iho' or $namespace = 'gb' or $namespace = 'm3d' or $namespace = 'unece-rec' or $namespace = 'unece'  or $namespace = 'rsd'">
                        <xsl:text>:</xsl:text>
                    </xsl:if> -->

                    <!-- <xsl:if test="$namespace = 'itu' or $namespace = 'nist-cswp'  or $namespace = 'nist-sp'">                
                        <xsl:text> – </xsl:text> en dash &#x2013;
                    </xsl:if> -->
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:if test="normalize-space() != ''">
            <xsl:apply-templates/>
            <xsl:value-of select="$suffix"/>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'termnote']/*[local-name() = 'name']">
        <xsl:param name="sfx"/>
        <xsl:variable name="suffix">
            <xsl:choose>
                <xsl:when test="$sfx != ''">
                    <xsl:value-of select="$sfx"/>
                </xsl:when>
                <xsl:otherwise>

                    <!-- https://github.com/metanorma/isodoc/issues/607 -->
                    <!-- <xsl:if test="$namespace = 'ieee'">
                        <xsl:text>—</xsl:text> em dash &#x2014;
                    </xsl:if> -->
                    <!-- <xsl:if test="$namespace = 'gb' or $namespace = 'iso' or $namespace = 'iec' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' or $namespace = 'rsd' or $namespace = 'jcgm'">
                        <xsl:text>:</xsl:text>
                    </xsl:if> -->
                    <!-- <xsl:if test="$namespace = 'itu' or $namespace = 'nist-cswp'  or $namespace = 'nist-sp' or $namespace = 'unece-rec' or $namespace = 'unece'">                
                        <xsl:text> – </xsl:text> en dash &#x2013;
                    </xsl:if> -->
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:if test="normalize-space() != ''">
            <xsl:apply-templates/>
            <xsl:value-of select="$suffix"/>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'termnote']/*[local-name() = 'p']">
        <xsl:variable name="num"><xsl:number/></xsl:variable>
        <xsl:choose>
            <xsl:when test="$num = 1"> <!-- first paragraph renders in the same line as titlenote name -->
                <fo:inline xsl:use-attribute-sets="termnote-p-style">
                    <xsl:apply-templates/>
                </fo:inline>
            </xsl:when>
            <xsl:otherwise>
                <fo:block xsl:use-attribute-sets="termnote-p-style">
                    <xsl:apply-templates/>
                </fo:block>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- ====== -->
    <!-- ====== -->

    <!-- ====== -->
    <!-- term      -->
    <!-- ====== -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'terms']">
        <!-- <xsl:message>'terms' <xsl:number/> processing...</xsl:message> -->
        <fo:block id="{@id}">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'term']">
        <fo:block id="{@id}" xsl:use-attribute-sets="term-style">

            <xsl:if test="parent::*[local-name() = 'term'] and not(preceding-sibling::*[local-name() = 'term'])">

            </xsl:if>
            <xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'term']/*[local-name() = 'name']">
        <xsl:if test="normalize-space() != ''">
            <!-- <xsl:variable name="level">
                <xsl:call-template name="getLevelTermName"/>
            </xsl:variable>
            <fo:inline role="H{$level}">
                <xsl:apply-templates />
            </fo:inline> -->
            <xsl:apply-templates/>
        </xsl:if>
    </xsl:template>
    <!-- ====== -->
    <!-- ====== -->

    <!-- ====== -->
    <!-- figure    -->
    <!-- image    -->
    <!-- ====== -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure']" name="figure">
        <xsl:variable name="isAdded" select="@added"/>
        <xsl:variable name="isDeleted" select="@deleted"/>
        <fo:block-container id="{@id}" xsl:use-attribute-sets="figure-block-style">
            <xsl:call-template name="refine_figure-block-style"/>

            <xsl:call-template name="setTrackChangesStyles">
                <xsl:with-param name="isAdded" select="$isAdded"/>
                <xsl:with-param name="isDeleted" select="$isDeleted"/>
            </xsl:call-template>

            <!-- Example: Dimensions in millimeters -->
            <xsl:apply-templates select="*[local-name() = 'note'][@type = 'units']"/>

            <xsl:variable name="show_figure_key_in_block_container">
                true
            </xsl:variable>

            <fo:block xsl:use-attribute-sets="figure-style" role="SKIP">
                <xsl:apply-templates select="node()[not(local-name() = 'name') and not(local-name() = 'note' and @type = 'units')]"/>
            </fo:block>

            <xsl:if test="normalize-space($show_figure_key_in_block_container) = 'true'">
                <xsl:call-template name="showFigureKey"/>
            </xsl:if>

                    <xsl:apply-templates select="*[local-name() = 'name']"/> <!-- show figure's name AFTER image -->

        </fo:block-container>

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="showFigureKey">
        <xsl:for-each select="*[local-name() = 'note'][not(@type = 'units')]">
            <xsl:call-template name="note"/>
        </xsl:for-each>
        <xsl:call-template name="fn_display_figure"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure'][@class = 'pseudocode']">
        <fo:block id="{@id}">
            <xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
        </fo:block>
        <xsl:apply-templates select="*[local-name() = 'name']"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure'][@class = 'pseudocode']//*[local-name() = 'p']">
        <fo:block xsl:use-attribute-sets="figure-pseudocode-p-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <!-- SOURCE: ... -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure']/*[local-name() = 'source']" priority="2">

                <xsl:call-template name="termsource"/>

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'image']">
        <xsl:param name="indent">0</xsl:param>
        <xsl:variable name="isAdded" select="../@added"/>
        <xsl:variable name="isDeleted" select="../@deleted"/>
        <xsl:choose>
            <xsl:when test="ancestor::*[local-name() = 'title'] or not(parent::*[local-name() = 'figure']) or parent::*[local-name() = 'p']"> <!-- inline image ( 'image:path' in adoc, with one colon after image) -->
                <fo:inline padding-left="1mm" padding-right="1mm">
                    <xsl:if test="not(parent::*[local-name() = 'figure']) or parent::*[local-name() = 'p']">
                        <xsl:attribute name="padding-left">0mm</xsl:attribute>
                        <xsl:attribute name="padding-right">0mm</xsl:attribute>
                    </xsl:if>
                    <xsl:variable name="src">
                        <xsl:call-template name="image_src"/>
                    </xsl:variable>

                    <xsl:variable name="scale">
                        <xsl:call-template name="getImageScale">
                            <xsl:with-param name="indent" select="$indent"/>
                        </xsl:call-template>
                    </xsl:variable>

                    <!-- debug scale='<xsl:value-of select="$scale"/>', indent='<xsl:value-of select="$indent"/>' -->

                    <!-- <fo:external-graphic src="{$src}" fox:alt-text="Image {@alt}" vertical-align="middle"/> -->
                    <fo:external-graphic src="{$src}" fox:alt-text="Image {@alt}" vertical-align="middle">

                        <xsl:variable name="width">
                            <xsl:call-template name="setImageWidth"/>
                        </xsl:variable>
                        <xsl:if test="$width != ''">
                            <xsl:attribute name="width"><xsl:value-of select="$width"/></xsl:attribute>
                        </xsl:if>
                        <xsl:variable name="height">
                            <xsl:call-template name="setImageHeight"/>
                        </xsl:variable>
                        <xsl:if test="$height != ''">
                            <xsl:attribute name="height"><xsl:value-of select="$height"/></xsl:attribute>
                        </xsl:if>

                        <xsl:if test="$width = '' and $height = ''">
                            <xsl:if test="number($scale) &lt; 100">
                                <xsl:attribute name="content-width"><xsl:value-of select="number($scale)"/>%</xsl:attribute>
                                <!-- <xsl:attribute name="content-width">scale-to-fit</xsl:attribute>
                                <xsl:attribute name="content-height">100%</xsl:attribute>
                                <xsl:attribute name="width">100%</xsl:attribute>
                                <xsl:attribute name="scaling">uniform</xsl:attribute> -->
                            </xsl:if>
                        </xsl:if>

                    </fo:external-graphic>

                </fo:inline>
            </xsl:when>
            <xsl:otherwise>
                <fo:block xsl:use-attribute-sets="image-style">

                    <xsl:call-template name="refine_image-style"/>

                    <xsl:variable name="src">
                        <xsl:call-template name="image_src"/>
                    </xsl:variable>

                    <xsl:choose>
                        <xsl:when test="$isDeleted = 'true'">
                            <!-- enclose in svg -->
                            <fo:instream-foreign-object fox:alt-text="Image {@alt}">
                                <xsl:attribute name="width">100%</xsl:attribute>
                                <xsl:attribute name="content-height">100%</xsl:attribute>
                                <xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
                                <xsl:attribute name="scaling">uniform</xsl:attribute>

                                <xsl:apply-templates select="." mode="cross_image"/>

                            </fo:instream-foreign-object>
                        </xsl:when>
                        <xsl:otherwise>
                            <!-- <fo:block>debug block image:
                            <xsl:variable name="scale">
                                <xsl:call-template name="getImageScale">
                                    <xsl:with-param name="indent" select="$indent"/>
                                </xsl:call-template>
                            </xsl:variable>
                            <xsl:value-of select="concat('scale=', $scale,', indent=', $indent)"/>
                            </fo:block> -->

                            <fo:external-graphic src="{$src}" fox:alt-text="Image {@alt}">

                                <xsl:choose>
                                    <!-- default -->
                                    <xsl:when test="((@width = 'auto' or @width = 'text-width' or @width = 'full-page-width' or @width = 'narrow') and @height = 'auto') or            (normalize-space(@width) = '' and normalize-space(@height) = '') ">
                                        <!-- add attribute for automatic scaling -->
                                        <xsl:variable name="image-graphic-style_attributes">
                                            <attributes xsl:use-attribute-sets="image-graphic-style"/>
                                        </xsl:variable>
                                        <xsl:copy-of select="xalan:nodeset($image-graphic-style_attributes)/attributes/@*"/>

                                        <xsl:if test="not(@mimetype = 'image/svg+xml') and not(ancestor::*[local-name() = 'table'])">
                                            <xsl:variable name="scale">
                                                <xsl:call-template name="getImageScale">
                                                    <xsl:with-param name="indent" select="$indent"/>
                                                </xsl:call-template>
                                            </xsl:variable>

                                            <xsl:variable name="scaleRatio">
                                                1
                                            </xsl:variable>

                                            <xsl:if test="number($scale) &lt; 100">
                                                <xsl:attribute name="content-width"><xsl:value-of select="number($scale) * number($scaleRatio)"/>%</xsl:attribute>
                                            </xsl:if>
                                        </xsl:if>

                                    </xsl:when> <!-- default -->
                                    <xsl:otherwise>

                                        <xsl:variable name="width_height_">
                                            <attributes>
                                                <xsl:call-template name="setImageWidthHeight"/>
                                            </attributes>
                                        </xsl:variable>
                                        <xsl:variable name="width_height" select="xalan:nodeset($width_height_)"/>

                                        <xsl:copy-of select="$width_height/attributes/@*"/>

                                        <xsl:if test="$width_height/attributes/@content-width != '' and             $width_height/attributes/@content-height != ''">
                                            <xsl:attribute name="scaling">non-uniform</xsl:attribute>
                                        </xsl:if>

                                    </xsl:otherwise>
                                </xsl:choose>

                                <!-- 
                                <xsl:if test="not(@mimetype = 'image/svg+xml') and (../*[local-name() = 'name'] or parent::*[local-name() = 'figure'][@unnumbered = 'true']) and not(ancestor::*[local-name() = 'table'])">
                                -->

                            </fo:external-graphic>
                        </xsl:otherwise>
                    </xsl:choose>

                </fo:block>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setImageWidth">
        <xsl:if test="@width != '' and @width != 'auto' and @width != 'text-width' and @width != 'full-page-width' and @width != 'narrow'">
            <xsl:value-of select="@width"/>
        </xsl:if>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setImageHeight">
        <xsl:if test="@height != '' and @height != 'auto'">
            <xsl:value-of select="@height"/>
        </xsl:if>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setImageWidthHeight">
        <xsl:variable name="width">
            <xsl:call-template name="setImageWidth"/>
        </xsl:variable>
        <xsl:if test="$width != ''">
            <xsl:attribute name="content-width">
                <xsl:value-of select="$width"/>
            </xsl:attribute>
        </xsl:if>
        <xsl:variable name="height">
            <xsl:call-template name="setImageHeight"/>
        </xsl:variable>
        <xsl:if test="$height != ''">
            <xsl:attribute name="content-height">
                <xsl:value-of select="$height"/>
            </xsl:attribute>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getImageSrc">
        <xsl:choose>
            <xsl:when test="not(starts-with(@src, 'data:'))">
                <xsl:choose>
                    <xsl:when test="@extracted = 'true'"> <!-- added in mn2pdf v1.97 -->
                        <xsl:value-of select="@src"/>
                    </xsl:when>
                    <xsl:otherwise>
                        <xsl:value-of select="concat($basepath, @src)"/>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:when>
            <xsl:otherwise><xsl:value-of select="@src"/></xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getImageScale">
        <xsl:param name="indent"/>
        <xsl:variable name="indent_left">
            <xsl:choose>
                <xsl:when test="$indent != ''"><xsl:value-of select="$indent"/></xsl:when>
                <xsl:otherwise>0</xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:variable name="img_src">
            <xsl:call-template name="getImageSrc"/>
        </xsl:variable>

        <xsl:variable name="image_width_effective">

                    <xsl:value-of select="$width_effective - number($indent_left)"/>

        </xsl:variable>
        <xsl:variable name="image_height_effective" select="$height_effective - number($indent_left)"/>
        <!-- <xsl:message>width_effective=<xsl:value-of select="$width_effective"/></xsl:message>
        <xsl:message>indent_left=<xsl:value-of select="$indent_left"/></xsl:message>
        <xsl:message>image_width_effective=<xsl:value-of select="$image_width_effective"/> for <xsl:value-of select="ancestor::ogc:p[1]/@id"/></xsl:message> -->
        <xsl:variable name="scale">

                    <xsl:value-of select="java:org.metanorma.fop.utils.ImageUtils.getImageScale($img_src, $image_width_effective, $height_effective)"/>

        </xsl:variable>
        <xsl:value-of select="$scale"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="image_src">
        <xsl:choose>
            <xsl:when test="@mimetype = 'image/svg+xml' and $images/images/image[@id = current()/@id]">
                <xsl:value-of select="$images/images/image[@id = current()/@id]/@src"/>
            </xsl:when>
            <!-- in WebP format, then convert image into PNG -->
            <xsl:when test="starts-with(@src, 'data:image/webp')">
                <xsl:variable name="src_png" select="java:org.metanorma.fop.utils.ImageUtils.convertWebPtoPNG(@src)"/>
                <xsl:value-of select="$src_png"/>
            </xsl:when>
            <xsl:when test="not(starts-with(@src, 'data:')) and        (java:endsWith(java:java.lang.String.new(@src), '.webp') or       java:endsWith(java:java.lang.String.new(@src), '.WEBP'))">
                <xsl:variable name="src_png" select="java:org.metanorma.fop.utils.ImageUtils.convertWebPtoPNG(@src)"/>
                <xsl:value-of select="concat('url(file:///',$basepath, $src_png, ')')"/>
            </xsl:when>
            <xsl:when test="not(starts-with(@src, 'data:'))">
                <xsl:choose>
                    <xsl:when test="@extracted = 'true'"> <!-- added in mn2pdf v1.97 -->
                        <xsl:value-of select="concat('url(file:///', @src, ')')"/>
                    </xsl:when>
                    <xsl:otherwise>
                        <xsl:value-of select="concat('url(file:///',$basepath, @src, ')')"/>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:when>
            <xsl:otherwise>
                <xsl:value-of select="@src"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'image']" mode="cross_image">
        <xsl:choose>
            <xsl:when test="@mimetype = 'image/svg+xml' and $images/images/image[@id = current()/@id]">
                <xsl:variable name="src">
                    <xsl:value-of select="$images/images/image[@id = current()/@id]/@src"/>
                </xsl:variable>
                <xsl:variable name="width" select="document($src)/@width"/>
                <xsl:variable name="height" select="document($src)/@height"/>
                <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="enable-background:new 0 0 595.28 841.89;" height="{$height}" width="{$width}" viewBox="0 0 {$width} {$height}" y="0px" x="0px" id="Layer_1" version="1.1">
                    <image xlink:href="{$src}" style="overflow:visible;"/>
                </svg>
            </xsl:when>
            <xsl:when test="not(starts-with(@src, 'data:'))">
                <xsl:variable name="src">
                    <xsl:choose>
                        <xsl:when test="@extracted = 'true'"> <!-- added in mn2pdf v1.97 -->
                            <xsl:value-of select="concat('url(file:///', @src, ')')"/>
                        </xsl:when>
                        <xsl:otherwise>
                            <xsl:value-of select="concat('url(file:///',$basepath, @src, ')')"/>
                        </xsl:otherwise>
                    </xsl:choose>
                </xsl:variable>
                <xsl:variable name="file" select="java:java.io.File.new(@src)"/>
                <xsl:variable name="bufferedImage" select="java:javax.imageio.ImageIO.read($file)"/>
                <xsl:variable name="width" select="java:getWidth($bufferedImage)"/>
                <xsl:variable name="height" select="java:getHeight($bufferedImage)"/>
                <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="enable-background:new 0 0 595.28 841.89;" height="{$height}" width="{$width}" viewBox="0 0 {$width} {$height}" y="0px" x="0px" id="Layer_1" version="1.1">
                    <image xlink:href="{$src}" style="overflow:visible;"/>
                </svg>
            </xsl:when>
            <xsl:otherwise>
                <xsl:variable name="base64String" select="substring-after(@src, 'base64,')"/>
                <xsl:variable name="decoder" select="java:java.util.Base64.getDecoder()"/>
                <xsl:variable name="fileContent" select="java:decode($decoder, $base64String)"/>
                <xsl:variable name="bis" select="java:java.io.ByteArrayInputStream.new($fileContent)"/>
                <xsl:variable name="bufferedImage" select="java:javax.imageio.ImageIO.read($bis)"/>
                <xsl:variable name="width" select="java:getWidth($bufferedImage)"/>
                <xsl:variable name="height" select="java:getHeight($bufferedImage)"/>
                <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="enable-background:new 0 0 595.28 841.89;" height="{$height}" width="{$width}" viewBox="0 0 {$width} {$height}" y="0px" x="0px" id="Layer_1" version="1.1">
                    <image xlink:href="{@src}" height="{$height}" width="{$width}" style="overflow:visible;"/>
                    <xsl:call-template name="svg_cross">
                        <xsl:with-param name="width" select="$width"/>
                        <xsl:with-param name="height" select="$height"/>
                    </xsl:call-template>
                </svg>
            </xsl:otherwise>
        </xsl:choose>

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="svg_cross">
        <xsl:param name="width"/>
        <xsl:param name="height"/>
        <line xmlns="http://www.w3.org/2000/svg" x1="0" y1="0" x2="{$width}" y2="{$height}" style="stroke: rgb(255, 0, 0); stroke-width:4px; "/>
        <line xmlns="http://www.w3.org/2000/svg" x1="0" y1="{$height}" x2="{$width}" y2="0" style="stroke: rgb(255, 0, 0); stroke-width:4px; "/>
    </xsl:template>

    <!-- =================== -->
    <!-- SVG images processing -->
    <!-- =================== -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="figure_name_height">14</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="width_effective" select="$pageWidth - $marginLeftRight1 - $marginLeftRight2"/><!-- paper width minus margins -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="height_effective" select="$pageHeight - $marginTop - $marginBottom - $figure_name_height"/><!-- paper height minus margins and title height -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="image_dpi" select="96"/>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="width_effective_px" select="$width_effective div 25.4 * $image_dpi"/>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="height_effective_px" select="$height_effective div 25.4 * $image_dpi"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure'][not(*[local-name() = 'image']) and *[local-name() = 'svg']]/*[local-name() = 'name']/*[local-name() = 'bookmark']" priority="2"/>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure'][not(*[local-name() = 'image'])]/*[local-name() = 'svg']" priority="2" name="image_svg">
        <xsl:param name="name"/>

        <xsl:variable name="svg_content">
            <xsl:apply-templates select="." mode="svg_update"/>
        </xsl:variable>

        <xsl:variable name="alt-text">
            <xsl:choose>
                <xsl:when test="normalize-space(../*[local-name() = 'name']) != ''">
                    <xsl:value-of select="../*[local-name() = 'name']"/>
                </xsl:when>
                <xsl:when test="normalize-space($name) != ''">
                    <xsl:value-of select="$name"/>
                </xsl:when>
                <xsl:otherwise>Figure</xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:variable name="isPrecedingTitle" select="normalize-space(ancestor::*[local-name() = 'figure']/preceding-sibling::*[1][local-name() = 'title'] and 1 = 1)"/>

        <xsl:choose>
            <xsl:when test=".//*[local-name() = 'a'][*[local-name() = 'rect'] or *[local-name() = 'polygon'] or *[local-name() = 'circle'] or *[local-name() = 'ellipse']]">
                <fo:block>
                    <xsl:variable name="width" select="@width"/>
                    <xsl:variable name="height" select="@height"/>

                    <xsl:variable name="scale_x">
                        <xsl:choose>
                            <xsl:when test="$width &gt; $width_effective_px">
                                <xsl:value-of select="$width_effective_px div $width"/>
                            </xsl:when>
                            <xsl:otherwise>1</xsl:otherwise>
                        </xsl:choose>
                    </xsl:variable>

                    <xsl:variable name="scale_y">
                        <xsl:choose>
                            <xsl:when test="$height * $scale_x &gt; $height_effective_px">
                                <xsl:value-of select="$height_effective_px div ($height * $scale_x)"/>
                            </xsl:when>
                            <xsl:otherwise>1</xsl:otherwise>
                        </xsl:choose>
                    </xsl:variable>

                    <xsl:variable name="scale">
                        <xsl:choose>
                            <xsl:when test="$scale_y != 1">
                                <xsl:value-of select="$scale_x * $scale_y"/>
                            </xsl:when>
                            <xsl:otherwise>
                                <xsl:value-of select="$scale_x"/>
                            </xsl:otherwise>
                        </xsl:choose>
                    </xsl:variable>

                    <xsl:variable name="width_scale" select="round($width * $scale)"/>
                    <xsl:variable name="height_scale" select="round($height * $scale)"/>

                    <fo:table table-layout="fixed" width="100%">
                        <fo:table-column column-width="proportional-column-width(1)"/>
                        <fo:table-column column-width="{$width_scale}px"/>
                        <fo:table-column column-width="proportional-column-width(1)"/>
                        <fo:table-body>
                            <fo:table-row>
                                <fo:table-cell column-number="2">
                                    <fo:block>
                                        <fo:block-container width="{$width_scale}px" height="{$height_scale}px">
                                            <xsl:if test="../*[local-name() = 'name']/*[local-name() = 'bookmark']">
                                                <fo:block line-height="0" font-size="0">
                                                    <xsl:for-each select="../*[local-name() = 'name']/*[local-name() = 'bookmark']">
                                                        <xsl:call-template name="bookmark"/>
                                                    </xsl:for-each>
                                                </fo:block>
                                            </xsl:if>
                                            <fo:block text-depth="0" line-height="0" font-size="0">

                                                <fo:instream-foreign-object fox:alt-text="{$alt-text}">
                                                    <xsl:attribute name="width">100%</xsl:attribute>
                                                    <xsl:attribute name="content-height">100%</xsl:attribute>
                                                    <xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
                                                    <xsl:attribute name="scaling">uniform</xsl:attribute>

                                                    <xsl:apply-templates select="xalan:nodeset($svg_content)" mode="svg_remove_a"/>
                                                </fo:instream-foreign-object>
                                            </fo:block>

                                            <xsl:apply-templates select=".//*[local-name() = 'a'][*[local-name() = 'rect'] or *[local-name() = 'polygon'] or *[local-name() = 'circle'] or *[local-name() = 'ellipse']]" mode="svg_imagemap_links">
                                                <xsl:with-param name="scale" select="$scale"/>
                                            </xsl:apply-templates>
                                        </fo:block-container>
                                    </fo:block>
                                </fo:table-cell>
                            </fo:table-row>
                        </fo:table-body>
                    </fo:table>
                </fo:block>

            </xsl:when>
            <xsl:otherwise>

                <xsl:variable name="image_class" select="ancestor::*[local-name() = 'image']/@class"/>
                <xsl:variable name="ancestor_table_cell" select="normalize-space(ancestor::*[local-name() = 'td'] or ancestor::*[local-name() = 'th'])"/>

                <xsl:variable name="element">
                    <xsl:choose>
                        <xsl:when test="ancestor::*[local-name() = 'tr'] and $isGenerateTableIF = 'true'">
                            <fo:inline xsl:use-attribute-sets="image-style" text-align="left"/>
                        </xsl:when>
                        <xsl:when test="not(ancestor::*[local-name() = 'figure'])">
                            <fo:inline xsl:use-attribute-sets="image-style" text-align="left"/>
                        </xsl:when>
                        <xsl:otherwise>
                            <fo:block xsl:use-attribute-sets="image-style">
                                <xsl:if test="ancestor::*[local-name() = 'dt']">
                                    <xsl:attribute name="text-align">left</xsl:attribute>
                                </xsl:if>
                            </fo:block>
                        </xsl:otherwise>
                    </xsl:choose>
                </xsl:variable>

                <xsl:for-each select="xalan:nodeset($element)/*">
                    <xsl:copy>
                        <xsl:copy-of select="@*"/>
                    <!-- <fo:block xsl:use-attribute-sets="image-style"> -->
                        <fo:instream-foreign-object fox:alt-text="{$alt-text}">

                            <xsl:choose>
                                <xsl:when test="$image_class = 'corrigenda-tag'">
                                    <xsl:attribute name="fox:alt-text">CorrigendaTag</xsl:attribute>
                                    <xsl:attribute name="baseline-shift">-10%</xsl:attribute>
                                    <xsl:if test="$ancestor_table_cell = 'true'">
                                        <xsl:attribute name="baseline-shift">-25%</xsl:attribute>
                                    </xsl:if>
                                    <xsl:attribute name="height">3.5mm</xsl:attribute>
                                </xsl:when>
                                <xsl:otherwise>
                                    <xsl:if test="$isGenerateTableIF = 'false'">
                                        <xsl:attribute name="width">100%</xsl:attribute>
                                    </xsl:if>
                                    <xsl:attribute name="content-height">100%</xsl:attribute>
                                </xsl:otherwise>
                            </xsl:choose>

                            <xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
                            <xsl:variable name="svg_width_" select="xalan:nodeset($svg_content)/*/@width"/>
                            <xsl:variable name="svg_width" select="number(translate($svg_width_, 'px', ''))"/>
                            <xsl:variable name="svg_height_" select="xalan:nodeset($svg_content)/*/@height"/>
                            <xsl:variable name="svg_height" select="number(translate($svg_height_, 'px', ''))"/>

                            <!-- Example: -->
                            <!-- effective height 297 - 27.4 - 13 =  256.6 -->
                            <!-- effective width 210 - 12.5 - 25 = 172.5 -->
                            <!-- effective height / width = 1.48, 1.4 - with title -->

                            <xsl:variable name="scale_x">
                                <xsl:choose>
                                    <xsl:when test="$svg_width &gt; $width_effective_px">
                                        <xsl:value-of select="$width_effective_px div $svg_width"/>
                                    </xsl:when>
                                    <xsl:otherwise>1</xsl:otherwise>
                                </xsl:choose>
                            </xsl:variable>
                            <xsl:variable name="scale_y">
                                <xsl:choose>
                                    <xsl:when test="$svg_height * $scale_x &gt; $height_effective_px">
                                        <xsl:variable name="height_effective_px_">
                                            <xsl:choose>
                                                <!-- title is 'keep-with-next' with following figure -->
                                                <xsl:when test="$isPrecedingTitle = 'true'"><xsl:value-of select="$height_effective_px - 80"/></xsl:when>
                                                <xsl:otherwise><xsl:value-of select="$height_effective_px"/></xsl:otherwise>
                                            </xsl:choose>
                                        </xsl:variable>
                                        <xsl:value-of select="$height_effective_px_ div ($svg_height * $scale_x)"/>
                                    </xsl:when>
                                    <xsl:otherwise>1</xsl:otherwise>
                                </xsl:choose>
                            </xsl:variable>

                             <!-- for images with big height -->
                            <!-- <xsl:if test="$svg_height &gt; ($svg_width * 1.4)">
                                <xsl:variable name="width" select="(($svg_width * 1.4) div $svg_height) * 100"/>
                                <xsl:attribute name="width"><xsl:value-of select="$width"/>%</xsl:attribute>
                            </xsl:if> -->
                            <xsl:attribute name="scaling">uniform</xsl:attribute>

                            <xsl:if test="$scale_y != 1">
                                <xsl:attribute name="content-height"><xsl:value-of select="round($scale_x * $scale_y * 100)"/>%</xsl:attribute>
                            </xsl:if>

                            <xsl:copy-of select="$svg_content"/>
                        </fo:instream-foreign-object>
                    <!-- </fo:block> -->
                    </xsl:copy>
                </xsl:for-each>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- ============== -->
    <!-- svg_update     -->
    <!-- ============== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="svg_update">
        <xsl:copy>
                <xsl:apply-templates select="@*|node()" mode="svg_update"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'image']/@href" mode="svg_update">
        <xsl:attribute name="href" namespace="http://www.w3.org/1999/xlink">
            <xsl:value-of select="."/>
        </xsl:attribute>
    </xsl:template>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="regex_starts_with_digit">^[0-9].*</xsl:variable>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'svg'][not(@width and @height)]" mode="svg_update">
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="svg_update"/>
            <xsl:variable name="viewbox_">
                <xsl:call-template name="split">
                    <xsl:with-param name="pText" select="@viewBox"/>
                    <xsl:with-param name="sep" select="' '"/>
                </xsl:call-template>
            </xsl:variable>
            <xsl:variable name="viewbox" select="xalan:nodeset($viewbox_)"/>
            <xsl:variable name="width" select="normalize-space($viewbox//item[3])"/>
            <xsl:variable name="height" select="normalize-space($viewbox//item[4])"/>

            <xsl:variable name="parent_image_width" select="normalize-space(ancestor::*[1][local-name() = 'image']/@width)"/>
            <xsl:variable name="parent_image_height" select="normalize-space(ancestor::*[1][local-name() = 'image']/@height)"/>

            <xsl:attribute name="width">
                <xsl:choose>
                    <!-- width is non 'auto', 'text-width', 'full-page-width' or 'narrow' -->
                    <xsl:when test="$parent_image_width != '' and normalize-space(java:matches(java:java.lang.String.new($parent_image_width), $regex_starts_with_digit)) = 'true'"><xsl:value-of select="$parent_image_width"/></xsl:when>
                    <xsl:when test="$width != ''">
                        <xsl:value-of select="round($width)"/>
                    </xsl:when>
                    <xsl:otherwise>400</xsl:otherwise> <!-- default width -->
                </xsl:choose>
            </xsl:attribute>
            <xsl:attribute name="height">
                <xsl:choose>
                    <!-- height non 'auto', 'text-width', 'full-page-width' or 'narrow' -->
                    <xsl:when test="$parent_image_height != '' and normalize-space(java:matches(java:java.lang.String.new($parent_image_height), $regex_starts_with_digit)) = 'true'"><xsl:value-of select="$parent_image_height"/></xsl:when>
                    <xsl:when test="$height != ''">
                        <xsl:value-of select="round($height)"/>
                    </xsl:when>
                    <xsl:otherwise>400</xsl:otherwise> <!-- default height -->
                </xsl:choose>
            </xsl:attribute>

            <xsl:apply-templates mode="svg_update"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'svg']/@width" mode="svg_update">
        <!-- image[@width]/svg -->
        <xsl:variable name="parent_image_width" select="normalize-space(ancestor::*[2][local-name() = 'image']/@width)"/>
        <xsl:attribute name="width">
            <xsl:choose>
                <xsl:when test="$parent_image_width != '' and normalize-space(java:matches(java:java.lang.String.new($parent_image_width), $regex_starts_with_digit)) = 'true'"><xsl:value-of select="$parent_image_width"/></xsl:when>
                <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'svg']/@height" mode="svg_update">
        <!-- image[@height]/svg -->
        <xsl:variable name="parent_image_height" select="normalize-space(ancestor::*[2][local-name() = 'image']/@height)"/>
        <xsl:attribute name="height">
            <xsl:choose>
                <xsl:when test="$parent_image_height != '' and normalize-space(java:matches(java:java.lang.String.new($parent_image_height), $regex_starts_with_digit)) = 'true'"><xsl:value-of select="$parent_image_height"/></xsl:when>
                <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
    </xsl:template>

    <!-- regex for 'display: inline-block;' -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="regex_svg_style_notsupported">display(\s|\h)*:(\s|\h)*inline-block(\s|\h)*;</xsl:variable>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'svg']//*[local-name() = 'style']/text()" mode="svg_update">
        <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.), $regex_svg_style_notsupported, '')"/>
    </xsl:template>

    <!-- replace
            stroke="rgba(r, g, b, alpha)" to 
            stroke="rgb(r,g,b)" stroke-opacity="alpha", and
            fill="rgba(r, g, b, alpha)" to 
            fill="rgb(r,g,b)" fill-opacity="alpha" -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*[local-name() = 'stroke' or local-name() = 'fill'][starts-with(normalize-space(.), 'rgba')]" mode="svg_update">
        <xsl:variable name="components_">
            <xsl:call-template name="split">
                <xsl:with-param name="pText" select="substring-before(substring-after(., '('), ')')"/>
                <xsl:with-param name="sep" select="','"/>
            </xsl:call-template>
        </xsl:variable>
        <xsl:variable name="components" select="xalan:nodeset($components_)"/>
        <xsl:variable name="att_name" select="local-name()"/>
        <xsl:attribute name="{$att_name}"><xsl:value-of select="concat('rgb(', $components/item[1], ',', $components/item[2], ',', $components/item[3], ')')"/></xsl:attribute>
        <xsl:attribute name="{$att_name}-opacity"><xsl:value-of select="$components/item[4]"/></xsl:attribute>
    </xsl:template>

    <!-- ============== -->
    <!-- END: svg_update -->
    <!-- ============== -->

    <!-- image with svg and emf -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure']/*[local-name() = 'image'][*[local-name() = 'svg']]" priority="3">
        <xsl:variable name="name" select="ancestor::*[local-name() = 'figure']/*[local-name() = 'name']"/>
        <xsl:for-each select="*[local-name() = 'svg']">
            <xsl:call-template name="image_svg">
                <xsl:with-param name="name" select="$name"/>
            </xsl:call-template>
        </xsl:for-each>
    </xsl:template>

    <!-- For the structures like: <dt><image src="" mimetype="image/svg+xml" height="" width=""><svg xmlns="http://www.w3.org/2000/svg" ... -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() != 'figure']/*[local-name() = 'image'][*[local-name() = 'svg']]" priority="3">
        <xsl:for-each select="*[local-name() = 'svg']">
            <xsl:call-template name="image_svg"/>
        </xsl:for-each>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure']/*[local-name() = 'image'][@mimetype = 'image/svg+xml' and @src[not(starts-with(., 'data:image/'))]]" priority="2">
        <xsl:variable name="svg_content" select="document(@src)"/>
        <xsl:variable name="name" select="ancestor::*[local-name() = 'figure']/*[local-name() = 'name']"/>
        <xsl:for-each select="xalan:nodeset($svg_content)/node()">
            <xsl:call-template name="image_svg">
                <xsl:with-param name="name" select="$name"/>
            </xsl:call-template>
        </xsl:for-each>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="svg_remove_a">
        <xsl:copy>
                <xsl:apply-templates select="@*|node()" mode="svg_remove_a"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'a']" mode="svg_remove_a">
        <xsl:apply-templates mode="svg_remove_a"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'a']" mode="svg_imagemap_links">
        <xsl:param name="scale"/>
        <xsl:variable name="dest">
            <xsl:choose>
                <xsl:when test="starts-with(@href, '#')">
                    <xsl:value-of select="substring-after(@href, '#')"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="@href"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:for-each select="./*[local-name() = 'rect']">
            <xsl:call-template name="insertSVGMapLink">
                <xsl:with-param name="left" select="floor(@x * $scale)"/>
                <xsl:with-param name="top" select="floor(@y * $scale)"/>
                <xsl:with-param name="width" select="floor(@width * $scale)"/>
                <xsl:with-param name="height" select="floor(@height * $scale)"/>
                <xsl:with-param name="dest" select="$dest"/>
            </xsl:call-template>
        </xsl:for-each>

        <xsl:for-each select="./*[local-name() = 'polygon']">
            <xsl:variable name="points">
                <xsl:call-template name="split">
                    <xsl:with-param name="pText" select="@points"/>
                </xsl:call-template>
            </xsl:variable>
            <xsl:variable name="x_coords">
                <xsl:for-each select="xalan:nodeset($points)//item[position() mod 2 = 1]">
                    <xsl:sort select="." data-type="number"/>
                    <x><xsl:value-of select="."/></x>
                </xsl:for-each>
            </xsl:variable>
            <xsl:variable name="y_coords">
                <xsl:for-each select="xalan:nodeset($points)//item[position() mod 2 = 0]">
                    <xsl:sort select="." data-type="number"/>
                    <y><xsl:value-of select="."/></y>
                </xsl:for-each>
            </xsl:variable>
            <xsl:variable name="x" select="xalan:nodeset($x_coords)//x[1]"/>
            <xsl:variable name="y" select="xalan:nodeset($y_coords)//y[1]"/>
            <xsl:variable name="width" select="xalan:nodeset($x_coords)//x[last()] - $x"/>
            <xsl:variable name="height" select="xalan:nodeset($y_coords)//y[last()] - $y"/>
            <xsl:call-template name="insertSVGMapLink">
                <xsl:with-param name="left" select="floor($x * $scale)"/>
                <xsl:with-param name="top" select="floor($y * $scale)"/>
                <xsl:with-param name="width" select="floor($width * $scale)"/>
                <xsl:with-param name="height" select="floor($height * $scale)"/>
                <xsl:with-param name="dest" select="$dest"/>
            </xsl:call-template>
        </xsl:for-each>

        <xsl:for-each select="./*[local-name() = 'circle']">
            <xsl:call-template name="insertSVGMapLink">
                <xsl:with-param name="left" select="floor((@cx - @r) * $scale)"/>
                <xsl:with-param name="top" select="floor((@cy - @r) * $scale)"/>
                <xsl:with-param name="width" select="floor(@r * 2 * $scale)"/>
                <xsl:with-param name="height" select="floor(@r * 2 * $scale)"/>
                <xsl:with-param name="dest" select="$dest"/>
            </xsl:call-template>
        </xsl:for-each>
        <xsl:for-each select="./*[local-name() = 'ellipse']">
            <xsl:call-template name="insertSVGMapLink">
                <xsl:with-param name="left" select="floor((@cx - @rx) * $scale)"/>
                <xsl:with-param name="top" select="floor((@cy - @ry) * $scale)"/>
                <xsl:with-param name="width" select="floor(@rx * 2 * $scale)"/>
                <xsl:with-param name="height" select="floor(@ry * 2 * $scale)"/>
                <xsl:with-param name="dest" select="$dest"/>
            </xsl:call-template>
        </xsl:for-each>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertSVGMapLink">
        <xsl:param name="left"/>
        <xsl:param name="top"/>
        <xsl:param name="width"/>
        <xsl:param name="height"/>
        <xsl:param name="dest"/>
        <fo:block-container position="absolute" left="{$left}px" top="{$top}px" width="{$width}px" height="{$height}px">
         <fo:block font-size="1pt">
            <xsl:call-template name="insert_basic_link">
                <xsl:with-param name="element">
                    <fo:basic-link internal-destination="{$dest}" fox:alt-text="svg link">
                        <fo:inline-container inline-progression-dimension="100%">
                            <fo:block-container height="{$height - 1}px" width="100%">
                                <!-- DEBUG <xsl:if test="local-name()='polygon'">
                                    <xsl:attribute name="background-color">magenta</xsl:attribute>
                                </xsl:if> -->
                            <fo:block> </fo:block></fo:block-container>
                        </fo:inline-container>
                    </fo:basic-link>
                </xsl:with-param>
            </xsl:call-template>
         </fo:block>
      </fo:block-container>
    </xsl:template>
    <!-- =================== -->
    <!-- End SVG images processing -->
    <!-- =================== -->

    <!-- ignore emf processing (Apache FOP doesn't support EMF) -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'emf']"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure']/*[local-name() = 'name'] |                *[local-name() = 'table']/*[local-name() = 'name'] |               *[local-name() = 'permission']/*[local-name() = 'name'] |               *[local-name() = 'recommendation']/*[local-name() = 'name'] |               *[local-name() = 'requirement']/*[local-name() = 'name']" mode="contents">
        <xsl:apply-templates mode="contents"/>
        <xsl:text> </xsl:text>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure']/*[local-name() = 'name'] |                *[local-name() = 'table']/*[local-name() = 'name'] |               *[local-name() = 'permission']/*[local-name() = 'name'] |               *[local-name() = 'recommendation']/*[local-name() = 'name'] |               *[local-name() = 'requirement']/*[local-name() = 'name'] |               *[local-name() = 'sourcecode']/*[local-name() = 'name']" mode="bookmarks">
        <xsl:apply-templates mode="bookmarks"/>
        <xsl:text> </xsl:text>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure' or local-name() = 'table' or local-name() = 'permission' or local-name() = 'recommendation' or local-name() = 'requirement']/*[local-name() = 'name']/text()" mode="contents" priority="2">
        <xsl:value-of select="."/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure' or local-name() = 'table' or local-name() = 'permission' or local-name() = 'recommendation' or local-name() = 'requirement' or local-name() = 'sourcecode']/*[local-name() = 'name']//text()" mode="bookmarks" priority="2">
        <xsl:value-of select="."/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'add'][starts-with(., $ace_tag)]/text()" mode="bookmarks" priority="3"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="node()" mode="contents">
        <xsl:apply-templates mode="contents"/>
    </xsl:template>

    <!-- special case: ignore preface/section-title and sections/section-title without @displayorder  -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'preface' or local-name() = 'sections']/*[local-name() = 'p'][@type = 'section-title' and not(@displayorder)]" priority="3" mode="contents"/>
    <!-- process them by demand (mode="contents_no_displayorder") -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'p'][@type = 'section-title' and not(@displayorder)]" mode="contents_no_displayorder">
        <xsl:call-template name="contents_section-title"/>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'p'][@type = 'section-title']" mode="contents_in_clause">
        <xsl:call-template name="contents_section-title"/>
    </xsl:template>

    <!-- special case: ignore section-title if @depth different than @depth of parent clause, or @depth of parent clause = 1 -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'clause']/*[local-name() = 'p'][@type = 'section-title' and (@depth != ../*[local-name() = 'title']/@depth or ../*[local-name() = 'title']/@depth = 1)]" priority="3" mode="contents"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'p'][@type = 'floating-title' or @type = 'section-title']" priority="2" name="contents_section-title" mode="contents">
        <xsl:variable name="level">
            <xsl:call-template name="getLevel">
                <xsl:with-param name="depth" select="@depth"/>
            </xsl:call-template>
        </xsl:variable>

        <xsl:variable name="section">
            <xsl:choose>
                <xsl:when test="@type = 'section-title'"/>
                <xsl:otherwise>
                    <xsl:value-of select="*[local-name() = 'tab'][1]/preceding-sibling::node()"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:variable name="type"><xsl:value-of select="@type"/></xsl:variable>

        <xsl:variable name="display">
            <xsl:choose>
                <xsl:when test="normalize-space(@id) = ''">false</xsl:when>
                <xsl:when test="$level &lt;= $toc_level">true</xsl:when>
                <xsl:otherwise>false</xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:variable name="skip">false</xsl:variable>

        <xsl:if test="$skip = 'false'">

            <xsl:variable name="title">
                <xsl:choose>
                    <xsl:when test="*[local-name() = 'tab']">
                        <xsl:choose>
                            <xsl:when test="@type = 'section-title'">
                                <xsl:value-of select="*[local-name() = 'tab'][1]/preceding-sibling::node()"/>
                                <xsl:text>: </xsl:text>
                                <xsl:copy-of select="*[local-name() = 'tab'][1]/following-sibling::node()"/>
                            </xsl:when>
                            <xsl:otherwise>
                                <xsl:copy-of select="*[local-name() = 'tab'][1]/following-sibling::node()"/>
                            </xsl:otherwise>
                        </xsl:choose>
                    </xsl:when>
                    <xsl:otherwise>
                        <xsl:copy-of select="node()"/>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:variable>

            <xsl:variable name="root">
                <xsl:if test="ancestor-or-self::*[local-name() = 'preface']">preface</xsl:if>
                <xsl:if test="ancestor-or-self::*[local-name() = 'annex']">annex</xsl:if>
            </xsl:variable>

            <item id="{@id}" level="{$level}" section="{$section}" type="{$type}" root="{$root}" display="{$display}">
                <title>
                    <xsl:apply-templates select="xalan:nodeset($title)" mode="contents_item"/>
                </title>
            </item>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="node()" mode="bookmarks">
        <xsl:apply-templates mode="bookmarks"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'title' or local-name() = 'name']//*[local-name() = 'stem']" mode="contents">
        <xsl:apply-templates select="."/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'references'][@hidden='true']" mode="contents" priority="3"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'references']/*[local-name() = 'bibitem']" mode="contents"/>

    <!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'span']" mode="contents">
        <xsl:apply-templates mode="contents"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'stem']" mode="bookmarks">
        <xsl:apply-templates mode="bookmarks"/>
    </xsl:template>

    <!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'span']" mode="bookmarks">
        <xsl:apply-templates mode="bookmarks"/>
    </xsl:template>

    <!-- Bookmarks -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="addBookmarks">
        <xsl:param name="contents"/>
        <xsl:variable name="contents_nodes" select="xalan:nodeset($contents)"/>
        <xsl:if test="$contents_nodes//item">
            <fo:bookmark-tree>
                <xsl:choose>
                    <xsl:when test="$contents_nodes/doc">
                        <xsl:choose>
                            <xsl:when test="count($contents_nodes/doc) &gt; 1">

                                <xsl:if test="$contents_nodes/collection">
                                    <fo:bookmark internal-destination="{$contents/collection/@firstpage_id}">
                                        <fo:bookmark-title>collection.pdf</fo:bookmark-title>
                                    </fo:bookmark>
                                </xsl:if>

                                <xsl:for-each select="$contents_nodes/doc">
                                    <fo:bookmark internal-destination="{contents/item[@display = 'true'][1]/@id}" starting-state="hide">
                                        <xsl:if test="@bundle = 'true'">
                                            <xsl:attribute name="internal-destination"><xsl:value-of select="@firstpage_id"/></xsl:attribute>
                                        </xsl:if>
                                        <fo:bookmark-title>
                                            <xsl:choose>
                                                <xsl:when test="not(normalize-space(@bundle) = 'true')"> <!-- 'bundle' means several different documents (not language versions) in one xml -->
                                                    <xsl:variable name="bookmark-title_">
                                                        <xsl:call-template name="getLangVersion">
                                                            <xsl:with-param name="lang" select="@lang"/>
                                                            <xsl:with-param name="doctype" select="@doctype"/>
                                                            <xsl:with-param name="title" select="@title-part"/>
                                                        </xsl:call-template>
                                                    </xsl:variable>
                                                    <xsl:choose>
                                                        <xsl:when test="normalize-space($bookmark-title_) != ''">
                                                            <xsl:value-of select="normalize-space($bookmark-title_)"/>
                                                        </xsl:when>
                                                        <xsl:otherwise>
                                                            <xsl:choose>
                                                                <xsl:when test="@lang = 'en'">English</xsl:when>
                                                                <xsl:when test="@lang = 'fr'">Français</xsl:when>
                                                                <xsl:when test="@lang = 'de'">Deutsche</xsl:when>
                                                                <xsl:otherwise><xsl:value-of select="@lang"/> version</xsl:otherwise>
                                                            </xsl:choose>
                                                        </xsl:otherwise>
                                                    </xsl:choose>
                                                </xsl:when>
                                                <xsl:otherwise>
                                                    <xsl:value-of select="@title-part"/>
                                                </xsl:otherwise>
                                            </xsl:choose>
                                        </fo:bookmark-title>

                                        <xsl:apply-templates select="contents/item" mode="bookmark"/>

                                        <xsl:call-template name="insertFigureBookmarks">
                                            <xsl:with-param name="contents" select="contents"/>
                                        </xsl:call-template>

                                        <xsl:call-template name="insertTableBookmarks">
                                            <xsl:with-param name="contents" select="contents"/>
                                            <xsl:with-param name="lang" select="@lang"/>
                                        </xsl:call-template>

                                    </fo:bookmark>

                                </xsl:for-each>
                            </xsl:when>
                            <xsl:otherwise>
                                <xsl:for-each select="$contents_nodes/doc">

                                    <xsl:apply-templates select="contents/item" mode="bookmark"/>

                                    <xsl:call-template name="insertFigureBookmarks">
                                        <xsl:with-param name="contents" select="contents"/>
                                    </xsl:call-template>

                                    <xsl:call-template name="insertTableBookmarks">
                                        <xsl:with-param name="contents" select="contents"/>
                                        <xsl:with-param name="lang" select="@lang"/>
                                    </xsl:call-template>

                                </xsl:for-each>
                            </xsl:otherwise>
                        </xsl:choose>
                    </xsl:when>
                    <xsl:otherwise>
                        <xsl:apply-templates select="$contents_nodes/contents/item" mode="bookmark"/>

                        <xsl:call-template name="insertFigureBookmarks">
                            <xsl:with-param name="contents" select="$contents_nodes/contents"/>
                        </xsl:call-template>

                        <xsl:call-template name="insertTableBookmarks">
                            <xsl:with-param name="contents" select="$contents_nodes/contents"/>
                            <xsl:with-param name="lang" select="@lang"/>
                        </xsl:call-template>

                    </xsl:otherwise>
                </xsl:choose>

            </fo:bookmark-tree>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertFigureBookmarks">
        <xsl:param name="contents"/>
        <xsl:variable name="contents_nodes" select="xalan:nodeset($contents)"/>
        <xsl:if test="$contents_nodes/figure">
            <fo:bookmark internal-destination="{$contents_nodes/figure[1]/@id}" starting-state="hide">
                <fo:bookmark-title>Figures</fo:bookmark-title>
                <xsl:for-each select="$contents_nodes/figure">
                    <fo:bookmark internal-destination="{@id}">
                        <fo:bookmark-title>
                            <xsl:value-of select="normalize-space(title)"/>
                        </fo:bookmark-title>
                    </fo:bookmark>
                </xsl:for-each>
            </fo:bookmark>
        </xsl:if>

                <xsl:if test="$contents_nodes//figures/figure">
                    <fo:bookmark internal-destination="empty_bookmark" starting-state="hide">

                        <xsl:variable name="bookmark-title">

                                    <xsl:value-of select="$title-list-figures"/>

                        </xsl:variable>
                        <fo:bookmark-title><xsl:value-of select="normalize-space($bookmark-title)"/></fo:bookmark-title>
                        <xsl:for-each select="$contents_nodes//figures/figure">
                            <fo:bookmark internal-destination="{@id}">
                                <fo:bookmark-title><xsl:value-of select="normalize-space(.)"/></fo:bookmark-title>
                            </fo:bookmark>
                        </xsl:for-each>
                    </fo:bookmark>
                </xsl:if>

    </xsl:template> <!-- insertFigureBookmarks -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertTableBookmarks">
        <xsl:param name="contents"/>
        <xsl:param name="lang"/>
        <xsl:variable name="contents_nodes" select="xalan:nodeset($contents)"/>
        <xsl:if test="$contents_nodes/table">
            <fo:bookmark internal-destination="{$contents_nodes/table[1]/@id}" starting-state="hide">
                <fo:bookmark-title>
                    <xsl:choose>
                        <xsl:when test="$lang = 'fr'">Tableaux</xsl:when>
                        <xsl:otherwise>Tables</xsl:otherwise>
                    </xsl:choose>
                </fo:bookmark-title>
                <xsl:for-each select="$contents_nodes/table">
                    <fo:bookmark internal-destination="{@id}">
                        <fo:bookmark-title>
                            <xsl:value-of select="normalize-space(title)"/>
                        </fo:bookmark-title>
                    </fo:bookmark>
                </xsl:for-each>
            </fo:bookmark>
        </xsl:if>

                <xsl:if test="$contents_nodes//tables/table">
                    <fo:bookmark internal-destination="empty_bookmark" starting-state="hide">

                        <xsl:variable name="bookmark-title">

                                    <xsl:value-of select="$title-list-tables"/>

                        </xsl:variable>

                        <fo:bookmark-title><xsl:value-of select="$bookmark-title"/></fo:bookmark-title>

                        <xsl:for-each select="$contents_nodes//tables/table">
                            <fo:bookmark internal-destination="{@id}">
                                <fo:bookmark-title><xsl:value-of select="normalize-space(.)"/></fo:bookmark-title>
                            </fo:bookmark>
                        </xsl:for-each>
                    </fo:bookmark>
                </xsl:if>

    </xsl:template> <!-- insertTableBookmarks -->
    <!-- End Bookmarks -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getLangVersion">
        <xsl:param name="lang"/>
        <xsl:param name="doctype" select="''"/>
        <xsl:param name="title" select="''"/>
        <xsl:choose>
            <xsl:when test="$lang = 'en'">

                </xsl:when>
            <xsl:when test="$lang = 'fr'">

            </xsl:when>
            <xsl:when test="$lang = 'de'">Deutsche</xsl:when>
            <xsl:otherwise><xsl:value-of select="$lang"/> version</xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="item" mode="bookmark">
        <xsl:choose>
            <xsl:when test="@id != ''">
                <fo:bookmark internal-destination="{@id}" starting-state="hide">
                    <fo:bookmark-title>
                        <xsl:if test="@section != ''">
                            <xsl:value-of select="@section"/>
                            <xsl:text> </xsl:text>
                        </xsl:if>
                        <xsl:variable name="title">
                            <xsl:for-each select="title/node()">
                                <xsl:choose>
                                    <xsl:when test="local-name() = 'add' and starts-with(., $ace_tag)"><!-- skip --></xsl:when>
                                    <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
                                </xsl:choose>
                            </xsl:for-each>
                        </xsl:variable>
                        <xsl:value-of select="normalize-space($title)"/>
                    </fo:bookmark-title>
                    <xsl:apply-templates mode="bookmark"/>
                </fo:bookmark>
            </xsl:when>
            <xsl:otherwise>
                <xsl:apply-templates mode="bookmark"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="title" mode="bookmark"/>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="text()" mode="bookmark"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure']/*[local-name() = 'name'] |         *[local-name() = 'image']/*[local-name() = 'name']">
        <xsl:if test="normalize-space() != ''">
            <fo:block xsl:use-attribute-sets="figure-name-style">

                <xsl:call-template name="refine_figure-name-style"/>

                <xsl:apply-templates/>
            </fo:block>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure']/*[local-name() = 'fn']" priority="2"/>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure']/*[local-name() = 'note']"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure']/*[local-name() = 'note'][@type = 'units'] |         *[local-name() = 'image']/*[local-name() = 'note'][@type = 'units']" priority="2">
        <fo:block text-align="right" keep-with-next="always">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <!-- ====== -->
    <!-- ====== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'title']" mode="contents_item">
        <xsl:param name="mode">bookmarks</xsl:param>
        <xsl:apply-templates mode="contents_item">
            <xsl:with-param name="mode" select="$mode"/>
        </xsl:apply-templates>
        <!-- <xsl:text> </xsl:text> -->
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getSection">
        <xsl:value-of select="*[local-name() = 'title']/*[local-name() = 'tab'][1]/preceding-sibling::node()"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getName">
        <xsl:choose>
            <xsl:when test="*[local-name() = 'title']/*[local-name() = 'tab']">
                <xsl:copy-of select="*[local-name() = 'title']/*[local-name() = 'tab'][1]/following-sibling::node()"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:copy-of select="*[local-name() = 'title']/node()"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertTitleAsListItem">
        <xsl:param name="provisional-distance-between-starts" select="'9.5mm'"/>
        <xsl:variable name="section">
            <xsl:for-each select="..">
                <xsl:call-template name="getSection"/>
            </xsl:for-each>
        </xsl:variable>
        <fo:list-block provisional-distance-between-starts="{$provisional-distance-between-starts}">
            <fo:list-item>
                <fo:list-item-label end-indent="label-end()">
                    <fo:block>
                        <xsl:value-of select="$section"/>
                    </fo:block>
                </fo:list-item-label>
                <fo:list-item-body start-indent="body-start()">
                    <fo:block>
                        <xsl:choose>
                            <xsl:when test="*[local-name() = 'tab']">
                                <xsl:apply-templates select="*[local-name() = 'tab'][1]/following-sibling::node()"/>
                            </xsl:when>
                            <xsl:otherwise>
                                <xsl:apply-templates/>
                                <xsl:apply-templates select="following-sibling::*[1][local-name() = 'variant-title'][@type = 'sub']" mode="subtitle"/>
                            </xsl:otherwise>
                        </xsl:choose>
                    </fo:block>
                </fo:list-item-body>
            </fo:list-item>
        </fo:list-block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="extractSection">
        <xsl:value-of select="*[local-name() = 'tab'][1]/preceding-sibling::node()"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="extractTitle">
        <xsl:choose>
                <xsl:when test="*[local-name() = 'tab']">
                    <xsl:apply-templates select="*[local-name() = 'tab'][1]/following-sibling::node()"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:apply-templates/>
                </xsl:otherwise>
            </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'fn']" mode="contents"/>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'fn']" mode="bookmarks"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'fn']" mode="contents_item"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'xref'] | *[local-name() = 'eref']" mode="contents">
        <xsl:value-of select="."/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'review']" mode="contents_item"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'tab']" mode="contents_item">
        <xsl:text> </xsl:text>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'strong']" mode="contents_item">
        <xsl:param name="element"/>
        <xsl:copy>
            <xsl:apply-templates mode="contents_item">
                <xsl:with-param name="element" select="$element"/>
            </xsl:apply-templates>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'em']" mode="contents_item">
        <xsl:copy>
            <xsl:apply-templates mode="contents_item"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'sub']" mode="contents_item">
        <xsl:copy>
            <xsl:apply-templates mode="contents_item"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'sup']" mode="contents_item">
        <xsl:copy>
            <xsl:apply-templates mode="contents_item"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'stem']" mode="contents_item">
        <xsl:copy-of select="."/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'br']" mode="contents_item">
        <xsl:text> </xsl:text>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'name']" mode="contents_item">
        <xsl:param name="mode">bookmarks</xsl:param>
        <xsl:apply-templates mode="contents_item">
            <xsl:with-param name="mode" select="$mode"/>
        </xsl:apply-templates>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'add']" mode="contents_item">
        <xsl:param name="mode">bookmarks</xsl:param>
        <xsl:choose>
            <xsl:when test="starts-with(text(), $ace_tag)">
                <xsl:if test="$mode = 'contents'">
                    <xsl:copy>
                        <xsl:apply-templates mode="contents_item"/>
                    </xsl:copy>
                </xsl:if>
            </xsl:when>
            <xsl:otherwise><xsl:apply-templates mode="contents_item"/></xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="text()" mode="contents_item">
        <xsl:variable name="text">
            <!-- to split by '_' and other chars -->
            <text><xsl:call-template name="add-zero-spaces-java"/></text>
        </xsl:variable>
        <xsl:for-each select="xalan:nodeset($text)/text/text()">
            <xsl:call-template name="keep_together_standard_number"/>
        </xsl:for-each>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'add'][starts-with(., $ace_tag)]/text()" mode="contents_item" priority="2">
        <xsl:value-of select="."/>
    </xsl:template>

    <!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'span']" mode="contents_item">
        <xsl:param name="element"/>
        <xsl:apply-templates mode="contents_item">
            <xsl:with-param name="element" select="$element"/>
        </xsl:apply-templates>
    </xsl:template>

    <!-- =============== -->
    <!-- sourcecode  -->
    <!-- =============== -->

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="source-highlighter-css_" select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'source-highlighter-css']"/>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="sourcecode_css_" select="java:org.metanorma.fop.Util.parseCSS($source-highlighter-css_)"/>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="sourcecode_css" select="xalan:nodeset($sourcecode_css_)"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'property']" mode="css">
        <xsl:attribute name="{@name}">
            <xsl:value-of select="@value"/>
        </xsl:attribute>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="get_sourcecode_attributes">
        <xsl:element name="sourcecode_attributes" use-attribute-sets="sourcecode-style">
            <xsl:variable name="_font-size">

                <!-- inherit -->

                <!-- <xsl:if test="$namespace = 'ieee'">                            
                    <xsl:if test="$current_template = 'standard'">8</xsl:if>
                </xsl:if> -->

            </xsl:variable>

            <xsl:variable name="font-size" select="normalize-space($_font-size)"/>
            <xsl:if test="$font-size != ''">
                <xsl:attribute name="font-size">
                    <xsl:choose>
                        <xsl:when test="$font-size = 'inherit'"><xsl:value-of select="$font-size"/></xsl:when>
                        <xsl:when test="contains($font-size, '%')"><xsl:value-of select="$font-size"/></xsl:when>
                        <xsl:when test="ancestor::*[local-name()='note']"><xsl:value-of select="$font-size * 0.91"/>pt</xsl:when>
                        <xsl:otherwise><xsl:value-of select="$font-size"/>pt</xsl:otherwise>
                    </xsl:choose>
                </xsl:attribute>
            </xsl:if>
            <xsl:apply-templates select="$sourcecode_css//class[@name = 'sourcecode']" mode="css"/>
        </xsl:element>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='sourcecode']" name="sourcecode">

        <xsl:variable name="sourcecode_attributes">
            <xsl:call-template name="get_sourcecode_attributes"/>
        </xsl:variable>

    <!-- <xsl:copy-of select="$sourcecode_css"/> -->

        <xsl:choose>
            <xsl:when test="$isGenerateTableIF = 'true' and (ancestor::*[local-name() = 'td'] or ancestor::*[local-name() = 'th'])">
                <xsl:for-each select="xalan:nodeset($sourcecode_attributes)/sourcecode_attributes/@*">
                    <xsl:attribute name="{local-name()}">
                        <xsl:value-of select="."/>
                    </xsl:attribute>
                </xsl:for-each>
                <xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
            </xsl:when>

            <xsl:otherwise>
                <fo:block-container xsl:use-attribute-sets="sourcecode-container-style" role="SKIP">

                    <xsl:if test="not(ancestor::*[local-name() = 'li']) or ancestor::*[local-name() = 'example']">
                        <xsl:attribute name="margin-left">0mm</xsl:attribute>
                    </xsl:if>

                    <xsl:if test="ancestor::*[local-name() = 'example']">
                        <xsl:attribute name="margin-right">0mm</xsl:attribute>
                    </xsl:if>

                    <xsl:copy-of select="@id"/>

                    <xsl:if test="parent::*[local-name() = 'note']">
                        <xsl:attribute name="margin-left">
                            <xsl:choose>
                                <xsl:when test="not(ancestor::*[local-name() = 'table'])"><xsl:value-of select="$note-body-indent"/></xsl:when>
                                <xsl:otherwise><xsl:value-of select="$note-body-indent-table"/></xsl:otherwise>
                            </xsl:choose>
                        </xsl:attribute>

                    </xsl:if>
                    <fo:block-container margin-left="0mm" role="SKIP">

                        <fo:block xsl:use-attribute-sets="sourcecode-style">

                            <xsl:for-each select="xalan:nodeset($sourcecode_attributes)/sourcecode_attributes/@*">
                                <xsl:attribute name="{local-name()}">
                                    <xsl:value-of select="."/>
                                </xsl:attribute>
                            </xsl:for-each>

                            <xsl:call-template name="refine_sourcecode-style"/>

                            <!-- remove margin between rows in the table with sourcecode line numbers -->
                            <xsl:if test="ancestor::*[local-name() = 'sourcecode'][@linenums = 'true'] and ancestor::*[local-name() = 'tr'][1]/following-sibling::*[local-name() = 'tr']">
                                <xsl:attribute name="margin-top">0pt</xsl:attribute>
                                <xsl:attribute name="margin-bottom">0pt</xsl:attribute>
                            </xsl:if>

                            <xsl:apply-templates select="node()[not(local-name() = 'name' or local-name() = 'dl')]"/>
                        </fo:block>

                        <xsl:apply-templates select="*[local-name() = 'dl']"/> <!-- Key table -->

                                <xsl:apply-templates select="*[local-name()='name']"/> <!-- show sourcecode's name AFTER content -->

                    </fo:block-container>
                </fo:block-container>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='sourcecode']/text() | *[local-name()='sourcecode']//*[local-name()='span']/text()" priority="2">
        <xsl:choose>
            <!-- disabled -->
            <xsl:when test="1 = 2 and normalize-space($syntax-highlight) = 'true' and normalize-space(../@lang) != ''"> <!-- condition for turn on of highlighting -->
                <xsl:variable name="syntax" select="java:org.metanorma.fop.Util.syntaxHighlight(., ../@lang)"/>
                <xsl:choose>
                    <xsl:when test="normalize-space($syntax) != ''"><!-- if there is highlighted result -->
                        <xsl:apply-templates select="xalan:nodeset($syntax)" mode="syntax_highlight"/> <!-- process span tags -->
                    </xsl:when>
                    <xsl:otherwise> <!-- if case of non-succesfull syntax highlight (for instance, unknown lang), process without highlighting -->
                        <xsl:call-template name="add_spaces_to_sourcecode"/>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:when>
            <xsl:otherwise>
                <xsl:call-template name="add_spaces_to_sourcecode"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- add sourcecode highlighting -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='sourcecode']//*[local-name()='span'][@class]" priority="2">
        <xsl:variable name="class" select="@class"/>

        <!-- Example: <1> -->
        <xsl:variable name="is_callout">
            <xsl:if test="parent::*[local-name() = 'dt']">
                <xsl:variable name="dt_id" select="../@id"/>
                <xsl:if test="ancestor::*[local-name() = 'sourcecode']//*[local-name() = 'callout'][@target = $dt_id]">true</xsl:if>
            </xsl:if>
        </xsl:variable>

        <xsl:choose>
            <xsl:when test="$sourcecode_css//class[@name = $class]">
                <fo:inline>
                    <xsl:apply-templates select="$sourcecode_css//class[@name = $class]" mode="css"/>
                    <xsl:if test="$is_callout = 'true'">&lt;</xsl:if>
                    <xsl:apply-templates/>
                    <xsl:if test="$is_callout = 'true'">&gt;</xsl:if>
                </fo:inline>
            </xsl:when>
            <xsl:otherwise>
                <xsl:apply-templates/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- outer table with line numbers for sourcecode -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'sourcecode'][@linenums = 'true']/*[local-name()='table']" priority="2"> <!-- *[local-name()='table'][@type = 'sourcecode'] |  -->
        <fo:block>
            <fo:table width="100%" table-layout="fixed">
                <xsl:copy-of select="@id"/>
                    <fo:table-column column-width="8%"/>
                    <fo:table-column column-width="92%"/>
                    <fo:table-body>
                        <xsl:apply-templates/>
                    </fo:table-body>
            </fo:table>
        </fo:block>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'sourcecode'][@linenums = 'true']/*[local-name()='table']/*[local-name() = 'tbody']" priority="2"> <!-- *[local-name()='table'][@type = 'sourcecode']/*[local-name() = 'tbody'] |  -->
        <xsl:apply-templates/>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'sourcecode'][@linenums = 'true']/*[local-name()='table']//*[local-name()='tr']" priority="2"> <!-- *[local-name()='table'][@type = 'sourcecode']//*[local-name()='tr'] |  -->
        <fo:table-row>
            <xsl:apply-templates/>
        </fo:table-row>
    </xsl:template>
    <!-- first td with line numbers -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'sourcecode'][@linenums = 'true']/*[local-name()='table']//*[local-name()='tr']/*[local-name()='td'][not(preceding-sibling::*)]" priority="2"> <!-- *[local-name()='table'][@type = 'sourcecode'] -->
        <fo:table-cell>
            <fo:block>

                <!-- set attibutes for line numbers - same as sourcecode -->
                <xsl:variable name="sourcecode_attributes">
                    <xsl:for-each select="following-sibling::*[local-name() = 'td']/*[local-name() = 'sourcecode']">
                        <xsl:call-template name="get_sourcecode_attributes"/>
                    </xsl:for-each>
                </xsl:variable>
                <xsl:for-each select="xalan:nodeset($sourcecode_attributes)/sourcecode_attributes/@*[not(starts-with(local-name(), 'margin-') or starts-with(local-name(), 'space-'))]">
                    <xsl:attribute name="{local-name()}">
                        <xsl:value-of select="."/>
                    </xsl:attribute>
                </xsl:for-each>

                <xsl:apply-templates/>
            </fo:block>
        </fo:table-cell>
    </xsl:template>

    <!-- second td with sourcecode -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'sourcecode'][@linenums = 'true']/*[local-name()='table']//*[local-name()='tr']/*[local-name()='td'][preceding-sibling::*]" priority="2"> <!-- *[local-name()='table'][@type = 'sourcecode'] -->
        <fo:table-cell>
            <fo:block role="SKIP">
                <xsl:apply-templates/>
            </fo:block>
        </fo:table-cell>
    </xsl:template>
    <!-- END outer table with line numbers for sourcecode -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="add_spaces_to_sourcecode">
        <xsl:variable name="text_step1">
            <xsl:call-template name="add-zero-spaces-equal"/>
        </xsl:variable>
        <xsl:variable name="text_step2">
            <xsl:call-template name="add-zero-spaces-java">
                <xsl:with-param name="text" select="$text_step1"/>
            </xsl:call-template>
        </xsl:variable>

        <!-- <xsl:value-of select="$text_step2"/> -->

        <!-- add zero-width space after space -->
        <xsl:variable name="text_step3" select="java:replaceAll(java:java.lang.String.new($text_step2),' ',' ​')"/>

        <!-- split text by zero-width space -->
        <xsl:variable name="text_step4">
            <xsl:call-template name="split_for_interspers">
                <xsl:with-param name="pText" select="$text_step3"/>
                <xsl:with-param name="sep" select="$zero_width_space"/>
            </xsl:call-template>
        </xsl:variable>

        <xsl:for-each select="xalan:nodeset($text_step4)/node()">
            <xsl:choose>
                <xsl:when test="local-name() = 'interspers'"> <!-- word with length more than 30 will be interspersed with zero-width space -->
                    <xsl:call-template name="interspers-java">
                        <xsl:with-param name="str" select="."/>
                    </xsl:call-template>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="."/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:for-each>

    </xsl:template> <!-- add_spaces_to_sourcecode -->

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="interspers_tag_open">###interspers123###</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="interspers_tag_close">###/interspers123###</xsl:variable>
    <!-- split string by separator for interspers -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="split_for_interspers">
        <xsl:param name="pText" select="."/>
        <xsl:param name="sep" select="','"/>
        <!-- word with length more than 30 will be interspersed with zero-width space -->
        <xsl:variable name="regex" select="concat('([^', $zero_width_space, ']{31,})')"/> <!-- sequence of characters (more 31), that doesn't contains zero-width space -->
        <xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new($pText),$regex,concat($interspers_tag_open,'$1',$interspers_tag_close))"/>
        <xsl:call-template name="replace_tag_interspers">
            <xsl:with-param name="text" select="$text"/>
        </xsl:call-template>
    </xsl:template> <!-- end: split string by separator for interspers -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="replace_tag_interspers">
        <xsl:param name="text"/>
        <xsl:choose>
            <xsl:when test="contains($text, $interspers_tag_open)">
                <xsl:value-of select="substring-before($text, $interspers_tag_open)"/>
                <xsl:variable name="text_after" select="substring-after($text, $interspers_tag_open)"/>
                <interspers>
                    <xsl:value-of select="substring-before($text_after, $interspers_tag_close)"/>
                </interspers>
                <xsl:call-template name="replace_tag_interspers">
                    <xsl:with-param name="text" select="substring-after($text_after, $interspers_tag_close)"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- insert 'char' between each character in the string -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="interspers">
        <xsl:param name="str"/>
        <xsl:param name="char" select="$zero_width_space"/>
        <xsl:if test="$str != ''">
            <xsl:value-of select="substring($str, 1, 1)"/>

            <xsl:variable name="next_char" select="substring($str, 2, 1)"/>
            <xsl:if test="not(contains(concat(' -.:=_— ', $char), $next_char))">
                <xsl:value-of select="$char"/>
            </xsl:if>

            <xsl:call-template name="interspers">
                <xsl:with-param name="str" select="substring($str, 2)"/>
                <xsl:with-param name="char" select="$char"/>
            </xsl:call-template>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="interspers-java">
        <xsl:param name="str"/>
        <xsl:param name="char" select="$zero_width_space"/>
        <xsl:value-of select="java:replaceAll(java:java.lang.String.new($str),'([^ -.:=_—])',concat('$1', $char))"/> <!-- insert $char after each char excep space, - . : = _ etc. -->
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*" mode="syntax_highlight">
        <xsl:apply-templates mode="syntax_highlight"/>
    </xsl:template>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="syntax_highlight_styles_">
        <style class="hljs-addition" xsl:use-attribute-sets="hljs-addition"/>
        <style class="hljs-attr" xsl:use-attribute-sets="hljs-attr"/>
        <style class="hljs-attribute" xsl:use-attribute-sets="hljs-attribute"/>
        <style class="hljs-built_in" xsl:use-attribute-sets="hljs-built_in"/>
        <style class="hljs-bullet" xsl:use-attribute-sets="hljs-bullet"/>
        <style class="hljs-char_and_escape_" xsl:use-attribute-sets="hljs-char_and_escape_"/>
        <style class="hljs-code" xsl:use-attribute-sets="hljs-code"/>
        <style class="hljs-comment" xsl:use-attribute-sets="hljs-comment"/>
        <style class="hljs-deletion" xsl:use-attribute-sets="hljs-deletion"/>
        <style class="hljs-doctag" xsl:use-attribute-sets="hljs-doctag"/>
        <style class="hljs-emphasis" xsl:use-attribute-sets="hljs-emphasis"/>
        <style class="hljs-formula" xsl:use-attribute-sets="hljs-formula"/>
        <style class="hljs-keyword" xsl:use-attribute-sets="hljs-keyword"/>
        <style class="hljs-link" xsl:use-attribute-sets="hljs-link"/>
        <style class="hljs-literal" xsl:use-attribute-sets="hljs-literal"/>
        <style class="hljs-meta" xsl:use-attribute-sets="hljs-meta"/>
        <style class="hljs-meta_hljs-string" xsl:use-attribute-sets="hljs-meta_hljs-string"/>
        <style class="hljs-meta_hljs-keyword" xsl:use-attribute-sets="hljs-meta_hljs-keyword"/>
        <style class="hljs-name" xsl:use-attribute-sets="hljs-name"/>
        <style class="hljs-number" xsl:use-attribute-sets="hljs-number"/>
        <style class="hljs-operator" xsl:use-attribute-sets="hljs-operator"/>
        <style class="hljs-params" xsl:use-attribute-sets="hljs-params"/>
        <style class="hljs-property" xsl:use-attribute-sets="hljs-property"/>
        <style class="hljs-punctuation" xsl:use-attribute-sets="hljs-punctuation"/>
        <style class="hljs-quote" xsl:use-attribute-sets="hljs-quote"/>
        <style class="hljs-regexp" xsl:use-attribute-sets="hljs-regexp"/>
        <style class="hljs-section" xsl:use-attribute-sets="hljs-section"/>
        <style class="hljs-selector-attr" xsl:use-attribute-sets="hljs-selector-attr"/>
        <style class="hljs-selector-class" xsl:use-attribute-sets="hljs-selector-class"/>
        <style class="hljs-selector-id" xsl:use-attribute-sets="hljs-selector-id"/>
        <style class="hljs-selector-pseudo" xsl:use-attribute-sets="hljs-selector-pseudo"/>
        <style class="hljs-selector-tag" xsl:use-attribute-sets="hljs-selector-tag"/>
        <style class="hljs-string" xsl:use-attribute-sets="hljs-string"/>
        <style class="hljs-strong" xsl:use-attribute-sets="hljs-strong"/>
        <style class="hljs-subst" xsl:use-attribute-sets="hljs-subst"/>
        <style class="hljs-symbol" xsl:use-attribute-sets="hljs-symbol"/>
        <style class="hljs-tag" xsl:use-attribute-sets="hljs-tag"/>
        <!-- <style class="hljs-tag_hljs-attr" xsl:use-attribute-sets="hljs-tag_hljs-attr"></style> -->
        <!-- <style class="hljs-tag_hljs-name" xsl:use-attribute-sets="hljs-tag_hljs-name"></style> -->
        <style class="hljs-template-tag" xsl:use-attribute-sets="hljs-template-tag"/>
        <style class="hljs-template-variable" xsl:use-attribute-sets="hljs-template-variable"/>
        <style class="hljs-title" xsl:use-attribute-sets="hljs-title"/>
        <style class="hljs-title_and_class_" xsl:use-attribute-sets="hljs-title_and_class_"/>
        <style class="hljs-title_and_class__and_inherited__" xsl:use-attribute-sets="hljs-title_and_class__and_inherited__"/>
        <style class="hljs-title_and_function_" xsl:use-attribute-sets="hljs-title_and_function_"/>
        <style class="hljs-type" xsl:use-attribute-sets="hljs-type"/>
        <style class="hljs-variable" xsl:use-attribute-sets="hljs-variable"/>
        <style class="hljs-variable_and_language_" xsl:use-attribute-sets="hljs-variable_and_language_"/>
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="syntax_highlight_styles" select="xalan:nodeset($syntax_highlight_styles_)"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="span" mode="syntax_highlight" priority="2">
        <!-- <fo:inline color="green" font-style="italic"><xsl:apply-templates mode="syntax_highlight"/></fo:inline> -->
        <fo:inline>
            <xsl:variable name="classes_">
                <xsl:call-template name="split">
                    <xsl:with-param name="pText" select="@class"/>
                    <xsl:with-param name="sep" select="' '"/>
                </xsl:call-template>
                <!-- a few classes together (_and_ suffix) -->
                <xsl:if test="contains(@class, 'hljs-char') and contains(@class, 'escape_')">
                    <item>hljs-char_and_escape_</item>
                </xsl:if>
                <xsl:if test="contains(@class, 'hljs-title') and contains(@class, 'class_')">
                    <item>hljs-title_and_class_</item>
                </xsl:if>
                <xsl:if test="contains(@class, 'hljs-title') and contains(@class, 'class_') and contains(@class, 'inherited__')">
                    <item>hljs-title_and_class__and_inherited__</item>
                </xsl:if>
                <xsl:if test="contains(@class, 'hljs-title') and contains(@class, 'function_')">
                    <item>hljs-title_and_function_</item>
                </xsl:if>
                <xsl:if test="contains(@class, 'hljs-variable') and contains(@class, 'language_')">
                    <item>hljs-variable_and_language_</item>
                </xsl:if>
                <!-- with parent classes (_ suffix) -->
                <xsl:if test="contains(@class, 'hljs-keyword') and contains(ancestor::*/@class, 'hljs-meta')">
                    <item>hljs-meta_hljs-keyword</item>
                </xsl:if>
                <xsl:if test="contains(@class, 'hljs-string') and contains(ancestor::*/@class, 'hljs-meta')">
                    <item>hljs-meta_hljs-string</item>
                </xsl:if>
            </xsl:variable>
            <xsl:variable name="classes" select="xalan:nodeset($classes_)"/>

            <xsl:for-each select="$classes/item">
                <xsl:variable name="class_name" select="."/>
                <xsl:for-each select="$syntax_highlight_styles/style[@class = $class_name]/@*[not(local-name() = 'class')]">
                    <xsl:attribute name="{local-name()}"><xsl:value-of select="."/></xsl:attribute>
                </xsl:for-each>
            </xsl:for-each>

            <!-- <xsl:variable name="class_name">
                <xsl:choose>
                    <xsl:when test="@class = 'hljs-attr' and ancestor::*/@class = 'hljs-tag'">hljs-tag_hljs-attr</xsl:when>
                    <xsl:when test="@class = 'hljs-name' and ancestor::*/@class = 'hljs-tag'">hljs-tag_hljs-name</xsl:when>
                    <xsl:when test="@class = 'hljs-string' and ancestor::*/@class = 'hljs-meta'">hljs-meta_hljs-string</xsl:when>
                    <xsl:otherwise><xsl:value-of select="@class"/></xsl:otherwise>
                </xsl:choose>
            </xsl:variable>
            <xsl:for-each select="$syntax_highlight_styles/style[@class = $class_name]/@*[not(local-name() = 'class')]">
                <xsl:attribute name="{local-name()}"><xsl:value-of select="."/></xsl:attribute>
            </xsl:for-each> -->

        <xsl:apply-templates mode="syntax_highlight"/></fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="text()" mode="syntax_highlight" priority="2">
        <xsl:call-template name="add_spaces_to_sourcecode"/>
    </xsl:template>

    <!-- end mode="syntax_highlight" -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'sourcecode']/*[local-name() = 'name']">
        <xsl:if test="normalize-space() != ''">
            <fo:block xsl:use-attribute-sets="sourcecode-name-style">
                <xsl:apply-templates/>
            </fo:block>
        </xsl:if>
    </xsl:template>
    <!-- =============== -->
    <!-- END sourcecode  -->
    <!-- =============== -->

    <!-- =============== -->
    <!-- pre  -->
    <!-- =============== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='pre']" name="pre">
        <fo:block xsl:use-attribute-sets="pre-style">
            <xsl:copy-of select="@id"/>
            <xsl:choose>

                <xsl:when test="ancestor::*[local-name() = 'sourcecode'][@linenums = 'true'] and ancestor::*[local-name()='td'][1][not(preceding-sibling::*)]"> <!-- pre in the first td in the table with @linenums = 'true' -->
                    <xsl:if test="ancestor::*[local-name() = 'tr'][1]/following-sibling::*[local-name() = 'tr']"> <!-- is current tr isn't last -->
                        <xsl:attribute name="margin-top">0pt</xsl:attribute>
                        <xsl:attribute name="margin-bottom">0pt</xsl:attribute>
                    </xsl:if>
                    <fo:instream-foreign-object fox:alt-text="{.}" content-width="95%">
                        <math xmlns="http://www.w3.org/1998/Math/MathML">
                            <mtext><xsl:value-of select="."/></mtext>
                        </math>
                    </fo:instream-foreign-object>
                </xsl:when>

                <xsl:otherwise>
                    <xsl:apply-templates/>
                </xsl:otherwise>

            </xsl:choose>
        </fo:block>
    </xsl:template>
    <!-- =============== -->
    <!-- pre  -->
    <!-- =============== -->

    <!-- ========== -->
    <!-- permission -->
    <!-- ========== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'permission']">
        <fo:block id="{@id}" xsl:use-attribute-sets="permission-style">
            <xsl:apply-templates select="*[local-name()='name']"/>
            <xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'permission']/*[local-name() = 'name']">
        <xsl:if test="normalize-space() != ''">
            <fo:block xsl:use-attribute-sets="permission-name-style">
                <xsl:apply-templates/>

            </fo:block>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'permission']/*[local-name() = 'label']">
        <fo:block xsl:use-attribute-sets="permission-label-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>
    <!-- ========== -->
    <!-- ========== -->

    <!-- ========== -->
    <!-- requirement -->
<!-- ========== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'requirement']">
        <fo:block id="{@id}" xsl:use-attribute-sets="requirement-style">
            <xsl:apply-templates select="*[local-name()='name']"/>
            <xsl:apply-templates select="*[local-name()='label']"/>
            <xsl:apply-templates select="@obligation"/>
            <xsl:apply-templates select="*[local-name()='subject']"/>
            <xsl:apply-templates select="node()[not(local-name() = 'name') and not(local-name() = 'label') and not(local-name() = 'subject')]"/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'requirement']/*[local-name() = 'name']">
        <xsl:if test="normalize-space() != ''">
            <fo:block xsl:use-attribute-sets="requirement-name-style">

                <xsl:apply-templates/>

            </fo:block>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'requirement']/*[local-name() = 'label']">
        <fo:block xsl:use-attribute-sets="requirement-label-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'requirement']/@obligation">
            <fo:block>
                <fo:inline padding-right="3mm">Obligation</fo:inline><xsl:value-of select="."/>
            </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'requirement']/*[local-name() = 'subject']" priority="2">
        <fo:block xsl:use-attribute-sets="subject-style">
            <xsl:text>Target Type </xsl:text><xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <!-- ========== -->
    <!-- ========== -->

    <!-- ========== -->
    <!-- recommendation -->
    <!-- ========== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'recommendation']">
        <fo:block id="{@id}" xsl:use-attribute-sets="recommendation-style">
            <xsl:apply-templates select="*[local-name()='name']"/>
            <xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'recommendation']/*[local-name() = 'name']">
        <xsl:if test="normalize-space() != ''">
            <fo:block xsl:use-attribute-sets="recommendation-name-style">
                <xsl:apply-templates/>

            </fo:block>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'recommendation']/*[local-name() = 'label']">
        <fo:block xsl:use-attribute-sets="recommendation-label-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>
    <!-- ========== -->
    <!-- END recommendation -->
    <!-- ========== -->

    <!-- ========== -->
    <!-- ========== -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'subject']">
        <fo:block xsl:use-attribute-sets="subject-style">
            <xsl:text>Target Type </xsl:text><xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'div']">
        <fo:block><xsl:apply-templates/></fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit'] |           *[local-name() = 'div'][@type = 'requirement-inherit'] |           *[local-name() = 'div'][@type = 'recommendation-inherit'] |           *[local-name() = 'div'][@type = 'permission-inherit']">
        <fo:block xsl:use-attribute-sets="inherit-style">
            <xsl:text>Dependency </xsl:text><xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description'] |           *[local-name() = 'div'][@type = 'requirement-description'] |           *[local-name() = 'div'][@type = 'recommendation-description'] |           *[local-name() = 'div'][@type = 'permission-description']">
        <fo:block xsl:use-attribute-sets="description-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification'] |           *[local-name() = 'div'][@type = 'requirement-specification'] |           *[local-name() = 'div'][@type = 'recommendation-specification'] |           *[local-name() = 'div'][@type = 'permission-specification']">
        <fo:block xsl:use-attribute-sets="specification-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target'] |           *[local-name() = 'div'][@type = 'requirement-measurement-target'] |           *[local-name() = 'div'][@type = 'recommendation-measurement-target'] |           *[local-name() = 'div'][@type = 'permission-measurement-target']">
        <fo:block xsl:use-attribute-sets="measurement-target-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification'] |           *[local-name() = 'div'][@type = 'requirement-verification'] |           *[local-name() = 'div'][@type = 'recommendation-verification'] |           *[local-name() = 'div'][@type = 'permission-verification']">
        <fo:block xsl:use-attribute-sets="verification-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import'] |           *[local-name() = 'div'][@type = 'requirement-import'] |           *[local-name() = 'div'][@type = 'recommendation-import'] |           *[local-name() = 'div'][@type = 'permission-import']">
        <fo:block xsl:use-attribute-sets="import-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'div'][starts-with(@type, 'requirement-component')] |           *[local-name() = 'div'][starts-with(@type, 'recommendation-component')] |           *[local-name() = 'div'][starts-with(@type, 'permission-component')]">
        <fo:block xsl:use-attribute-sets="component-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>
    <!-- ========== -->
    <!-- END  -->
    <!-- ========== -->

    <!-- ========== -->
    <!-- requirement, recommendation, permission table -->
    <!-- ========== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'table'][@class = 'recommendation' or @class='requirement' or @class='permission']">
        <fo:block-container margin-left="0mm" margin-right="0mm" margin-bottom="12pt" role="SKIP">
            <xsl:if test="ancestor::*[local-name() = 'table'][@class = 'recommendation' or @class='requirement' or @class='permission']">
                <xsl:attribute name="margin-bottom">0pt</xsl:attribute>
            </xsl:if>
            <fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
                <fo:table id="{@id}" table-layout="fixed" width="100%"> <!-- border="1pt solid black" -->
                    <xsl:if test="ancestor::*[local-name() = 'table'][@class = 'recommendation' or @class='requirement' or @class='permission']">
                        <!-- <xsl:attribute name="border">0.5pt solid black</xsl:attribute> -->
                    </xsl:if>
                    <xsl:variable name="simple-table">
                        <xsl:call-template name="getSimpleTable">
                            <xsl:with-param name="id" select="@id"/>
                        </xsl:call-template>
                    </xsl:variable>
                    <xsl:variable name="cols-count" select="count(xalan:nodeset($simple-table)//tr[1]/td)"/>
                    <xsl:if test="$cols-count = 2 and not(ancestor::*[local-name()='table'])">
                        <fo:table-column column-width="30%"/>
                        <fo:table-column column-width="70%"/>
                    </xsl:if>
                    <xsl:apply-templates mode="requirement"/>
                </fo:table>
                <!-- fn processing -->
                <xsl:if test=".//*[local-name() = 'fn']">
                    <xsl:for-each select="*[local-name() = 'tbody']">
                        <fo:block font-size="90%" border-bottom="1pt solid black">
                            <xsl:call-template name="table_fn_display"/>
                        </fo:block>
                    </xsl:for-each>
                </xsl:if>
            </fo:block-container>
        </fo:block-container>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='thead']" mode="requirement">
        <fo:table-header>
            <xsl:apply-templates mode="requirement"/>
        </fo:table-header>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='tbody']" mode="requirement">
        <fo:table-body>
            <xsl:apply-templates mode="requirement"/>
        </fo:table-body>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='tr']" mode="requirement">
        <fo:table-row height="7mm" border-bottom="0.5pt solid grey">

            <xsl:if test="parent::*[local-name()='thead'] or starts-with(*[local-name()='td' or local-name()='th'][1], 'Requirement ') or starts-with(*[local-name()='td' or local-name()='th'][1], 'Recommendation ')">
                <xsl:attribute name="font-weight">bold</xsl:attribute>

            </xsl:if>

            <xsl:apply-templates mode="requirement"/>
        </fo:table-row>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='th']" mode="requirement">
        <fo:table-cell text-align="{@align}" display-align="center" padding="1mm" padding-left="2mm"> <!-- border="0.5pt solid black" -->
            <xsl:call-template name="setTextAlignment">
                <xsl:with-param name="default">left</xsl:with-param>
            </xsl:call-template>

            <xsl:call-template name="setTableCellAttributes"/>

            <fo:block role="SKIP">
                <xsl:apply-templates/>
            </fo:block>
        </fo:table-cell>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='td']" mode="requirement">
        <fo:table-cell text-align="{@align}" display-align="center" padding="1mm" padding-left="2mm"> <!-- border="0.5pt solid black" -->
            <xsl:if test="*[local-name() = 'table'][@class = 'recommendation' or @class='requirement' or @class='permission']">
                <xsl:attribute name="padding">0mm</xsl:attribute>
                <xsl:attribute name="padding-left">0mm</xsl:attribute>
            </xsl:if>
            <xsl:call-template name="setTextAlignment">
                <xsl:with-param name="default">left</xsl:with-param>
            </xsl:call-template>

            <xsl:if test="following-sibling::*[local-name()='td'] and not(preceding-sibling::*[local-name()='td'])">
                <xsl:attribute name="font-weight">bold</xsl:attribute>
            </xsl:if>

            <xsl:call-template name="setTableCellAttributes"/>

            <fo:block role="SKIP">
                <xsl:apply-templates/>
            </fo:block>
        </fo:table-cell>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'p'][@class='RecommendationTitle' or @class = 'RecommendationTestTitle']" priority="2">
        <fo:block font-size="11pt">

            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'p2'][ancestor::*[local-name() = 'table'][@class = 'recommendation' or @class='requirement' or @class='permission']]">
        <fo:block>
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>
    <!-- ========== -->
    <!-- END requirement, recommendation, permission table -->
    <!-- ========== -->

    <!-- ====== -->
    <!-- termexample -->
    <!-- ====== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'termexample']">
        <fo:block id="{@id}" xsl:use-attribute-sets="termexample-style">
            <xsl:call-template name="refine_termexample-style"/>
            <xsl:call-template name="setBlockSpanAll"/>

            <xsl:apply-templates select="*[local-name()='name']"/>
            <xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'termexample']/*[local-name() = 'name']">
        <xsl:if test="normalize-space() != ''">
            <fo:inline xsl:use-attribute-sets="termexample-name-style">
                <xsl:call-template name="refine_termexample-name-style"/>
                <xsl:apply-templates/> <!-- commented $namespace = 'ieee', https://github.com/metanorma/isodoc/issues/614-->
            </fo:inline>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'termexample']/*[local-name() = 'p']">
        <xsl:variable name="element">inline

            block
        </xsl:variable>
        <xsl:choose>
            <xsl:when test="contains($element, 'block')">
                <fo:block xsl:use-attribute-sets="example-p-style">

                        <xsl:if test="not(preceding-sibling::*[local-name() = 'p'])">
                            <xsl:attribute name="margin-top">6pt</xsl:attribute>
                        </xsl:if>

                    <xsl:apply-templates/>
                </fo:block>
            </xsl:when>
            <xsl:otherwise>
                <fo:inline><xsl:apply-templates/></fo:inline>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>
    <!-- ====== -->
    <!-- ====== -->

    <!-- ====== -->
    <!-- example -->
    <!-- ====== -->

    <!-- There are a few cases:
    1. EXAMPLE text
    2. EXAMPLE
            text
    3. EXAMPLE text line 1
         text line 2
    4. EXAMPLE
         text line 1
             text line 2
    -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'example']">

                <fo:block-container id="{@id}" xsl:use-attribute-sets="example-style" role="SKIP">

                    <xsl:call-template name="setBlockSpanAll"/>

                    <xsl:call-template name="refine_example-style"/>

                    <xsl:variable name="fo_element">
                        <xsl:if test=".//*[local-name() = 'table'] or .//*[local-name() = 'dl'] or *[not(local-name() = 'name')][1][local-name() = 'sourcecode']">block</xsl:if>
                        block
                    </xsl:variable>

                    <fo:block-container margin-left="0mm" role="SKIP">

                        <xsl:choose>

                            <xsl:when test="contains(normalize-space($fo_element), 'block')">

                                <!-- display name 'EXAMPLE' in a separate block  -->
                                <fo:block>
                                    <xsl:apply-templates select="*[local-name()='name']">
                                        <xsl:with-param name="fo_element" select="$fo_element"/>
                                    </xsl:apply-templates>
                                </fo:block>

                                <fo:block-container xsl:use-attribute-sets="example-body-style" role="SKIP">
                                    <fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
                                        <xsl:variable name="example_body">
                                            <xsl:apply-templates select="node()[not(local-name() = 'name')]">
                                                <xsl:with-param name="fo_element" select="$fo_element"/>
                                            </xsl:apply-templates>
                                        </xsl:variable>
                                        <xsl:choose>
                                            <xsl:when test="xalan:nodeset($example_body)/*">
                                                <xsl:copy-of select="$example_body"/>
                                            </xsl:when>
                                            <xsl:otherwise><fo:block/><!-- prevent empty block-container --></xsl:otherwise>
                                        </xsl:choose>
                                    </fo:block-container>
                                </fo:block-container>
                            </xsl:when> <!-- end block -->

                            <xsl:when test="contains(normalize-space($fo_element), 'list')">

                                <xsl:variable name="provisional_distance_between_starts_">
                                    7
                                </xsl:variable>
                                <xsl:variable name="provisional_distance_between_starts" select="normalize-space($provisional_distance_between_starts_)"/>
                                <xsl:variable name="indent_">
                                    0
                                </xsl:variable>
                                <xsl:variable name="indent" select="normalize-space($indent_)"/>

                                <fo:list-block provisional-distance-between-starts="{$provisional_distance_between_starts}mm">
                                    <fo:list-item>
                                        <fo:list-item-label start-indent="{$indent}mm" end-indent="label-end()">
                                            <fo:block>
                                                <xsl:apply-templates select="*[local-name()='name']">
                                                    <xsl:with-param name="fo_element">block</xsl:with-param>
                                                </xsl:apply-templates>
                                            </fo:block>
                                        </fo:list-item-label>
                                        <fo:list-item-body start-indent="body-start()">
                                            <fo:block>
                                                <xsl:apply-templates select="node()[not(local-name() = 'name')]">
                                                    <xsl:with-param name="fo_element" select="$fo_element"/>
                                                </xsl:apply-templates>
                                            </fo:block>
                                        </fo:list-item-body>
                                    </fo:list-item>
                                </fo:list-block>
                            </xsl:when> <!-- end list -->

                            <xsl:otherwise> <!-- inline -->

                                <!-- display 'EXAMPLE' and first element in the same line -->
                                <fo:block>
                                    <xsl:apply-templates select="*[local-name()='name']">
                                        <xsl:with-param name="fo_element" select="$fo_element"/>
                                    </xsl:apply-templates>
                                    <fo:inline>
                                        <xsl:apply-templates select="*[not(local-name() = 'name')][1]">
                                            <xsl:with-param name="fo_element" select="$fo_element"/>
                                        </xsl:apply-templates>
                                    </fo:inline>
                                </fo:block>

                                <xsl:if test="*[not(local-name() = 'name')][position() &gt; 1]">
                                    <!-- display further elements in blocks -->
                                    <fo:block-container xsl:use-attribute-sets="example-body-style" role="SKIP">
                                        <fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
                                            <xsl:apply-templates select="*[not(local-name() = 'name')][position() &gt; 1]">
                                                <xsl:with-param name="fo_element" select="'block'"/>
                                            </xsl:apply-templates>
                                        </fo:block-container>
                                    </fo:block-container>
                                </xsl:if>
                            </xsl:otherwise> <!-- end inline -->

                        </xsl:choose>
                    </fo:block-container>
                </fo:block-container>

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'example']/*[local-name() = 'name']">
        <xsl:param name="fo_element">block</xsl:param>

        <xsl:choose>
            <xsl:when test="ancestor::*[local-name() = 'appendix']">
                <fo:inline>
                    <xsl:apply-templates/>
                </fo:inline>
            </xsl:when>
            <xsl:when test="contains(normalize-space($fo_element), 'block')">
                <fo:block xsl:use-attribute-sets="example-name-style">

                    <xsl:apply-templates/>
                </fo:block>
            </xsl:when>
            <xsl:otherwise>
                <fo:inline xsl:use-attribute-sets="example-name-style">
                    <xsl:call-template name="refine_example-name-style"/>
                    <xsl:apply-templates/> <!-- $namespace = 'ieee', see https://github.com/metanorma/isodoc/issues/614  -->
                </fo:inline>
            </xsl:otherwise>
        </xsl:choose>

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'table']/*[local-name() = 'example']/*[local-name() = 'name']">
        <fo:inline xsl:use-attribute-sets="example-name-style">

            <xsl:apply-templates/>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'example']/*[local-name() = 'p']">
        <xsl:param name="fo_element">block</xsl:param>

        <xsl:variable name="num"><xsl:number/></xsl:variable>
        <xsl:variable name="element">

            <xsl:value-of select="$fo_element"/>
        </xsl:variable>
        <xsl:choose>
            <xsl:when test="starts-with(normalize-space($element), 'block')">
                <fo:block-container role="SKIP">
                    <xsl:if test="ancestor::*[local-name() = 'li'] and contains(normalize-space($fo_element), 'block')">
                        <xsl:attribute name="margin-left">0mm</xsl:attribute>
                        <xsl:attribute name="margin-right">0mm</xsl:attribute>
                    </xsl:if>
                    <fo:block xsl:use-attribute-sets="example-p-style">

                        <xsl:call-template name="refine_example-p-style"/>

                        <xsl:apply-templates/>
                    </fo:block>
                </fo:block-container>
            </xsl:when>
            <xsl:when test="starts-with(normalize-space($element), 'list')">
                <fo:block xsl:use-attribute-sets="example-p-style">
                    <xsl:apply-templates/>
                </fo:block>
            </xsl:when>
            <xsl:otherwise>
                <fo:inline xsl:use-attribute-sets="example-p-style">
                    <xsl:apply-templates/>
                </fo:inline>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template> <!-- example/p -->

    <!-- ====== -->
    <!-- ====== -->

    <!-- ====== -->
    <!-- termsource -->
    <!-- origin -->
    <!-- modification -->
    <!-- ====== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'termsource']" name="termsource">
        <fo:block xsl:use-attribute-sets="termsource-style">

            <xsl:call-template name="refine_termsource-style"/>

            <!-- Example: [SOURCE: ISO 5127:2017, 3.1.6.02] -->
            <xsl:variable name="termsource_text">
                <xsl:apply-templates/>
            </xsl:variable>
            <xsl:copy-of select="$termsource_text"/>
            <!-- <xsl:choose>
                <xsl:when test="starts-with(normalize-space($termsource_text), '[')">
                    <xsl:copy-of select="$termsource_text"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:if test="$namespace = 'bsi'">
                        <xsl:choose>
                            <xsl:when test="$document_type = 'PAS' and starts-with(*[local-name() = 'origin']/@citeas, '[')"><xsl:text>{</xsl:text></xsl:when>
                            <xsl:otherwise><xsl:text>[</xsl:text></xsl:otherwise>
                        </xsl:choose>
                    </xsl:if>
                    <xsl:if test="$namespace = 'gb' or $namespace = 'iso' or $namespace = 'iec' or $namespace = 'itu' or $namespace = 'unece' or $namespace = 'unece-rec' or $namespace = 'nist-cswp'  or $namespace = 'nist-sp' or $namespace = 'ogc-white-paper' or $namespace = 'csa' or $namespace = 'csd' or $namespace = 'm3d' or $namespace = 'iho' or $namespace = 'bipm' or $namespace = 'jcgm'">
                        <xsl:text>[</xsl:text>
                    </xsl:if>
                    <xsl:copy-of select="$termsource_text"/>
                    <xsl:if test="$namespace = 'bsi'">
                        <xsl:choose>
                            <xsl:when test="$document_type = 'PAS' and starts-with(*[local-name() = 'origin']/@citeas, '[')"><xsl:text>}</xsl:text></xsl:when>
                            <xsl:otherwise><xsl:text>]</xsl:text></xsl:otherwise>
                        </xsl:choose>
                    </xsl:if>
                    <xsl:if test="$namespace = 'gb' or $namespace = 'iso' or $namespace = 'iec' or $namespace = 'itu' or $namespace = 'unece' or $namespace = 'unece-rec' or $namespace = 'nist-cswp'  or $namespace = 'nist-sp' or $namespace = 'ogc-white-paper' or $namespace = 'csa' or $namespace = 'csd' or $namespace = 'm3d' or $namespace = 'iho' or $namespace = 'bipm' or $namespace = 'jcgm'">
                        <xsl:text>]</xsl:text>
                    </xsl:if>
                </xsl:otherwise>
            </xsl:choose> -->
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'termsource']/text()[starts-with(., '[SOURCE: Adapted from: ') or     starts-with(., '[SOURCE: Quoted from: ') or     starts-with(., '[SOURCE: Modified from: ')]" priority="2">
        <xsl:text>[</xsl:text><xsl:value-of select="substring-after(., '[SOURCE: ')"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'termsource']/text()">
        <xsl:if test="normalize-space() != ''">
            <xsl:value-of select="."/>
        </xsl:if>
    </xsl:template>

    <!-- text SOURCE: -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'termsource']/*[local-name() = 'strong'][1][following-sibling::*[1][local-name() = 'origin']]/text()">
        <fo:inline xsl:use-attribute-sets="termsource-text-style">
            <xsl:value-of select="."/>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'origin']">
        <xsl:call-template name="insert_basic_link">
            <xsl:with-param name="element">
                <fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
                    <xsl:if test="normalize-space(@citeas) = ''">
                        <xsl:attribute name="fox:alt-text"><xsl:value-of select="@bibitemid"/></xsl:attribute>
                    </xsl:if>
                    <fo:inline xsl:use-attribute-sets="origin-style">
                        <xsl:apply-templates/>
                    </fo:inline>
                </fo:basic-link>
            </xsl:with-param>
        </xsl:call-template>
    </xsl:template>

    <!-- not using, see https://github.com/glossarist/iev-document/issues/23 -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'modification']">
        <xsl:variable name="title-modified">
            <xsl:call-template name="getLocalizedString">
                <xsl:with-param name="key">modified</xsl:with-param>
            </xsl:call-template>
        </xsl:variable>

    <xsl:variable name="text"><xsl:apply-templates/></xsl:variable>
        <xsl:choose>
            <xsl:when test="$lang = 'zh'"><xsl:text>、</xsl:text><xsl:value-of select="$title-modified"/><xsl:if test="normalize-space($text) != ''"><xsl:text>—</xsl:text></xsl:if></xsl:when>
            <xsl:otherwise><xsl:text>, </xsl:text><xsl:value-of select="$title-modified"/><xsl:if test="normalize-space($text) != ''"><xsl:text> — </xsl:text></xsl:if></xsl:otherwise>
        </xsl:choose>
        <xsl:apply-templates/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'modification']/*[local-name() = 'p']">
        <fo:inline><xsl:apply-templates/></fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'modification']/text()">
        <xsl:if test="normalize-space() != ''">
            <!-- <xsl:value-of select="."/> -->
            <xsl:call-template name="text"/>
        </xsl:if>
    </xsl:template>

    <!-- ====== -->
    <!-- ====== -->

    <!-- ====== -->
    <!-- qoute -->
    <!-- source -->
    <!-- author  -->
    <!-- ====== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'quote']">
        <fo:block-container margin-left="0mm" role="SKIP">

            <xsl:call-template name="setBlockSpanAll"/>

            <xsl:if test="parent::*[local-name() = 'note']">
                <xsl:if test="not(ancestor::*[local-name() = 'table'])">
                    <xsl:attribute name="margin-left">5mm</xsl:attribute>
                </xsl:if>
            </xsl:if>

            <fo:block-container margin-left="0mm" role="SKIP">
                <fo:block-container xsl:use-attribute-sets="quote-style" role="SKIP">

                    <xsl:call-template name="refine_quote-style"/>

                    <fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
                        <fo:block role="BlockQuote">
                            <xsl:apply-templates select="./node()[not(local-name() = 'author') and         not(local-name() = 'source') and         not(local-name() = 'attribution')]"/> <!-- process all nested nodes, except author and source -->
                        </fo:block>
                    </fo:block-container>
                </fo:block-container>
                <xsl:if test="*[local-name() = 'author'] or *[local-name() = 'source'] or *[local-name() = 'attribution']">
                    <fo:block xsl:use-attribute-sets="quote-source-style">
                        <!-- — ISO, ISO 7301:2011, Clause 1 -->
                        <xsl:apply-templates select="*[local-name() = 'author']"/>
                        <xsl:apply-templates select="*[local-name() = 'source']"/>
                        <!-- added for https://github.com/metanorma/isodoc/issues/607 -->
                        <xsl:apply-templates select="*[local-name() = 'attribution']/*[local-name() = 'p']/node()"/>
                    </fo:block>
                </xsl:if>

            </fo:block-container>
        </fo:block-container>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'source']">
        <xsl:if test="../*[local-name() = 'author']">
            <xsl:text>, </xsl:text>
        </xsl:if>
        <xsl:call-template name="insert_basic_link">
            <xsl:with-param name="element">
                <fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
                    <xsl:apply-templates/>
                </fo:basic-link>
            </xsl:with-param>
        </xsl:call-template>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'author']">
        <xsl:if test="local-name(..) = 'quote'"> <!-- for old Presentation XML, https://github.com/metanorma/isodoc/issues/607 -->
            <xsl:text>— </xsl:text>
        </xsl:if>
        <xsl:apply-templates/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'quote']//*[local-name() = 'referenceFrom']"/>
    <!-- ====== -->
    <!-- ====== -->

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibitems_">
        <xsl:for-each select="//*[local-name() = 'bibitem']">
            <xsl:copy-of select="."/>
        </xsl:for-each>
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibitems" select="xalan:nodeset($bibitems_)"/>

    <!-- get all hidden bibitems to exclude them from eref/origin processing -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibitems_hidden_">
        <xsl:for-each select="//*[local-name() = 'bibitem'][@hidden='true']">
            <xsl:copy-of select="."/>
        </xsl:for-each>
        <xsl:for-each select="//*[local-name() = 'references'][@hidden='true']//*[local-name() = 'bibitem']">
            <xsl:copy-of select="."/>
        </xsl:for-each>
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bibitems_hidden" select="xalan:nodeset($bibitems_hidden_)"/>
    <!-- ====== -->
    <!-- eref -->
    <!-- ====== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'eref']" name="eref">
        <xsl:variable name="current_bibitemid" select="@bibitemid"/>
        <!-- <xsl:variable name="external-destination" select="normalize-space(key('bibitems', $current_bibitemid)/*[local-name() = 'uri'][@type = 'citation'])"/> -->
        <xsl:variable name="external-destination" select="normalize-space($bibitems/*[local-name() ='bibitem'][@id = $current_bibitemid]/*[local-name() = 'uri'][@type = 'citation'])"/>
        <xsl:choose>
            <!-- <xsl:when test="$external-destination != '' or not(key('bibitems_hidden', $current_bibitemid))"> --> <!-- if in the bibliography there is the item with @bibitemid (and not hidden), then create link (internal to the bibitem or external) -->
            <xsl:when test="$external-destination != '' or not($bibitems_hidden/*[local-name() ='bibitem'][@id = $current_bibitemid])"> <!-- if in the bibliography there is the item with @bibitemid (and not hidden), then create link (internal to the bibitem or external) -->
                <fo:inline xsl:use-attribute-sets="eref-style">
                    <xsl:if test="@type = 'footnote'">
                        <xsl:attribute name="keep-together.within-line">always</xsl:attribute>
                        <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
                        <xsl:attribute name="vertical-align">super</xsl:attribute>
                        <xsl:attribute name="font-size">80%</xsl:attribute>

                    </xsl:if>

                    <xsl:call-template name="refine_eref-style"/>

                    <xsl:call-template name="insert_basic_link">
                        <xsl:with-param name="element">
                            <fo:basic-link fox:alt-text="{@citeas}">
                                <xsl:if test="normalize-space(@citeas) = ''">
                                    <xsl:attribute name="fox:alt-text"><xsl:value-of select="."/></xsl:attribute>
                                </xsl:if>
                                <xsl:if test="@type = 'inline'">

                                    <xsl:call-template name="refine_basic_link_style"/>

                                </xsl:if>

                                <xsl:choose>
                                    <xsl:when test="$external-destination != ''"> <!-- external hyperlink -->
                                        <xsl:attribute name="external-destination"><xsl:value-of select="$external-destination"/></xsl:attribute>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:attribute name="internal-destination"><xsl:value-of select="@bibitemid"/></xsl:attribute>
                                    </xsl:otherwise>
                                </xsl:choose>

                                <xsl:apply-templates/>
                            </fo:basic-link>
                        </xsl:with-param>
                    </xsl:call-template>

                </fo:inline>
            </xsl:when>
            <xsl:otherwise> <!-- if there is key('bibitems_hidden', $current_bibitemid) -->

                <!-- if in bibitem[@hidden='true'] there is url[@type='src'], then create hyperlink  -->
                <xsl:variable name="uri_src" select="normalize-space($bibitems_hidden/*[local-name() ='bibitem'][@id = $current_bibitemid]/*[local-name() = 'uri'][@type = 'src'])"/>
                <xsl:choose>
                    <xsl:when test="$uri_src != ''">
                        <fo:basic-link external-destination="{$uri_src}" fox:alt-text="{$uri_src}"><xsl:apply-templates/></fo:basic-link>
                    </xsl:when>
                    <xsl:otherwise><fo:inline><xsl:apply-templates/></fo:inline></xsl:otherwise>
                </xsl:choose>

            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_basic_link_style">

    </xsl:template> <!-- refine_basic_link_style -->

    <!-- ====== -->
    <!-- END eref -->
    <!-- ====== -->

    <!-- Tabulation processing -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'tab']">
        <!-- zero-space char -->
        <xsl:variable name="depth">
            <xsl:call-template name="getLevel">
                <xsl:with-param name="depth" select="../@depth"/>
            </xsl:call-template>
        </xsl:variable>

        <xsl:variable name="padding">

            1


        </xsl:variable>

        <xsl:variable name="padding-right">
            <xsl:choose>
                <xsl:when test="normalize-space($padding) = ''">0</xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="normalize-space($padding)"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:choose>
            <xsl:when test="$lang = 'zh'">
                <fo:inline role="SKIP"><xsl:value-of select="$tab_zh"/></fo:inline>
            </xsl:when>
            <xsl:when test="../../@inline-header = 'true'">
                <fo:inline font-size="90%" role="SKIP">
                    <xsl:call-template name="insertNonBreakSpaces">
                        <xsl:with-param name="count" select="$padding-right"/>
                    </xsl:call-template>
                </fo:inline>
            </xsl:when>
            <xsl:otherwise>
                <xsl:variable name="direction"><xsl:if test="$lang = 'ar'"><xsl:value-of select="$RLM"/></xsl:if></xsl:variable>
                <fo:inline padding-right="{$padding-right}mm" role="SKIP"><xsl:value-of select="$direction"/>​</fo:inline>
            </xsl:otherwise>
        </xsl:choose>

    </xsl:template> <!-- tab -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertNonBreakSpaces">
        <xsl:param name="count"/>
        <xsl:if test="$count &gt; 0">
            <xsl:text> </xsl:text>
            <xsl:call-template name="insertNonBreakSpaces">
                <xsl:with-param name="count" select="$count - 1"/>
            </xsl:call-template>
        </xsl:if>
    </xsl:template>

    <!-- Preferred, admitted, deprecated -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'preferred']">
        <xsl:variable name="level">
            <xsl:call-template name="getLevel"/>
        </xsl:variable>
        <xsl:variable name="font-size">
            inherit
        </xsl:variable>
        <xsl:variable name="levelTerm">
            <xsl:call-template name="getLevelTermName"/>
        </xsl:variable>
        <fo:block font-size="{normalize-space($font-size)}" role="H{$levelTerm}" xsl:use-attribute-sets="preferred-block-style">

            <xsl:if test="parent::*[local-name() = 'term'] and not(preceding-sibling::*[local-name() = 'preferred'])"> <!-- if first preffered in term, then display term's name -->
                <fo:block xsl:use-attribute-sets="term-name-style" role="SKIP">

                    <xsl:apply-templates select="ancestor::*[local-name() = 'term'][1]/*[local-name() = 'name']"/>
                </fo:block>
            </xsl:if>

            <fo:block xsl:use-attribute-sets="preferred-term-style" role="SKIP">
                <xsl:call-template name="setStyle_preferred"/>

                <xsl:apply-templates/>
            </fo:block>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'domain']">
        <!-- https://github.com/metanorma/isodoc/issues/607 
        <fo:inline xsl:use-attribute-sets="domain-style">&lt;<xsl:apply-templates/>&gt;</fo:inline>
        <xsl:text> </xsl:text> -->
        <xsl:if test="not(@hidden = 'true')">
            <xsl:apply-templates/>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'admitted']">
        <fo:block xsl:use-attribute-sets="admitted-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'deprecates']">
        <fo:block xsl:use-attribute-sets="deprecates-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setStyle_preferred">
        <xsl:if test="*[local-name() = 'strong']">
            <xsl:attribute name="font-weight">normal</xsl:attribute>
        </xsl:if>
    </xsl:template>

    <!-- regarding ISO 10241-1:2011,  If there is more than one preferred term, each preferred term follows the previous one on a new line. -->
    <!-- in metanorma xml preferred terms delimited by semicolons -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'preferred']/text()[contains(., ';')] | *[local-name() = 'preferred']/*[local-name() = 'strong']/text()[contains(., ';')]">
        <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.), ';', $linebreak)"/>
    </xsl:template>
    <!--  End Preferred, admitted, deprecated -->

    <!-- ========== -->
    <!-- definition -->
    <!-- ========== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'definition']">
        <fo:block xsl:use-attribute-sets="definition-style" role="SKIP">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'definition'][preceding-sibling::*[local-name() = 'domain']]">
        <xsl:apply-templates/>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'definition'][preceding-sibling::*[local-name() = 'domain']]/*[local-name() = 'p'][1]">
        <fo:inline> <xsl:apply-templates/></fo:inline>
        <fo:block/>
    </xsl:template>
    <!-- ========== -->
    <!-- END definition -->
    <!-- ========== -->

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="reviews_">
        <xsl:for-each select="//*[local-name() = 'review'][@from]">
            <xsl:copy>
                <xsl:copy-of select="@from"/>
                <xsl:copy-of select="@id"/>
            </xsl:copy>
        </xsl:for-each>
    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="reviews" select="xalan:nodeset($reviews_)"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="addReviewHelper">
        <!-- if there is review with from="...", then add small helper block for Annot tag adding, see 'review' template -->
        <xsl:variable name="curr_id" select="@id"/>
        <xsl:variable name="review_id" select="normalize-space($reviews//*[local-name() = 'review'][@from = $curr_id]/@id)"/>
        <xsl:if test="$review_id != ''"> <!-- i.e. if review found -->
            <fo:block keep-with-next="always" line-height="0.1" id="{$review_id}" font-size="1pt" role="SKIP"><xsl:value-of select="$hair_space"/><fo:basic-link internal-destination="{$review_id}" fox:alt-text="Annot___{$review_id}" role="Annot"><xsl:value-of select="$hair_space"/></fo:basic-link></fo:block>
        </xsl:if>
        <!-- <fo:block>
            <curr_id><xsl:value-of select="$curr_id"/></curr_id>
            <xsl:copy-of select="$reviews"/>
        </fo:block> -->
    </xsl:template>

    <!-- main sections -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="/*/*[local-name() = 'sections']/*" name="sections_node" priority="2">

        <fo:block>
            <xsl:call-template name="setId"/>

            <xsl:call-template name="sections_element_style"/>

            <xsl:call-template name="addReviewHelper"/>

            <xsl:apply-templates/>
        </fo:block>

    </xsl:template>

    <!-- note: @top-level added in mode=" update_xml_step_move_pagebreak" -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'sections']/*[local-name() = 'page_sequence']/*[not(@top-level)]" priority="2">
        <xsl:choose>
            <xsl:when test="local-name() = 'clause' and normalize-space() = '' and count(*) = 0"/>
            <xsl:otherwise>
                <xsl:call-template name="sections_node"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- page_sequence/sections/clause -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'page_sequence']/*[local-name() = 'sections']/*[not(@top-level)]" priority="2">
        <xsl:choose>
            <xsl:when test="local-name() = 'clause' and normalize-space() = '' and count(*) = 0"/>
            <xsl:otherwise>
                <xsl:call-template name="sections_node"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="sections_element_style">

    </xsl:template> <!-- sections_element_style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*" priority="2" name="preface_node"> <!-- /*/*[local-name() = 'preface']/* -->

                <fo:block break-after="page"/>

        <fo:block>
            <xsl:call-template name="setId"/>
            <xsl:call-template name="addReviewHelper"/>
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <!-- preface/ page_sequence/clause -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'preface']/*[local-name() = 'page_sequence']/*[not(@top-level)]" priority="2"> <!-- /*/*[local-name() = 'preface']/* -->
        <xsl:choose>
            <xsl:when test="local-name() = 'clause' and normalize-space() = '' and count(*) = 0"/>
            <xsl:otherwise>
                <xsl:call-template name="preface_node"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- page_sequence/preface/clause -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'page_sequence']/*[local-name() = 'preface']/*[not(@top-level)]" priority="2"> <!-- /*/*[local-name() = 'preface']/* -->
        <xsl:choose>
            <xsl:when test="local-name() = 'clause' and normalize-space() = '' and count(*) = 0"/>
            <xsl:otherwise>
                <xsl:call-template name="preface_node"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'clause'][normalize-space() != '' or *[local-name() = 'figure'] or @id]" name="template_clause"> <!-- if clause isn't empty -->
        <fo:block>
            <xsl:if test="parent::*[local-name() = 'copyright-statement']">
                <xsl:attribute name="role">SKIP</xsl:attribute>
            </xsl:if>

            <xsl:call-template name="setId"/>

            <xsl:call-template name="setBlockSpanAll"/>

            <xsl:call-template name="refine_clause_style"/>

            <xsl:call-template name="addReviewHelper"/>

            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_clause_style">

    </xsl:template> <!-- refine_clause_style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'definitions']">
        <fo:block id="{@id}">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'annex'][normalize-space() != '']">
        <xsl:choose>
            <xsl:when test="@continue = 'true'"> <!-- it's using for figure/table on top level for block span -->
                <fo:block>
                    <xsl:apply-templates/>
                </fo:block>
            </xsl:when>
            <xsl:otherwise>

                <fo:block break-after="page"/>
                <fo:block id="{@id}">

                    <xsl:call-template name="setBlockSpanAll"/>

                    <xsl:call-template name="refine_annex_style"/>

                </fo:block>

                <xsl:apply-templates select="*[local-name() = 'title'][@columns = 1]"/>

                <fo:block>
                    <xsl:apply-templates select="node()[not(local-name() = 'title' and @columns = 1)]"/>
                </fo:block>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_annex_style">

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'review']"> <!-- 'review' will be processed in mn2pdf/review.xsl -->
        <!-- comment 2019-11-29 -->
        <!-- <fo:block font-weight="bold">Review:</fo:block>
        <xsl:apply-templates /> -->

        <xsl:variable name="id_from" select="normalize-space(current()/@from)"/>

        <xsl:if test="1 = 1">
        <xsl:choose>
            <!-- if there isn't the attribute '@from', then -->
            <xsl:when test="$id_from = ''">
                <fo:block id="{@id}" font-size="1pt" role="SKIP"><xsl:value-of select="$hair_space"/><fo:basic-link internal-destination="{@id}" fox:alt-text="Annot___{@id}" role="Annot"><xsl:value-of select="$hair_space"/></fo:basic-link></fo:block>
            </xsl:when>
            <!-- if there isn't element with id 'from', then create 'bookmark' here -->
            <xsl:when test="ancestor::*[contains(local-name(), '-standard')] and not(ancestor::*[contains(local-name(), '-standard')]//*[@id = $id_from])">
                <fo:block id="{@from}" font-size="1pt" role="SKIP"><xsl:value-of select="$hair_space"/><fo:basic-link internal-destination="{@from}" fox:alt-text="Annot___{@id}" role="Annot"><xsl:value-of select="$hair_space"/></fo:basic-link></fo:block>
            </xsl:when>
            <xsl:when test="not(/*[@id = $id_from]) and not(/*//*[@id = $id_from]) and not(preceding-sibling::*[@id = $id_from])">
                <fo:block id="{@from}" font-size="1pt" role="SKIP"><xsl:value-of select="$hair_space"/><fo:basic-link internal-destination="{@from}" fox:alt-text="Annot___{@id}" role="Annot"><xsl:value-of select="$hair_space"/></fo:basic-link></fo:block>
            </xsl:when>
        </xsl:choose>
        </xsl:if>

    <xsl:if test="1 = 2">
        <xsl:choose>
            <!-- if there isn't the attribute '@from', then -->
            <xsl:when test="$id_from = ''">
                <fo:block id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:block>
            </xsl:when>
            <!-- if there isn't element with id 'from', then create 'bookmark' here -->
            <xsl:when test="ancestor::*[contains(local-name(), '-standard')] and not(ancestor::*[contains(local-name(), '-standard')]//*[@id = $id_from])">
                <fo:block id="{@from}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:block>
            </xsl:when>
            <xsl:when test="not(/*[@id = $id_from]) and not(/*//*[@id = $id_from]) and not(preceding-sibling::*[@id = $id_from])">
                <fo:block id="{@from}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:block>
            </xsl:when>
        </xsl:choose>
    </xsl:if>

    </xsl:template>

    <!-- https://github.com/metanorma/mn-samples-bsi/issues/312 -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'review'][@type = 'other']"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'name']/text()">
        <!-- 0xA0 to space replacement -->
        <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
    </xsl:template>

    <!-- ===================================== -->
    <!-- Lists processing -->
    <!-- ===================================== -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="ul_labels_">

                <xsl:choose>
                    <xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">
                        <label level="1" font-size="14pt" color="rgb(128,128,128)">▪</label> <!-- Black small square 25AA  18pt  line-height="1.5" -->
                        <label level="2">—</label><!-- em dash -->
                    </xsl:when>
                    <xsl:otherwise>
                        <label>–</label>
                        <!-- <label level="1">–</label>
                        <label level="2">•</label>
                        <label level="3" font-size="75%">o</label> --> <!-- white circle -->
                    </xsl:otherwise>
                </xsl:choose>

    </xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="ul_labels" select="xalan:nodeset($ul_labels_)"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setULLabel">
        <xsl:variable name="list_level__">
            <xsl:value-of select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
        </xsl:variable>
        <xsl:variable name="list_level_" select="number($list_level__)"/>
        <xsl:variable name="list_level">
            <xsl:choose>
                <xsl:when test="$list_level_ &lt;= 3"><xsl:value-of select="$list_level_"/></xsl:when>
                <xsl:otherwise><xsl:value-of select="$list_level_ mod 3"/></xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:choose>
            <xsl:when test="$ul_labels/label[not(@level)]"> <!-- one label for all levels -->
                <xsl:apply-templates select="$ul_labels/label[not(@level)]" mode="ul_labels"/>
            </xsl:when>
            <xsl:when test="$list_level mod 3 = 0">
                <xsl:apply-templates select="$ul_labels/label[@level = 3]" mode="ul_labels"/>
            </xsl:when>
            <xsl:when test="$list_level mod 2 = 0">
                <xsl:apply-templates select="$ul_labels/label[@level = 2]" mode="ul_labels"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:apply-templates select="$ul_labels/label[@level = 1]" mode="ul_labels"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="label" mode="ul_labels">
        <xsl:copy-of select="@*[not(local-name() = 'level')]"/>
        <xsl:value-of select="."/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getListItemFormat">
        <!-- Example: for BSI <?list-type loweralpha?> -->
        <xsl:variable name="processing_instruction_type" select="normalize-space(../preceding-sibling::*[1]/processing-instruction('list-type'))"/>
        <xsl:choose>
            <xsl:when test="local-name(..) = 'ul'">
                <xsl:choose>
                    <xsl:when test="normalize-space($processing_instruction_type) = 'simple'"/>
                    <xsl:otherwise><xsl:call-template name="setULLabel"/></xsl:otherwise>
                </xsl:choose>
            </xsl:when>
            <xsl:when test="local-name(..) = 'ol' and @label"> <!-- for ordered lists 'ol', and if there is @label, for instance label="1.1.2" -->

                <xsl:variable name="type" select="../@type"/>

                <xsl:variable name="label">

                    <xsl:variable name="style_prefix_">
                        <xsl:if test="$type = 'roman'">
                             <!-- Example: (i) -->
                        </xsl:if>
                        <xsl:if test="$type = 'alphabet'">

                        </xsl:if>
                    </xsl:variable>
                    <xsl:variable name="style_prefix" select="normalize-space($style_prefix_)"/>

                    <xsl:variable name="style_suffix_">
                        <xsl:choose>
                            <xsl:when test="$type = 'arabic'">
                                )
                            </xsl:when>
                            <xsl:when test="$type = 'alphabet' or $type = 'alphabetic'">
                                )
                            </xsl:when>
                            <xsl:when test="$type = 'alphabet_upper' or $type = 'alphabetic_upper'">
                                .
                            </xsl:when>
                            <xsl:when test="$type = 'roman'">
                                )
                            </xsl:when>
                            <xsl:when test="$type = 'roman_upper'">.</xsl:when> <!-- Example: I. -->
                        </xsl:choose>
                    </xsl:variable>
                    <xsl:variable name="style_suffix" select="normalize-space($style_suffix_)"/>

                    <xsl:if test="$style_prefix != '' and not(starts-with(@label, $style_prefix))">
                        <xsl:value-of select="$style_prefix"/>
                    </xsl:if>

                    <xsl:value-of select="@label"/>

                    <xsl:if test="not(java:endsWith(java:java.lang.String.new(@label),$style_suffix))">
                        <xsl:value-of select="$style_suffix"/>
                    </xsl:if>
                </xsl:variable>

                        <xsl:value-of select="normalize-space($label)"/>

            </xsl:when>
            <xsl:otherwise> <!-- for ordered lists 'ol' -->

                <!-- Example: for BSI <?list-start 2?> -->
                <xsl:variable name="processing_instruction_start" select="normalize-space(../preceding-sibling::*[1]/processing-instruction('list-start'))"/>

                <xsl:variable name="start_value">
                    <xsl:choose>
                        <xsl:when test="normalize-space($processing_instruction_start) != ''">
                            <xsl:value-of select="number($processing_instruction_start) - 1"/><!-- if start="3" then start_value=2 + xsl:number(1) = 3 -->
                        </xsl:when>
                        <xsl:when test="normalize-space(../@start) != ''">
                            <xsl:value-of select="number(../@start) - 1"/><!-- if start="3" then start_value=2 + xsl:number(1) = 3 -->
                        </xsl:when>
                        <xsl:otherwise>0</xsl:otherwise>
                    </xsl:choose>
                </xsl:variable>

                <xsl:variable name="curr_value"><xsl:number/></xsl:variable>

                <xsl:variable name="type">
                    <xsl:choose>
                        <xsl:when test="normalize-space($processing_instruction_type) != ''"><xsl:value-of select="$processing_instruction_type"/></xsl:when>
                        <xsl:when test="normalize-space(../@type) != ''"><xsl:value-of select="../@type"/></xsl:when>

                        <xsl:otherwise> <!-- if no @type or @class = 'steps' -->

                            <xsl:variable name="list_level_" select="count(ancestor::*[local-name() = 'ul']) + count(ancestor::*[local-name() = 'ol'])"/>
                            <xsl:variable name="list_level">
                                <xsl:choose>
                                    <xsl:when test="$list_level_ &lt;= 5"><xsl:value-of select="$list_level_"/></xsl:when>
                                    <xsl:otherwise><xsl:value-of select="$list_level_ mod 5"/></xsl:otherwise>
                                </xsl:choose>
                            </xsl:variable>

                            <xsl:choose>
                                <xsl:when test="$list_level mod 5 = 0">roman_upper</xsl:when> <!-- level 5 -->
                                <xsl:when test="$list_level mod 4 = 0">alphabet_upper</xsl:when> <!-- level 4 -->
                                <xsl:when test="$list_level mod 3 = 0">roman</xsl:when> <!-- level 3 -->
                                <xsl:when test="$list_level mod 2 = 0 and ancestor::*/@class = 'steps'">alphabet</xsl:when> <!-- level 2 and @class = 'steps'-->
                                <xsl:when test="$list_level mod 2 = 0">arabic</xsl:when> <!-- level 2 -->
                                <xsl:otherwise> <!-- level 1 -->
                                    <xsl:choose>
                                        <xsl:when test="ancestor::*/@class = 'steps'">arabic</xsl:when>
                                        <xsl:otherwise>alphabet</xsl:otherwise>
                                    </xsl:choose>
                                </xsl:otherwise>
                            </xsl:choose>

                        </xsl:otherwise>
                    </xsl:choose>
                </xsl:variable>

                <xsl:variable name="format">
                    <xsl:choose>
                        <xsl:when test="$type = 'arabic'">
                            1)
                        </xsl:when>
                        <xsl:when test="$type = 'alphabet' or $type = 'alphabetic'">
                            a)
                        </xsl:when>
                        <xsl:when test="$type = 'alphabet_upper' or $type = 'alphabetic_upper'">
                            A.
                        </xsl:when>
                        <xsl:when test="$type = 'roman'">
                            i)
                        </xsl:when>
                        <xsl:when test="$type = 'roman_upper'">I.</xsl:when>
                        <xsl:otherwise>1.</xsl:otherwise> <!-- for any case, if $type has non-determined value, not using -->
                    </xsl:choose>
                </xsl:variable>

                <xsl:number value="$start_value + $curr_value" format="{normalize-space($format)}" lang="en"/>

            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'ul'] | *[local-name() = 'ol']">
        <xsl:param name="indent">0</xsl:param>
        <xsl:choose>
            <xsl:when test="parent::*[local-name() = 'note'] or parent::*[local-name() = 'termnote']">
                <fo:block-container role="SKIP">
                    <xsl:attribute name="margin-left">
                        <xsl:choose>
                            <xsl:when test="not(ancestor::*[local-name() = 'table'])"><xsl:value-of select="$note-body-indent"/></xsl:when>
                            <xsl:otherwise><xsl:value-of select="$note-body-indent-table"/></xsl:otherwise>
                        </xsl:choose>
                    </xsl:attribute>

                    <xsl:call-template name="refine_list_container_style"/>

                    <fo:block-container margin-left="0mm" role="SKIP">
                        <fo:block>
                            <xsl:apply-templates select="." mode="list">
                                <xsl:with-param name="indent" select="$indent"/>
                            </xsl:apply-templates>
                        </fo:block>
                    </fo:block-container>
                </fo:block-container>
            </xsl:when>
            <xsl:otherwise>

                        <fo:block role="SKIP">
                            <xsl:apply-templates select="." mode="list">
                                <xsl:with-param name="indent" select="$indent"/>
                            </xsl:apply-templates>
                        </fo:block>

            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_list_container_style">

    </xsl:template> <!-- refine_list_container_style -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='ul'] | *[local-name()='ol']" mode="list" name="list">

        <xsl:apply-templates select="*[local-name() = 'name']">
            <xsl:with-param name="process">true</xsl:with-param>
        </xsl:apply-templates>

        <fo:list-block xsl:use-attribute-sets="list-style">

            <xsl:variable name="provisional_distance_between_starts_">
                <attributes xsl:use-attribute-sets="list-style">
                    <xsl:call-template name="refine_list-style_provisional-distance-between-starts"/>
                </attributes>
            </xsl:variable>
            <xsl:variable name="provisional_distance_between_starts" select="normalize-space(xalan:nodeset($provisional_distance_between_starts_)/attributes/@provisional-distance-between-starts)"/>
            <xsl:if test="$provisional_distance_between_starts != ''">
                <xsl:attribute name="provisional-distance-between-starts"><xsl:value-of select="$provisional_distance_between_starts"/></xsl:attribute>
            </xsl:if>
            <xsl:variable name="provisional_distance_between_starts_value" select="substring-before($provisional_distance_between_starts, 'mm')"/>

            <!-- increase provisional-distance-between-starts for long lists -->
            <xsl:if test="local-name() = 'ol'">
                <!-- Examples: xiii), xviii), xxviii) -->
                <xsl:variable name="item_numbers">
                    <xsl:for-each select="*[local-name() = 'li']">
                        <item><xsl:call-template name="getListItemFormat"/></item>
                    </xsl:for-each>
                </xsl:variable>

                <xsl:variable name="max_length">
                    <xsl:for-each select="xalan:nodeset($item_numbers)/item">
                        <xsl:sort select="string-length(.)" data-type="number" order="descending"/>
                        <xsl:if test="position() = 1"><xsl:value-of select="string-length(.)"/></xsl:if>
                    </xsl:for-each>
                </xsl:variable>

                <!-- base width (provisional-distance-between-starts) for 4 chars -->
                <xsl:variable name="addon" select="$max_length - 4"/>
                <xsl:if test="$addon &gt; 0">
                    <xsl:attribute name="provisional-distance-between-starts"><xsl:value-of select="$provisional_distance_between_starts_value + $addon * 2"/>mm</xsl:attribute>
                </xsl:if>
                <!-- DEBUG -->
                <!-- <xsl:copy-of select="$item_numbers"/>
                <max_length><xsl:value-of select="$max_length"/></max_length>
                <addon><xsl:value-of select="$addon"/></addon> -->
            </xsl:if>

            <xsl:call-template name="refine_list-style"/>

            <xsl:if test="*[local-name() = 'name']">
                <xsl:attribute name="margin-top">0pt</xsl:attribute>
            </xsl:if>

            <xsl:apply-templates select="node()[not(local-name() = 'note')]"/>
        </fo:list-block>
        <!-- <xsl:for-each select="./iho:note">
            <xsl:call-template name="note"/>
        </xsl:for-each> -->
        <xsl:apply-templates select="./*[local-name() = 'note']"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="refine_list-style_provisional-distance-between-starts">

    </xsl:template> <!-- refine_list-style_provisional-distance-between-starts -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'ol' or local-name() = 'ul']/*[local-name() = 'name']">
        <xsl:param name="process">false</xsl:param>
        <xsl:if test="$process = 'true'">
            <fo:block xsl:use-attribute-sets="list-name-style">
                <xsl:apply-templates/>
            </fo:block>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name()='li']">
        <xsl:param name="indent">0</xsl:param>
        <!-- <fo:list-item xsl:use-attribute-sets="list-item-style">
            <fo:list-item-label end-indent="label-end()"><fo:block>x</fo:block></fo:list-item-label>
            <fo:list-item-body start-indent="body-start()" xsl:use-attribute-sets="list-item-body-style">
                <fo:block>debug li indent=<xsl:value-of select="$indent"/></fo:block>
            </fo:list-item-body>
        </fo:list-item> -->
        <fo:list-item xsl:use-attribute-sets="list-item-style">
            <xsl:copy-of select="@id"/>

            <xsl:call-template name="refine_list-item-style"/>

            <fo:list-item-label end-indent="label-end()">
                <fo:block xsl:use-attribute-sets="list-item-label-style" role="SKIP">

                    <xsl:call-template name="refine_list-item-label-style"/>

                    <!-- if 'p' contains all text in 'add' first and last elements in first p are 'add' -->
                    <xsl:if test="*[1][count(node()[normalize-space() != '']) = 1 and *[local-name() = 'add']]">
                        <xsl:call-template name="append_add-style"/>
                    </xsl:if>

                    <xsl:call-template name="getListItemFormat"/>

                </fo:block>
            </fo:list-item-label>
            <fo:list-item-body start-indent="body-start()" xsl:use-attribute-sets="list-item-body-style">
                <fo:block role="SKIP">

                    <xsl:call-template name="refine_list-item-body-style"/>

                    <xsl:apply-templates>
                        <xsl:with-param name="indent" select="$indent"/>
                    </xsl:apply-templates>

                    <!-- <xsl:apply-templates select="node()[not(local-name() = 'note')]" />
                    
                    <xsl:for-each select="./bsi:note">
                        <xsl:call-template name="note"/>
                    </xsl:for-each> -->
                </fo:block>
            </fo:list-item-body>
        </fo:list-item>
    </xsl:template>

    <!-- ===================================== -->
    <!-- END Lists processing -->
    <!-- ===================================== -->

    <!-- =================== -->
    <!-- Index section processing -->
    <!-- =================== -->

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="index" select="document($external_index)"/>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="bookmark_in_fn">
        <xsl:for-each select="//*[local-name() = 'bookmark'][ancestor::*[local-name() = 'fn']]">
            <bookmark><xsl:value-of select="@id"/></bookmark>
        </xsl:for-each>
    </xsl:variable>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="index_add_id">
        <xsl:param name="docid"/>
        <xsl:copy>
            <xsl:apply-templates select="@*|node()" mode="index_add_id">
                <xsl:with-param name="docid" select="$docid"/>
            </xsl:apply-templates>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'xref']" mode="index_add_id">
        <xsl:param name="docid"/>
        <xsl:variable name="id">
            <xsl:call-template name="generateIndexXrefId">
                <xsl:with-param name="docid" select="$docid"/>
            </xsl:call-template>
        </xsl:variable>
        <xsl:copy> <!-- add id to xref -->
            <xsl:apply-templates select="@*" mode="index_add_id"/>
            <xsl:attribute name="id">
                <xsl:value-of select="$id"/>
            </xsl:attribute>
            <xsl:apply-templates mode="index_add_id">
                <xsl:with-param name="docid" select="$docid"/>
            </xsl:apply-templates>
        </xsl:copy>
        <!-- split <xref target="bm1" to="End" pagenumber="true"> to two xref:
        <xref target="bm1" pagenumber="true"> and <xref target="End" pagenumber="true"> -->
        <xsl:if test="@to">
            <xsl:value-of select="$en_dash"/>
            <xsl:copy>
                <xsl:copy-of select="@*"/>
                <xsl:attribute name="target"><xsl:value-of select="@to"/></xsl:attribute>
                <xsl:attribute name="id">
                    <xsl:value-of select="$id"/><xsl:text>_to</xsl:text>
                </xsl:attribute>
                <xsl:apply-templates mode="index_add_id">
                    <xsl:with-param name="docid" select="$docid"/>
                </xsl:apply-templates>
            </xsl:copy>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="index_update">
        <xsl:copy>
                <xsl:apply-templates select="@*|node()" mode="index_update"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'indexsect']//*[local-name() = 'li']" mode="index_update">
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="index_update"/>
        <xsl:apply-templates select="node()[1]" mode="process_li_element"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'indexsect']//*[local-name() = 'li']/node()" mode="process_li_element" priority="2">
        <xsl:param name="element"/>
        <xsl:param name="remove" select="'false'"/>
        <xsl:param name="target"/>
        <!-- <node></node> -->
        <xsl:choose>
            <xsl:when test="self::text()  and (normalize-space(.) = ',' or normalize-space(.) = $en_dash) and $remove = 'true'">
                <!-- skip text (i.e. remove it) and process next element -->
                <!-- [removed_<xsl:value-of select="."/>] -->
                <xsl:apply-templates select="following-sibling::node()[1]" mode="process_li_element">
                    <xsl:with-param name="target"><xsl:value-of select="$target"/></xsl:with-param>
                </xsl:apply-templates>
            </xsl:when>
            <xsl:when test="self::text()">
                <xsl:value-of select="."/>
                <xsl:apply-templates select="following-sibling::node()[1]" mode="process_li_element"/>
            </xsl:when>
            <xsl:when test="self::* and local-name(.) = 'xref'">
                <xsl:variable name="id" select="@id"/>

                <xsl:variable name="id_next" select="following-sibling::*[local-name() = 'xref'][1]/@id"/>
                <xsl:variable name="id_prev" select="preceding-sibling::*[local-name() = 'xref'][1]/@id"/>

                <xsl:variable name="pages_">
                    <xsl:for-each select="$index/index/item[@id = $id or @id = $id_next or @id = $id_prev]">
                        <xsl:choose>
                            <xsl:when test="@id = $id">
                                <page><xsl:value-of select="."/></page>
                            </xsl:when>
                            <xsl:when test="@id = $id_next">
                                <page_next><xsl:value-of select="."/></page_next>
                            </xsl:when>
                            <xsl:when test="@id = $id_prev">
                                <page_prev><xsl:value-of select="."/></page_prev>
                            </xsl:when>
                        </xsl:choose>
                    </xsl:for-each>
                </xsl:variable>
                <xsl:variable name="pages" select="xalan:nodeset($pages_)"/>

                <!-- <xsl:variable name="page" select="$index/index/item[@id = $id]"/> -->
                <xsl:variable name="page" select="$pages/page"/>
                <!-- <xsl:variable name="page_next" select="$index/index/item[@id = $id_next]"/> -->
                <xsl:variable name="page_next" select="$pages/page_next"/>
                <!-- <xsl:variable name="page_prev" select="$index/index/item[@id = $id_prev]"/> -->
                <xsl:variable name="page_prev" select="$pages/page_prev"/>

                <xsl:choose>
                    <!-- 2nd pass -->
                    <!-- if page is equal to page for next and page is not the end of range -->
                    <xsl:when test="$page != '' and $page_next != '' and $page = $page_next and not(contains($page, '_to'))">  <!-- case: 12, 12-14 -->
                        <!-- skip element (i.e. remove it) and remove next text ',' -->
                        <!-- [removed_xref] -->

                        <xsl:apply-templates select="following-sibling::node()[1]" mode="process_li_element">
                            <xsl:with-param name="remove">true</xsl:with-param>
                            <xsl:with-param name="target">
                                <xsl:choose>
                                    <xsl:when test="$target != ''"><xsl:value-of select="$target"/></xsl:when>
                                    <xsl:otherwise><xsl:value-of select="@target"/></xsl:otherwise>
                                </xsl:choose>
                            </xsl:with-param>
                        </xsl:apply-templates>
                    </xsl:when>

                    <xsl:when test="$page != '' and $page_prev != '' and $page = $page_prev and contains($page_prev, '_to')"> <!-- case: 12-14, 14, ... -->
                        <!-- remove xref -->
                        <xsl:apply-templates select="following-sibling::node()[1]" mode="process_li_element">
                            <xsl:with-param name="remove">true</xsl:with-param>
                        </xsl:apply-templates>
                    </xsl:when>

                    <xsl:otherwise>
                        <xsl:apply-templates select="." mode="xref_copy">
                            <xsl:with-param name="target" select="$target"/>
                        </xsl:apply-templates>
                        <xsl:apply-templates select="following-sibling::node()[1]" mode="process_li_element"/>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:when>
            <xsl:when test="self::* and local-name(.) = 'ul'">
                <!-- ul -->
                <xsl:apply-templates select="." mode="index_update"/>
            </xsl:when>
            <xsl:otherwise>
             <xsl:apply-templates select="." mode="xref_copy">
                    <xsl:with-param name="target" select="$target"/>
                </xsl:apply-templates>
                <xsl:apply-templates select="following-sibling::node()[1]" mode="process_li_element"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="xref_copy">
        <xsl:param name="target"/>
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="xref_copy"/>
            <xsl:if test="$target != '' and not(xalan:nodeset($bookmark_in_fn)//bookmark[. = $target])">
                <xsl:attribute name="target"><xsl:value-of select="$target"/></xsl:attribute>
            </xsl:if>
            <xsl:apply-templates select="node()" mode="xref_copy"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="generateIndexXrefId">
        <xsl:param name="docid"/>

        <xsl:variable name="level" select="count(ancestor::*[local-name() = 'ul'])"/>

        <xsl:variable name="docid_curr">
            <xsl:value-of select="$docid"/>
            <xsl:if test="normalize-space($docid) = ''"><xsl:call-template name="getDocumentId"/></xsl:if>
        </xsl:variable>

        <xsl:variable name="item_number">
            <xsl:number count="*[local-name() = 'li'][ancestor::*[local-name() = 'indexsect']]" level="any"/>
        </xsl:variable>
        <xsl:variable name="xref_number"><xsl:number count="*[local-name() = 'xref']"/></xsl:variable>
        <xsl:value-of select="concat($docid_curr, '_', $item_number, '_', $xref_number)"/> <!-- $level, '_',  -->
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'indexsect']/*[local-name() = 'title']" priority="4">
        <fo:block xsl:use-attribute-sets="indexsect-title-style">
            <!-- Index -->
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'indexsect']/*[local-name() = 'clause']/*[local-name() = 'title']" priority="4">
        <!-- Letter A, B, C, ... -->
        <fo:block xsl:use-attribute-sets="indexsect-clause-title-style">
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'indexsect']/*[local-name() = 'clause']" priority="4">
        <xsl:apply-templates/>
        <fo:block>
            <xsl:if test="following-sibling::*[local-name() = 'clause']">
                <fo:block> </fo:block>
            </xsl:if>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'indexsect']//*[local-name() = 'ul']" priority="4">
        <xsl:apply-templates/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'indexsect']//*[local-name() = 'li']" priority="4">
        <xsl:variable name="level" select="count(ancestor::*[local-name() = 'ul'])"/>
        <fo:block start-indent="{5 * $level}mm" text-indent="-5mm">

            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
        <!-- to split by '_' and other chars -->
        <xsl:call-template name="add-zero-spaces-java"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'bookmark']" name="bookmark">
        <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
        <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
        <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
        <xsl:if test="not(following-sibling::node()[normalize-space() != ''])"><fo:inline font-size="1pt"> </fo:inline></xsl:if>
    </xsl:template>
    <!-- =================== -->
    <!-- End of Index processing -->
    <!-- =================== -->

    <!-- ============ -->
    <!-- errata -->
    <!-- ============ -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'errata']">
        <!-- <row>
                    <date>05-07-2013</date>
                    <type>Editorial</type>
                    <change>Changed CA-9 Priority Code from P1 to P2 in <xref target="tabled2"/>.</change>
                    <pages>D-3</pages>
                </row>
        -->
        <fo:table table-layout="fixed" width="100%" font-size="10pt" border="1pt solid black">
            <fo:table-column column-width="20mm"/>
            <fo:table-column column-width="23mm"/>
            <fo:table-column column-width="107mm"/>
            <fo:table-column column-width="15mm"/>
            <fo:table-body>
                <fo:table-row text-align="center" font-weight="bold" background-color="black" color="white">

                    <fo:table-cell border="1pt solid black"><fo:block role="SKIP">Date</fo:block></fo:table-cell>
                    <fo:table-cell border="1pt solid black"><fo:block role="SKIP">Type</fo:block></fo:table-cell>
                    <fo:table-cell border="1pt solid black"><fo:block role="SKIP">Change</fo:block></fo:table-cell>
                    <fo:table-cell border="1pt solid black"><fo:block role="SKIP">Pages</fo:block></fo:table-cell>
                </fo:table-row>
                <xsl:apply-templates/>
            </fo:table-body>
        </fo:table>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'errata']/*[local-name() = 'row']">
        <fo:table-row>
            <xsl:apply-templates/>
        </fo:table-row>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'errata']/*[local-name() = 'row']/*">
        <fo:table-cell border="1pt solid black" padding-left="1mm" padding-top="0.5mm">
            <fo:block role="SKIP"><xsl:apply-templates/></fo:block>
        </fo:table-cell>
    </xsl:template>
    <!-- ============ -->
    <!-- END errata -->
    <!-- ============ -->

    <!-- ======================= -->
    <!-- Bibliography rendering -->
    <!-- ======================= -->

    <!-- ========================================================== -->
    <!-- Reference sections (Normative References and Bibliography) -->
    <!-- ========================================================== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'references'][@hidden='true']" priority="3"/>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'bibitem'][@hidden='true']" priority="3">
        <xsl:param name="skip" select="normalize-space(preceding-sibling::*[1][local-name() = 'bibitem'] and 1 = 1)"/>

    </xsl:template>
    <!-- don't display bibitem with @id starts with '_hidden', that was introduced for references integrity -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'bibitem'][starts-with(@id, 'hidden_bibitem_')]" priority="3"/>

    <!-- Normative references -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'references'][@normative='true']" priority="2">

        <fo:block id="{@id}">
            <xsl:apply-templates/>

        </fo:block>
    </xsl:template>

    <!-- Bibliography (non-normative references) -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'references']">
        <xsl:if test="not(ancestor::*[local-name() = 'annex'])">

        </xsl:if>

        <!-- <xsl:if test="ancestor::*[local-name() = 'annex']">
            <xsl:if test="$namespace = 'csa' or $namespace = 'csd' or $namespace = 'gb' or $namespace = 'iec' or $namespace = 'iso' or $namespace = 'itu'">
                <fo:block break-after="page"/>
            </xsl:if>
        </xsl:if> -->

        <fo:block id="{@id}"/>

        <xsl:apply-templates select="*[local-name() = 'title'][@columns = 1]"/>

        <fo:block xsl:use-attribute-sets="references-non-normative-style">
            <xsl:apply-templates select="node()[not(local-name() = 'title' and @columns = 1)]"/>

        </fo:block>

    </xsl:template> <!-- references -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'bibitem']">
        <xsl:call-template name="bibitem"/>
    </xsl:template>

    <!-- Normative references -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'references'][@normative='true']/*[local-name() = 'bibitem']" name="bibitem" priority="2">

                <fo:block id="{@id}" xsl:use-attribute-sets="bibitem-normative-style">

                    <xsl:call-template name="processBibitem"/>
                </fo:block>

    </xsl:template> <!-- bibitem -->

    <!-- Bibliography (non-normative references) -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" name="bibitem_non_normative" priority="2">
        <xsl:param name="skip" select="normalize-space(preceding-sibling::*[1][local-name() = 'bibitem'] and 1 = 1)"/> <!-- current bibiitem is non-first -->
         <!-- $namespace = 'csd' or $namespace = 'gb' or $namespace = 'iec' or $namespace = 'ieee' or $namespace = 'iso' or $namespace = 'jcgm' or $namespace = 'm3d' or 
            $namespace = 'mpfd' or $namespace = 'ogc' or $namespace = 'ogc-white-paper' -->
                <!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
                <fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-style">

                        <xsl:variable name="bibitem_label">
                            <xsl:apply-templates select="*[local-name() = 'biblio-tag']">
                                <xsl:with-param name="biblio_tag_part">first</xsl:with-param>
                            </xsl:apply-templates>
                        </xsl:variable>
                        <xsl:if test="string-length(normalize-space($bibitem_label)) &gt; 5">
                            <xsl:attribute name="provisional-distance-between-starts">12mm</xsl:attribute>
                        </xsl:if>

                    <fo:list-item>
                        <fo:list-item-label end-indent="label-end()">
                            <fo:block role="SKIP">
                                <fo:inline role="SKIP">

                                        <xsl:if test="($current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report')">
                                            <xsl:attribute name="color"><xsl:value-of select="$color_blue"/></xsl:attribute>
                                        </xsl:if>

                                    <xsl:apply-templates select="*[local-name() = 'biblio-tag']">
                                        <xsl:with-param name="biblio_tag_part">first</xsl:with-param>
                                    </xsl:apply-templates>
                                </fo:inline>
                            </fo:block>
                        </fo:list-item-label>
                        <fo:list-item-body start-indent="body-start()">
                            <fo:block xsl:use-attribute-sets="bibitem-non-normative-list-body-style" role="SKIP">
                                <xsl:call-template name="processBibitem">
                                    <xsl:with-param name="biblio_tag_part">last</xsl:with-param>
                                </xsl:call-template>
                            </fo:block>
                        </fo:list-item-body>
                    </fo:list-item>
                </fo:list-block>

    </xsl:template> <!-- references[not(@normative='true')]/bibitem -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertListItem_Bibitem">
        <xsl:choose>
            <xsl:when test="@hidden = 'true'"><!-- skip --></xsl:when>
            <xsl:otherwise>
                <fo:list-item id="{@id}" xsl:use-attribute-sets="bibitem-non-normative-list-item-style">

                    <fo:list-item-label end-indent="label-end()">
                        <fo:block role="SKIP">
                            <fo:inline role="SKIP">
                                <xsl:apply-templates select="*[local-name() = 'biblio-tag']">
                                    <xsl:with-param name="biblio_tag_part">first</xsl:with-param>
                                </xsl:apply-templates>
                            </fo:inline>
                        </fo:block>
                    </fo:list-item-label>
                    <fo:list-item-body start-indent="body-start()">
                        <fo:block xsl:use-attribute-sets="bibitem-non-normative-list-body-style" role="SKIP">
                            <xsl:call-template name="processBibitem">
                                <xsl:with-param name="biblio_tag_part">last</xsl:with-param>
                            </xsl:call-template>
                        </fo:block>
                    </fo:list-item-body>
                </fo:list-item>
            </xsl:otherwise>
        </xsl:choose>
        <xsl:apply-templates select="following-sibling::*[1][local-name() = 'bibitem']">
            <xsl:with-param name="skip">false</xsl:with-param>
        </xsl:apply-templates>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="processBibitem">
        <xsl:param name="biblio_tag_part">both</xsl:param>

                <!-- start bibitem processing -->
                <xsl:if test=".//*[local-name() = 'fn']">
                    <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
                </xsl:if>

                <xsl:apply-templates select="*[local-name() = 'biblio-tag']">
                    <xsl:with-param name="biblio_tag_part" select="$biblio_tag_part"/>
                </xsl:apply-templates>
                <xsl:apply-templates select="*[local-name() = 'formattedref']"/>
                <!-- end bibitem processing -->

    </xsl:template> <!-- processBibitem (bibitem) -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'title']" mode="title">
        <fo:inline><xsl:apply-templates/></fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'bibitem']/*[local-name() = 'docidentifier']"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'formattedref']">
        <!-- <xsl:if test="$namespace = 'unece' or $namespace = 'unece-rec'">
            <xsl:text>, </xsl:text>
        </xsl:if> -->
        <xsl:apply-templates/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'biblio-tag']">
        <xsl:param name="biblio_tag_part">both</xsl:param>
        <xsl:choose>
            <xsl:when test="$biblio_tag_part = 'first' and *[local-name() = 'tab']">
                <xsl:apply-templates select="./*[local-name() = 'tab'][1]/preceding-sibling::node()"/>
            </xsl:when>
            <xsl:when test="$biblio_tag_part = 'last'">
                <xsl:apply-templates select="./*[local-name() = 'tab'][1]/following-sibling::node()"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:apply-templates/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'biblio-tag']/*[local-name() = 'tab']" priority="2">
        <xsl:text> </xsl:text>
    </xsl:template>

    <!-- ======================= -->
    <!-- END Bibliography rendering -->
    <!-- ======================= -->

    <!-- ========================================================== -->
    <!-- END Reference sections (Normative References and Bibliography) -->
    <!-- ========================================================== -->

    <!-- =================== -->
    <!-- Form's elements processing -->
    <!-- =================== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'form']">
        <fo:block>
            <xsl:apply-templates/>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'form']//*[local-name() = 'label']">
        <fo:inline><xsl:apply-templates/></fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'text' or @type = 'date' or @type = 'file' or @type = 'password']">
        <fo:inline>
            <xsl:call-template name="text_input"/>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="text_input">
        <xsl:variable name="count">
            <xsl:choose>
                <xsl:when test="normalize-space(@maxlength) != ''"><xsl:value-of select="@maxlength"/></xsl:when>
                <xsl:when test="normalize-space(@size) != ''"><xsl:value-of select="@size"/></xsl:when>
                <xsl:otherwise>10</xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:call-template name="repeat">
            <xsl:with-param name="char" select="'_'"/>
            <xsl:with-param name="count" select="$count"/>
        </xsl:call-template>
        <xsl:text> </xsl:text>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'button']">
        <xsl:variable name="caption">
            <xsl:choose>
                <xsl:when test="normalize-space(@value) != ''"><xsl:value-of select="@value"/></xsl:when>
                <xsl:otherwise>BUTTON</xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <fo:inline>[<xsl:value-of select="$caption"/>]</fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'checkbox']">
        <fo:inline padding-right="1mm">
            <fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
                <xsl:attribute name="height">3.5mm</xsl:attribute>
                <xsl:attribute name="content-width">100%</xsl:attribute>
                <xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
                <xsl:attribute name="scaling">uniform</xsl:attribute>
                <svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
                    <polyline points="0,0 80,0 80,80 0,80 0,0" stroke="black" stroke-width="5" fill="white"/>
                </svg>
            </fo:instream-foreign-object>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'radio']">
        <fo:inline padding-right="1mm">
            <fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
                <xsl:attribute name="height">3.5mm</xsl:attribute>
                <xsl:attribute name="content-width">100%</xsl:attribute>
                <xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
                <xsl:attribute name="scaling">uniform</xsl:attribute>
                <svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
                    <circle cx="40" cy="40" r="30" stroke="black" stroke-width="5" fill="white"/>
                    <circle cx="40" cy="40" r="15" stroke="black" stroke-width="5" fill="white"/>
                </svg>
            </fo:instream-foreign-object>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'form']//*[local-name() = 'select']">
        <fo:inline>
            <xsl:call-template name="text_input"/>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'form']//*[local-name() = 'textarea']">
        <fo:block-container border="1pt solid black" width="50%">
            <fo:block> </fo:block>
        </fo:block-container>
    </xsl:template>

    <!-- =================== -->
    <!-- End Form's elements processing -->
    <!-- =================== -->

    <!-- =================== -->
    <!-- Table of Contents (ToC) processing -->
    <!-- =================== -->

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="toc_level">
        <!-- https://www.metanorma.org/author/ref/document-attributes/ -->
        <xsl:variable name="pdftoclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'PDF TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- :toclevels-pdf  Number of table of contents levels to render in PDF output; used to override :toclevels:-->
        <xsl:variable name="toclevels" select="normalize-space(//*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name']/text() = 'TOC Heading Levels']/*[local-name() = 'value'])"/> <!-- Number of table of contents levels to render -->
        <xsl:choose>
            <xsl:when test="$pdftoclevels != ''"><xsl:value-of select="number($pdftoclevels)"/></xsl:when> <!-- if there is value in xml -->
            <xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when>  <!-- if there is value in xml -->
            <xsl:otherwise><!-- default value -->

                        <xsl:choose>
                            <xsl:when test="$current_template = 'whitepaper' or $current_template = 'icap-whitepaper' or $current_template = 'industry-connection-report'">3</xsl:when>
                            <xsl:otherwise>2</xsl:otherwise>
                        </xsl:choose>

            </xsl:otherwise>
        </xsl:choose>
    </xsl:variable>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'toc']">
        <xsl:param name="colwidths"/>
        <xsl:variable name="colwidths_">
            <xsl:choose>
                <xsl:when test="not($colwidths)">
                    <xsl:variable name="toc_table_simple">
                        <tbody>
                            <xsl:apply-templates mode="toc_table_width"/>
                        </tbody>
                    </xsl:variable>
                    <xsl:variable name="cols-count" select="count(xalan:nodeset($toc_table_simple)/*/tr[1]/td)"/>
                    <xsl:call-template name="calculate-column-widths-proportional">
                        <xsl:with-param name="cols-count" select="$cols-count"/>
                        <xsl:with-param name="table" select="$toc_table_simple"/>
                    </xsl:call-template>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:copy-of select="$colwidths"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <fo:block role="TOCI" space-after="16pt">
            <fo:table width="100%" table-layout="fixed">
                <xsl:for-each select="xalan:nodeset($colwidths_)/column">
                    <fo:table-column column-width="proportional-column-width({.})"/>
                </xsl:for-each>
                <fo:table-body>
                    <xsl:apply-templates/>
                </fo:table-body>
            </fo:table>
        </fo:block>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'toc']//*[local-name() = 'li']" priority="2">
        <fo:table-row min-height="5mm">
            <xsl:apply-templates/>
        </fo:table-row>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'toc']//*[local-name() = 'li']/*[local-name() = 'p']">
        <xsl:apply-templates/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'toc']//*[local-name() = 'xref']" priority="3">
        <!-- <xref target="cgpm9th1948r6">1.6.3<tab/>&#8220;9th CGPM, 1948:<tab/>decision to establish the SI&#8221;</xref> -->
        <xsl:variable name="target" select="@target"/>
        <xsl:for-each select="*[local-name() = 'tab']">
            <xsl:variable name="current_id" select="generate-id()"/>
            <fo:table-cell>
                <fo:block line-height-shift-adjustment="disregard-shifts" role="SKIP">
                    <xsl:call-template name="insert_basic_link">
                        <xsl:with-param name="element">
                            <fo:basic-link internal-destination="{$target}" fox:alt-text="{.}">
                                <xsl:for-each select="following-sibling::node()[not(self::*[local-name() = 'tab']) and preceding-sibling::*[local-name() = 'tab'][1][generate-id() = $current_id]]">
                                    <xsl:choose>
                                        <xsl:when test="self::text()"><xsl:value-of select="."/></xsl:when>
                                        <xsl:otherwise><xsl:apply-templates select="."/></xsl:otherwise>
                                    </xsl:choose>
                                </xsl:for-each>
                            </fo:basic-link>
                        </xsl:with-param>
                    </xsl:call-template>
                </fo:block>
            </fo:table-cell>
        </xsl:for-each>
        <!-- last column - for page numbers -->
        <fo:table-cell text-align="right" font-size="10pt" font-weight="bold" font-family="Arial">
            <fo:block role="SKIP">
                <xsl:call-template name="insert_basic_link">
                    <xsl:with-param name="element">
                        <fo:basic-link internal-destination="{$target}" fox:alt-text="{.}">
                            <fo:page-number-citation ref-id="{$target}"/>
                        </fo:basic-link>
                    </xsl:with-param>
                </xsl:call-template>
            </fo:block>
        </fo:table-cell>
    </xsl:template>

    <!-- ================================== -->
    <!-- calculate ToC table columns widths -->
    <!-- ================================== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*" mode="toc_table_width">
        <xsl:apply-templates mode="toc_table_width"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'clause'][@type = 'toc']/*[local-name() = 'title']" mode="toc_table_width"/>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'clause'][not(@type = 'toc')]/*[local-name() = 'title']" mode="toc_table_width"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'li']" mode="toc_table_width">
        <tr>
            <xsl:apply-templates mode="toc_table_width"/>
        </tr>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'xref']" mode="toc_table_width">
        <!-- <xref target="cgpm9th1948r6">1.6.3<tab/>&#8220;9th CGPM, 1948:<tab/>decision to establish the SI&#8221;</xref> -->
        <xsl:for-each select="*[local-name() = 'tab']">
            <xsl:variable name="current_id" select="generate-id()"/>
            <td>
                <xsl:for-each select="following-sibling::node()[not(self::*[local-name() = 'tab']) and preceding-sibling::*[local-name() = 'tab'][1][generate-id() = $current_id]]">
                    <xsl:copy-of select="."/>
                </xsl:for-each>
            </td>
        </xsl:for-each>
        <td>333</td> <!-- page number, just for fill -->
    </xsl:template>

    <!-- ================================== -->
    <!-- END: calculate ToC table columns widths -->
    <!-- ================================== -->

    <!-- =================== -->
    <!-- End Table of Contents (ToC) processing -->
    <!-- =================== -->

    <!-- insert fo:basic-link, if external-destination or internal-destination is non-empty, otherwise insert fo:inline -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insert_basic_link">
        <xsl:param name="element"/>
        <xsl:variable name="element_node" select="xalan:nodeset($element)"/>
        <xsl:variable name="external-destination" select="normalize-space(count($element_node/fo:basic-link/@external-destination[. != '']) = 1)"/>
        <xsl:variable name="internal-destination" select="normalize-space(count($element_node/fo:basic-link/@internal-destination[. != '']) = 1)"/>
        <xsl:choose>
            <xsl:when test="$external-destination = 'true' or $internal-destination = 'true'">
                <xsl:copy-of select="$element_node"/>
            </xsl:when>
            <xsl:otherwise>
                <fo:inline>
                    <xsl:for-each select="$element_node/fo:basic-link/@*[local-name() != 'external-destination' and local-name() != 'internal-destination' and local-name() != 'alt-text']">
                        <xsl:attribute name="{local-name()}"><xsl:value-of select="."/></xsl:attribute>
                    </xsl:for-each>
                    <xsl:copy-of select="$element_node/fo:basic-link/node()"/>
                </fo:inline>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'variant-title']"/> <!-- [@type = 'sub'] -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'variant-title'][@type = 'sub']" mode="subtitle">
        <fo:inline padding-right="5mm"> </fo:inline>
        <fo:inline><xsl:apply-templates/></fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'blacksquare']" name="blacksquare">
        <fo:inline padding-right="2.5mm" baseline-shift="5%">
            <fo:instream-foreign-object content-height="2mm" content-width="2mm" fox:alt-text="Quad">
                    <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 2 2">
                        <rect x="0" y="0" width="2" height="2" fill="black"/>
                    </svg>
                </fo:instream-foreign-object>
        </fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@language">
        <xsl:copy-of select="."/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'p'][@type = 'floating-title' or @type = 'section-title']" priority="4">
        <xsl:call-template name="title"/>
    </xsl:template>

    <!-- ================ -->
    <!-- Admonition -->
    <!-- ================ -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'admonition']">

         <!-- text in the box -->
                <fo:block-container id="{@id}" xsl:use-attribute-sets="admonition-style">

                    <xsl:call-template name="setBlockSpanAll"/>

                        <xsl:if test="@type = 'editorial'">
                            <xsl:attribute name="border">none</xsl:attribute>
                            <!--     <xsl:attribute name="font-weight">bold</xsl:attribute>
                            <xsl:attribute name="font-style">italic</xsl:attribute> -->
                            <xsl:attribute name="color">green</xsl:attribute>
                            <xsl:attribute name="font-weight">normal</xsl:attribute>
                            <xsl:attribute name="margin-top">12pt</xsl:attribute>
                            <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
                            <xsl:attribute name="text-align">left</xsl:attribute>
                        </xsl:if>
                        <xsl:if test="not(@type)">
                            <xsl:attribute name="font-size">9pt</xsl:attribute>
                            <xsl:attribute name="text-align">left</xsl:attribute>
                        </xsl:if>

                            <fo:block-container xsl:use-attribute-sets="admonition-container-style" role="SKIP">

                                    <xsl:if test="@type = 'editorial' or not(@type)">
                                        <xsl:attribute name="padding">0mm</xsl:attribute>
                                    </xsl:if>
                                    <xsl:if test="not(@type)">
                                        <xsl:attribute name="padding">1mm</xsl:attribute>
                                        <xsl:attribute name="padding-bottom">0.5mm</xsl:attribute>
                                    </xsl:if>

                                        <fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
                                            <fo:block xsl:use-attribute-sets="admonition-p-style">
                                                <fo:inline>
                                                    <xsl:call-template name="displayAdmonitionName">
                                                        <xsl:with-param name="sep">: </xsl:with-param>
                                                    </xsl:call-template>
                                                </fo:inline>
                                                <xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
                                            </fo:block>
                                        </fo:block-container>

                            </fo:block-container>

                </fo:block-container>

    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="displayAdmonitionName">
        <xsl:param name="sep"/> <!-- Example: ' - ' -->
        <!-- <xsl:choose>
            <xsl:when test="$namespace = 'nist-cswp' or $namespace = 'nist-sp'">
                <xsl:choose>
                    <xsl:when test="@type='important'"><xsl:apply-templates select="@type"/></xsl:when>
                    <xsl:otherwise>
                        <xsl:apply-templates select="*[local-name() = 'name']"/>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:when>
            <xsl:otherwise>
                <xsl:apply-templates select="*[local-name() = 'name']"/>
                <xsl:if test="not(*[local-name() = 'name'])">
                    <xsl:apply-templates select="@type"/>
                </xsl:if>
            </xsl:otherwise>
        </xsl:choose> -->
        <xsl:variable name="name">
            <xsl:apply-templates select="*[local-name() = 'name']"/>
        </xsl:variable>
        <xsl:copy-of select="$name"/>
        <xsl:if test="normalize-space($name) != ''">
            <xsl:value-of select="$sep"/>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'admonition']/*[local-name() = 'name']">
        <xsl:apply-templates/>
    </xsl:template>

    <!-- <xsl:template match="*[local-name() = 'admonition']/@type">
        <xsl:variable name="admonition_type_">
            <xsl:call-template name="getLocalizedString">
                <xsl:with-param name="key">admonition.<xsl:value-of select="."/></xsl:with-param>
            </xsl:call-template>
        </xsl:variable>
        <xsl:variable name="admonition_type" select="normalize-space(java:toUpperCase(java:java.lang.String.new($admonition_type_)))"/>
        <xsl:value-of select="$admonition_type"/>
        <xsl:if test="$admonition_type = ''">
            <xsl:value-of select="java:toUpperCase(java:java.lang.String.new(.))"/>
        </xsl:if>
    </xsl:template> -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'admonition']/*[local-name() = 'p']">

                <xsl:choose>
                    <xsl:when test="ancestor::*[local-name() = 'admonition'][@type = 'editorial']">
                        <xsl:apply-templates/>
                    </xsl:when>
                    <xsl:otherwise>
                        <fo:block xsl:use-attribute-sets="admonition-p-style">
                            <xsl:apply-templates/>
                        </fo:block>
                    </xsl:otherwise>
                </xsl:choose>

    </xsl:template>

    <!-- ================ -->
    <!-- END Admonition -->
    <!-- ================ -->

    <!-- ===================================== -->
    <!-- Update xml -->
    <!-- ===================================== -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="updateXML">
        <xsl:if test="$debug = 'true'"><xsl:message>START updated_xml_step1</xsl:message></xsl:if>
        <xsl:variable name="startTime1" select="java:getTime(java:java.util.Date.new())"/>

        <!-- STEP1: Re-order elements in 'preface', 'sections' based on @displayorder -->
        <xsl:variable name="updated_xml_step1">
            <xsl:if test="$table_if = 'false'">
                <xsl:apply-templates mode="update_xml_step1"/>
            </xsl:if>
        </xsl:variable>

        <xsl:variable name="endTime1" select="java:getTime(java:java.util.Date.new())"/>
        <xsl:if test="$debug = 'true'">
            <xsl:message>DEBUG: processing time <xsl:value-of select="$endTime1 - $startTime1"/> msec.</xsl:message>
            <xsl:message>END updated_xml_step1</xsl:message>
            <!-- <redirect:write file="updated_xml_step1_{java:getTime(java:java.util.Date.new())}.xml">
                <xsl:copy-of select="$updated_xml_step1"/>
            </redirect:write> -->
        </xsl:if>

        <xsl:if test="$debug = 'true'"><xsl:message>START updated_xml_step2</xsl:message></xsl:if>
        <xsl:variable name="startTime2" select="java:getTime(java:java.util.Date.new())"/>

        <!-- STEP2: add 'fn' after 'eref' and 'origin', if referenced to bibitem with 'note' = Withdrawn.' or 'Cancelled and replaced...'  -->
        <xsl:variable name="updated_xml_step2">

                    <xsl:if test="$table_if = 'false'">
                        <xsl:apply-templates select="xalan:nodeset($updated_xml_step1)" mode="update_xml_step2"/>
                    </xsl:if>

        </xsl:variable>

        <xsl:variable name="endTime2" select="java:getTime(java:java.util.Date.new())"/>
        <xsl:if test="$debug = 'true'">
            <xsl:message>DEBUG: processing time <xsl:value-of select="$endTime2 - $startTime2"/> msec.</xsl:message>
            <xsl:message>END updated_xml_step2</xsl:message>
            <!-- <redirect:write file="updated_xml_step2_{java:getTime(java:java.util.Date.new())}.xml">
                <xsl:copy-of select="$updated_xml_step2"/>
            </redirect:write> -->
        </xsl:if>

        <xsl:if test="$debug = 'true'"><xsl:message>START updated_xml_step3</xsl:message></xsl:if>
        <xsl:variable name="startTime3" select="java:getTime(java:java.util.Date.new())"/>

        <xsl:variable name="updated_xml_step3">
            <xsl:choose>
                <xsl:when test="$table_if = 'false'">
                    <xsl:apply-templates select="xalan:nodeset($updated_xml_step2)" mode="update_xml_enclose_keep-together_within-line"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:apply-templates select="." mode="update_xml_enclose_keep-together_within-line"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:variable name="endTime3" select="java:getTime(java:java.util.Date.new())"/>
        <xsl:if test="$debug = 'true'">
            <xsl:message>DEBUG: processing time <xsl:value-of select="$endTime3 - $startTime3"/> msec.</xsl:message>
            <xsl:message>END updated_xml_step3</xsl:message>
            <!-- <redirect:write file="updated_xml_step3_{java:getTime(java:java.util.Date.new())}.xml">
                <xsl:copy-of select="$updated_xml_step3"/>
            </redirect:write> -->
        </xsl:if>

        <!-- <xsl:if test="$debug = 'true'"><xsl:message>START copying updated_xml_step3</xsl:message></xsl:if>
        <xsl:variable name="startTime4" select="java:getTime(java:java.util.Date.new())"/>  -->
        <xsl:copy-of select="$updated_xml_step3"/>
        <!-- <xsl:variable name="endTime4" select="java:getTime(java:java.util.Date.new())"/>
        <xsl:if test="$debug = 'true'">
            <xsl:message>DEBUG: processing time <xsl:value-of select="$endTime4 - $startTime4"/> msec.</xsl:message>
            <xsl:message>END copying updated_xml_step3</xsl:message>
        </xsl:if> -->

    </xsl:template>

    <!-- =========================================================================== -->
    <!-- STEP1:  -->
    <!--   - Re-order elements in 'preface', 'sections' based on @displayorder -->
    <!--   - Put Section title in the correct position -->
    <!--   - Ignore 'span' without style -->
    <!--   - Remove semantic xml part -->
    <!--   - Remove image/emf (EMF vector image for Word) -->
    <!--   - add @id, redundant for table auto-layout algorithm -->
    <!-- =========================================================================== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="update_xml_step1">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()" mode="update_xml_step1"/>
        </xsl:copy>
    </xsl:template>

    <!-- change section's order based on @displayorder value -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'preface']" mode="update_xml_step1">
        <xsl:copy>
            <xsl:copy-of select="@*"/>

            <xsl:variable name="nodes_preface_">
                <xsl:for-each select="*">
                    <node id="{@id}"/>
                </xsl:for-each>
            </xsl:variable>
            <xsl:variable name="nodes_preface" select="xalan:nodeset($nodes_preface_)"/>

            <xsl:for-each select="*">
                <xsl:sort select="@displayorder" data-type="number"/>

                <!-- process Section's title -->
                <xsl:variable name="preceding-sibling_id" select="$nodes_preface/node[@id = current()/@id]/preceding-sibling::node[1]/@id"/>
                <xsl:if test="$preceding-sibling_id != ''">
                    <xsl:apply-templates select="parent::*/*[@type = 'section-title' and @id = $preceding-sibling_id and not(@displayorder)]" mode="update_xml_step1"/>
                </xsl:if>

                <xsl:choose>
                    <xsl:when test="@type = 'section-title' and not(@displayorder)"><!-- skip, don't copy, because copied in above 'apply-templates' --></xsl:when>
                    <xsl:otherwise>
                        <xsl:apply-templates select="." mode="update_xml_step1"/>
                    </xsl:otherwise>
                </xsl:choose>

            </xsl:for-each>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'sections']" mode="update_xml_step1">
        <xsl:copy>
            <xsl:copy-of select="@*"/>

            <xsl:variable name="nodes_sections_">
                <xsl:for-each select="*">
                    <node id="{@id}"/>
                </xsl:for-each>
            </xsl:variable>
            <xsl:variable name="nodes_sections" select="xalan:nodeset($nodes_sections_)"/>

            <!-- move section 'Normative references' inside 'sections' -->
            <xsl:for-each select="* |      ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibliography']/*[local-name()='references'][@normative='true'] |     ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][@normative='true']]">
                <xsl:sort select="@displayorder" data-type="number"/>

                <!-- process Section's title -->
                <xsl:variable name="preceding-sibling_id" select="$nodes_sections/node[@id = current()/@id]/preceding-sibling::node[1]/@id"/>
                <xsl:if test="$preceding-sibling_id != ''">
                    <xsl:apply-templates select="parent::*/*[@type = 'section-title' and @id = $preceding-sibling_id and not(@displayorder)]" mode="update_xml_step1"/>
                </xsl:if>

                <xsl:choose>
                    <xsl:when test="@type = 'section-title' and not(@displayorder)"><!-- skip, don't copy, because copied in above 'apply-templates' --></xsl:when>
                    <xsl:otherwise>
                        <xsl:apply-templates select="." mode="update_xml_step1"/>
                    </xsl:otherwise>
                </xsl:choose>

            </xsl:for-each>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'bibliography']" mode="update_xml_step1">
        <xsl:copy>
            <xsl:copy-of select="@*"/>
            <!-- copy all elements from bibliography except 'Normative references' (moved to 'sections') -->
            <xsl:for-each select="*[not(@normative='true') and not(*[@normative='true'])]">
                <xsl:sort select="@displayorder" data-type="number"/>
                <xsl:apply-templates select="." mode="update_xml_step1"/>
            </xsl:for-each>
        </xsl:copy>
    </xsl:template>

    <!-- Example with 'class': <span class="stdpublisher">ISO</span> <span class="stddocNumber">10303</span>-<span class="stddocPartNumber">1</span>:<span class="stdyear">1994</span> -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'span'][@style or @class = 'stdpublisher' or @class = 'stddocNumber' or @class = 'stddocPartNumber' or @class = 'stdyear']" mode="update_xml_step1" priority="2">
        <xsl:copy>
            <xsl:copy-of select="@*"/>
            <xsl:apply-templates mode="update_xml_step1"/>
        </xsl:copy>
    </xsl:template>
    <!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'span']" mode="update_xml_step1">
        <xsl:apply-templates mode="update_xml_step1"/>
    </xsl:template>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'sections']/*[local-name() = 'p'][starts-with(@class, 'zzSTDTitle')]/*[local-name() = 'span'][@class] | *[local-name() = 'sourcecode']//*[local-name() = 'span'][@class]" mode="update_xml_step1" priority="2">
        <xsl:copy>
            <xsl:copy-of select="@*"/>
            <xsl:apply-templates mode="update_xml_step1"/>
        </xsl:copy>
    </xsl:template>

    <!-- remove semantic xml -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'metanorma-extension']/*[local-name() = 'metanorma']/*[local-name() = 'source']" mode="update_xml_step1"/>

    <!-- remove image/emf -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'image']/*[local-name() = 'emf']" mode="update_xml_step1"/>

    <!-- remove preprocess-xslt -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'preprocess-xslt']" mode="update_xml_step1"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'stem'][not(.//*[local-name() = 'passthrough']) and not(.//*[@linebreak])] |        *[local-name() = 'image'][not(.//*[local-name() = 'passthrough'])] |        *[local-name() = 'sourcecode'][not(.//*[local-name() = 'passthrough'])] |        *[local-name() = 'bibdata'][not(.//*[local-name() = 'passthrough'])] |        *[local-name() = 'localized-strings']" mode="update_xml_step1">
        <xsl:copy-of select="."/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']" mode="update_xml_step1">
        <xsl:copy>
            <xsl:copy-of select="@*"/>
            <xsl:if test="1 = 2"> <!-- remove attachment/text(), because attachments added in the template 'addPDFUAmeta' before applying 'update_xml_step1' -->
                <xsl:variable name="name_filepath" select="concat($inputxml_basepath, @name)"/>
                <xsl:variable name="file_exists" select="normalize-space(java:exists(java:java.io.File.new($name_filepath)))"/>
                <xsl:if test="$file_exists = 'false'"> <!-- copy attachment content only if file on disk doesnt exist -->
                    <xsl:value-of select="normalize-space(.)"/>
                </xsl:if>
            </xsl:if>
        </xsl:copy>
    </xsl:template>

    <!-- add @id, mandatory for table auto-layout algorithm -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'dl' or local-name() = 'table'][not(@id)]" mode="update_xml_step1">
        <xsl:copy>
            <xsl:copy-of select="@*"/>
            <xsl:call-template name="add_id"/>
            <xsl:apply-templates mode="update_xml_step1"/>
        </xsl:copy>
    </xsl:template>

    <!-- prevent empty thead processing in XSL-FO, remove it -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'table']/*[local-name() = 'thead'][count(*) = 0]" mode="update_xml_step1"/>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="add_id">
        <xsl:if test="not(@id)">
            <!-- add @id - first element with @id plus '_element_name' -->
            <xsl:attribute name="id"><xsl:value-of select="(.//*[@id])[1]/@id"/>_<xsl:value-of select="local-name()"/></xsl:attribute>
        </xsl:if>
    </xsl:template>

    <!-- optimization: remove clause if table_only_with_id isn't empty and clause doesn't contain table or dl with table_only_with_id -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'clause' or local-name() = 'p' or local-name() = 'definitions' or local-name() = 'annex']" mode="update_xml_step1">
        <xsl:choose>
            <xsl:when test="($table_only_with_id != '' or $table_only_with_ids != '') and local-name() = 'p' and (ancestor::*[local-name() = 'table' or local-name() = 'dl' or local-name() = 'toc'])">
                <xsl:copy>
                    <xsl:copy-of select="@*"/>
                    <xsl:apply-templates mode="update_xml_step1"/>
                </xsl:copy>
            </xsl:when>
            <!-- for table auto-layout algorithm -->
            <xsl:when test="$table_only_with_id != '' and not(.//*[local-name() = 'table' or local-name() = 'dl'][@id = $table_only_with_id])">
                <xsl:copy>
                    <xsl:copy-of select="@*"/>
                </xsl:copy>
            </xsl:when>
            <!-- for table auto-layout algorithm -->
            <xsl:when test="$table_only_with_ids != '' and not(.//*[local-name() = 'table' or local-name() = 'dl'][contains($table_only_with_ids, concat(@id, ' '))])">
                <xsl:copy>
                    <xsl:copy-of select="@*"/>
                </xsl:copy>
            </xsl:when>
            <xsl:otherwise>
                <xsl:copy>
                    <xsl:copy-of select="@*"/>
                    <xsl:apply-templates mode="update_xml_step1"/>
                </xsl:copy>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="regex_passthrough">.*\bpdf\b.*</xsl:variable>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'passthrough']" mode="update_xml_step1">
        <!-- <xsl:if test="contains(@formats, ' pdf ')"> -->
        <xsl:if test="normalize-space(java:matches(java:java.lang.String.new(@formats), $regex_passthrough)) = 'true'">
            <xsl:apply-templates mode="update_xml_step1"/>
        </xsl:if>
    </xsl:template>

    <!-- split math by element with @linebreak into maths -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="mathml:math[.//mathml:mo[@linebreak] or .//mathml:mspace[@linebreak]]" mode="update_xml_step1">
        <xsl:variable name="maths">
            <xsl:apply-templates select="." mode="mathml_linebreak"/>
        </xsl:variable>
        <xsl:copy-of select="$maths"/>
    </xsl:template>

    <!-- =========================================================================== -->
    <!-- END STEP1: Re-order elements in 'preface', 'sections' based on @displayorder -->
    <!-- =========================================================================== -->

    <!-- =========================================================================== -->
    <!-- STEP MOVE PAGEBREAK: move <pagebreak/> at top level under 'preface' and 'sections' -->
    <!-- =========================================================================== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="update_xml_step_move_pagebreak">
        <xsl:param name="page_sequence_at_top">false</xsl:param>
        <xsl:copy>
            <xsl:apply-templates select="@*|node()" mode="update_xml_step_move_pagebreak">
                <xsl:with-param name="page_sequence_at_top" select="$page_sequence_at_top"/>
            </xsl:apply-templates>
        </xsl:copy>
    </xsl:template>

    <!-- replace 'pagebreak' by closing tags + page_sequence and  opening page_sequence + tags -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'pagebreak'][not(following-sibling::*[1][local-name() = 'pagebreak'])]" mode="update_xml_step_move_pagebreak">
        <xsl:param name="page_sequence_at_top"/>
        <!-- <xsl:choose>
            <xsl:when test="ancestor::*[local-name() = 'sections']">
            
            </xsl:when>
            <xsl:when test="ancestor::*[local-name() = 'annex']">
            </xsl:when>
            <xsl:otherwise>
                <xsl:copy-of select="."/>
            </xsl:otherwise>
        </xsl:choose> -->

        <!-- determine pagebreak is last element before </fo:flow> or not -->
        <xsl:variable name="isLast">
            <xsl:for-each select="ancestor-or-self::*[ancestor::*[local-name() = 'preface'] or ancestor::*[local-name() = 'sections'] or ancestor-or-self::*[local-name() = 'annex']]">
                <xsl:if test="following-sibling::*">false</xsl:if>
            </xsl:for-each>
        </xsl:variable>

        <xsl:if test="contains($isLast, 'false')">

            <xsl:variable name="orientation" select="normalize-space(@orientation)"/>

            <xsl:variable name="tree_">
                <xsl:call-template name="makeAncestorsElementsTree">
                    <xsl:with-param name="page_sequence_at_top" select="$page_sequence_at_top"/>
                </xsl:call-template>
            </xsl:variable>
            <xsl:variable name="tree" select="xalan:nodeset($tree_)"/>

            <!-- close fo:page-sequence (closing preceding fo elements) -->
            <xsl:call-template name="insertClosingElements">
                <xsl:with-param name="tree" select="$tree"/>
            </xsl:call-template>

            <xsl:text disable-output-escaping="yes">&lt;/page_sequence&gt;</xsl:text>

            <!-- create a new page_sequence (opening elements) -->
            <xsl:text disable-output-escaping="yes">&lt;page_sequence xmlns="</xsl:text><xsl:value-of select="$namespace_full"/>"<xsl:if test="$orientation != ''"> orientation="<xsl:value-of select="$orientation"/>"</xsl:if><xsl:text disable-output-escaping="yes">&gt;</xsl:text>

            <xsl:call-template name="insertOpeningElements">
                <xsl:with-param name="tree" select="$tree"/>
            </xsl:call-template>

        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="makeAncestorsElementsTree">
        <xsl:param name="page_sequence_at_top"/>

        <xsl:choose>
            <xsl:when test="$page_sequence_at_top = 'true'">
                <xsl:for-each select="ancestor::*[ancestor::*[contains(local-name(), '-standard')]]">
                    <element pos="{position()}">
                        <xsl:copy-of select="@*[local-name() != 'id']"/>
                        <xsl:value-of select="name()"/>
                    </element>
                </xsl:for-each>
            </xsl:when>
            <xsl:otherwise>
                <xsl:for-each select="ancestor::*[ancestor::*[local-name() = 'preface'] or ancestor::*[local-name() = 'sections'] or ancestor-or-self::*[local-name() = 'annex']]">
                    <element pos="{position()}">
                        <xsl:copy-of select="@*[local-name() != 'id']"/>
                        <xsl:value-of select="name()"/>
                    </element>
                </xsl:for-each>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertClosingElements">
        <xsl:param name="tree"/>
        <xsl:for-each select="$tree//element">
            <xsl:sort data-type="number" order="descending" select="@pos"/>
            <xsl:text disable-output-escaping="yes">&lt;/</xsl:text>
                <xsl:value-of select="."/>
            <xsl:text disable-output-escaping="yes">&gt;</xsl:text>
            <xsl:if test="$debug = 'true'">
                <xsl:message>&lt;/<xsl:value-of select="."/>&gt;</xsl:message>
            </xsl:if>
        </xsl:for-each>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertOpeningElements">
        <xsl:param name="tree"/>
        <xsl:param name="xmlns"/>
        <xsl:param name="add_continue">true</xsl:param>
        <xsl:for-each select="$tree//element">
            <xsl:text disable-output-escaping="yes">&lt;</xsl:text>
                <xsl:value-of select="."/>
                <xsl:for-each select="@*[local-name() != 'pos']">
                    <xsl:text> </xsl:text>
                    <xsl:value-of select="local-name()"/>
                    <xsl:text>="</xsl:text>
                    <xsl:value-of select="."/>
                    <xsl:text>"</xsl:text>
                </xsl:for-each>
                <xsl:if test="position() = 1 and $add_continue = 'true'"> continue="true"</xsl:if>
                <xsl:if test="position() = 1 and $xmlns != ''"> xmlns="<xsl:value-of select="$xmlns"/>"</xsl:if>
            <xsl:text disable-output-escaping="yes">&gt;</xsl:text>
            <xsl:if test="$debug = 'true'">
                <xsl:message>&lt;<xsl:value-of select="."/>&gt;</xsl:message>
            </xsl:if>
        </xsl:for-each>
    </xsl:template>

    <!-- move full page width figures, tables at top level -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'figure' or local-name() = 'table'][normalize-space(@width) != 'text-width']" mode="update_xml_step_move_pagebreak">
        <xsl:param name="page_sequence_at_top">false</xsl:param>
        <xsl:choose>
            <xsl:when test="$layout_columns != 1">

                <xsl:variable name="tree_">
                    <xsl:call-template name="makeAncestorsElementsTree">
                        <xsl:with-param name="page_sequence_at_top" select="$page_sequence_at_top"/>
                    </xsl:call-template>
                </xsl:variable>
                <xsl:variable name="tree" select="xalan:nodeset($tree_)"/>

                <xsl:call-template name="insertClosingElements">
                    <xsl:with-param name="tree" select="$tree"/>
                </xsl:call-template>

                <!-- <xsl:copy-of select="."/> -->
                <xsl:copy>
                    <xsl:copy-of select="@*"/>
                    <xsl:attribute name="top-level">true</xsl:attribute>
                    <xsl:copy-of select="node()"/>
                </xsl:copy>

                <xsl:call-template name="insertOpeningElements">
                    <xsl:with-param name="tree" select="$tree"/>
                </xsl:call-template>

            </xsl:when>
            <xsl:otherwise>
                <xsl:copy-of select="."/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- =========================================================================== -->
    <!-- END STEP MOVE PAGEBREAK: move <pagebreak/> at top level under 'preface' and 'sections' -->
    <!-- =========================================================================== -->

        <!-- =========================================================================== -->
        <!-- STEP2: add 'fn' after 'eref' and 'origin', if referenced to bibitem with 'note' = Withdrawn.' or 'Cancelled and replaced...'  -->
        <!-- =========================================================================== -->
        <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="update_xml_step2">
            <xsl:copy>
                <xsl:apply-templates select="@*|node()" mode="update_xml_step2"/>
            </xsl:copy>
        </xsl:template>

        <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="localized_string_withdrawn">
            <xsl:call-template name="getLocalizedString">
                <xsl:with-param name="key">withdrawn</xsl:with-param>
            </xsl:call-template>
        </xsl:variable>
        <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="localized_string_cancelled_and_replaced">
            <xsl:variable name="str">
                <xsl:call-template name="getLocalizedString">
                    <xsl:with-param name="key">cancelled_and_replaced</xsl:with-param>
                </xsl:call-template>
            </xsl:variable>
            <xsl:choose>
                <xsl:when test="contains($str, '%')"><xsl:value-of select="substring-before($str, '%')"/></xsl:when>
                <xsl:otherwise><xsl:value-of select="$str"/></xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <!-- add 'fn' after eref and origin, to reference bibitem with note = 'Withdrawn.' or 'Cancelled and replaced...' -->
        <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'eref'] | *[local-name() = 'origin']" mode="update_xml_step2">
            <xsl:copy-of select="."/>

            <xsl:variable name="bibitemid" select="@bibitemid"/>
            <xsl:variable name="local_name" select="local-name()"/>
            <xsl:variable name="position"><xsl:number count="*[local-name() = $local_name][@bibitemid = $bibitemid]" level="any"/></xsl:variable>
            <xsl:if test="normalize-space($position) = '1'">
                <xsl:variable name="fn_text">
                    <!-- <xsl:copy-of select="key('bibitems', $bibitemid)[1]/*[local-name() = 'note'][not(@type='Unpublished-Status')][normalize-space() = $localized_string_withdrawn or starts-with(normalize-space(), $localized_string_cancelled_and_replaced)]/node()" /> -->
                    <xsl:copy-of select="$bibitems/*[local-name() ='bibitem'][@id = $bibitemid][1]/*[local-name() = 'note'][not(@type='Unpublished-Status')][normalize-space() = $localized_string_withdrawn or starts-with(normalize-space(), $localized_string_cancelled_and_replaced)]/node()"/>
                </xsl:variable>
                <xsl:if test="normalize-space($fn_text) != ''">
                    <xsl:element name="fn" namespace="{$namespace_full}">
                        <xsl:attribute name="reference">bibitem_<xsl:value-of select="$bibitemid"/></xsl:attribute>
                        <xsl:element name="p" namespace="{$namespace_full}">
                            <xsl:copy-of select="$fn_text"/>
                        </xsl:element>
                    </xsl:element>
                </xsl:if>
            </xsl:if>
        </xsl:template>

        <!-- add id for table without id (for autolayout algorithm) -->
        <!-- <xsl:template match="*[local-name() = 'table'][not(@id)]" mode="update_xml_step2">
            <xsl:copy>
                <xsl:apply-templates select="@*" mode="update_xml_step2"/>
                <xsl:attribute name="id">_abc<xsl:value-of select="generate-id()"/></xsl:attribute>
                
                <xsl:apply-templates select="node()" mode="update_xml_step2"/>
            </xsl:copy>
        </xsl:template> -->

        <!-- add @reference for fn -->
        <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'fn'][not(@reference)]" mode="update_xml_step2">
            <xsl:copy>
                <xsl:apply-templates select="@*" mode="update_xml_step2"/>
                <xsl:attribute name="reference"><xsl:value-of select="generate-id(.)"/></xsl:attribute>
                <xsl:apply-templates select="node()" mode="update_xml_step2"/>
            </xsl:copy>
        </xsl:template>

        <!-- add @reference for bibitem/note, similar to fn/reference -->
        <!-- <xsl:template match="*[local-name() = 'bibitem']/*[local-name() = 'note']" mode="update_xml_step2">
            <xsl:copy>
                <xsl:apply-templates select="@*" mode="update_xml_step2"/>
                
                <xsl:attribute name="reference">
                    <xsl:value-of select="concat('bibitem_', ../@id, '_', count(preceding-sibling::*[local-name() = 'note']))"/>
                </xsl:attribute>
                
                <xsl:apply-templates select="node()" mode="update_xml_step2"/>
            </xsl:copy>
        </xsl:template> -->

        <!-- enclose sequence of 'char x' + 'combining char y' to <lang_none>xy</lang_none> -->
        <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="regex_combining_chars">(.[̀-ͯ])</xsl:variable>
        <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="element_name_lang_none">lang_none</xsl:variable>
        <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="tag_element_name_lang_none_open">###<xsl:value-of select="$element_name_lang_none"/>###</xsl:variable>
        <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="tag_element_name_lang_none_close">###/<xsl:value-of select="$element_name_lang_none"/>###</xsl:variable>

        <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="text()" mode="update_xml_step2">
            <xsl:variable name="text_" select="java:replaceAll(java:java.lang.String.new(.), $regex_combining_chars, concat($tag_element_name_lang_none_open,'$1',$tag_element_name_lang_none_close))"/>
            <xsl:call-template name="replace_text_tags">
                <xsl:with-param name="tag_open" select="$tag_element_name_lang_none_open"/>
                <xsl:with-param name="tag_close" select="$tag_element_name_lang_none_close"/>
                <xsl:with-param name="text" select="$text_"/>
            </xsl:call-template>
        </xsl:template>

        <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'stem'] | *[local-name() = 'image']" mode="update_xml_step2">
            <xsl:copy-of select="."/>
        </xsl:template>

        <!-- =========================================================================== -->
        <!-- END STEP2: add 'fn' after 'eref' and 'origin', if referenced to bibitem with 'note' = Withdrawn.' or 'Cancelled and replaced...'  -->
        <!-- =========================================================================== -->

    <!-- =========================================================================== -->
    <!-- XML UPDATE STEP: enclose standard's name into tag 'keep-together_within-line'  -->
    <!-- keep-together_within-line for: a/b, aaa/b, a/bbb, /b -->
    <!-- keep-together_within-line for: a.b, aaa.b, a.bbb, .b  in table's cell ONLY  -->
    <!-- =========================================================================== -->
    <!-- Example: <keep-together_within-line>ISO 10303-51</keep-together_within-line> -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="update_xml_enclose_keep-together_within-line">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()" mode="update_xml_enclose_keep-together_within-line"/>
        </xsl:copy>
    </xsl:template>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="express_reference_separators">_.\</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="express_reference_characters" select="concat($upper,$lower,'1234567890',$express_reference_separators)"/>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="regex_express_reference">(^([A-Za-z0-9_.\\]+)$)</xsl:variable>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="element_name_keep-together_within-line">keep-together_within-line</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="tag_keep-together_within-line_open">###<xsl:value-of select="$element_name_keep-together_within-line"/>###</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="tag_keep-together_within-line_close">###/<xsl:value-of select="$element_name_keep-together_within-line"/>###</xsl:variable>

    <!-- \S matches any non-whitespace character (equivalent to [^\r\n\t\f\v ]) -->
    <!-- <xsl:variable name="regex_solidus_units">((\b((\S{1,3}\/\S+)|(\S+\/\S{1,3}))\b)|(\/\S{1,3})\b)</xsl:variable> -->
    <!-- add &lt; and &gt; to \S -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="regex_S">[^\r\n\t\f\v \&lt;&gt;\u3000-\u9FFF]</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="regex_solidus_units">((\b((<xsl:value-of select="$regex_S"/>{1,3}\/<xsl:value-of select="$regex_S"/>+)|(<xsl:value-of select="$regex_S"/>+\/<xsl:value-of select="$regex_S"/>{1,3}))\b)|(\/<xsl:value-of select="$regex_S"/>{1,3})\b)</xsl:variable>

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="non_white_space">[^\s\u3000-\u9FFF]</xsl:variable>
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="regex_dots_units">((\b((<xsl:value-of select="$non_white_space"/>{1,3}\.<xsl:value-of select="$non_white_space"/>+)|(<xsl:value-of select="$non_white_space"/>+\.<xsl:value-of select="$non_white_space"/>{1,3}))\b)|(\.<xsl:value-of select="$non_white_space"/>{1,3})\b)</xsl:variable>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="text()[not(ancestor::*[local-name() = 'bibdata'] or      ancestor::*[local-name() = 'link'][not(contains(.,' '))] or      ancestor::*[local-name() = 'sourcecode'] or      ancestor::*[local-name() = 'math'] or     ancestor::*[local-name() = 'svg'] or     starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.') or normalize-space() = '' )]" name="keep_together_standard_number" mode="update_xml_enclose_keep-together_within-line">

        <xsl:variable name="parent" select="local-name(..)"/>

        <xsl:if test="1 = 2"> <!-- alternative variant -->

            <xsl:variable name="regexs">
                <!-- enclose standard's number into tag 'keep-together_within-line' -->
                <xsl:if test="not(ancestor::*[local-name() = 'table'])"><regex><xsl:value-of select="$regex_standard_reference"/></regex></xsl:if>
                <!-- if EXPRESS reference -->

                <!-- keep-together_within-line for: a/b, aaa/b, a/bbb, /b -->
                <regex><xsl:value-of select="$regex_solidus_units"/></regex>
                <!-- keep-together_within-line for: a.b, aaa.b, a.bbb, .b  in table's cell ONLY -->
                <xsl:if test="ancestor::*[local-name() = 'td' or local-name() = 'th']">
                    <regex><xsl:value-of select="$regex_dots_units"/></regex>
                </xsl:if>
            </xsl:variable>

            <xsl:variable name="regex_replacement"><xsl:text>(</xsl:text>
                <xsl:for-each select="xalan:nodeset($regexs)/regex">
                    <xsl:value-of select="."/>
                    <xsl:if test="position() != last()">|</xsl:if>
                </xsl:for-each>
                <xsl:text>)</xsl:text>
            </xsl:variable>

            <!-- regex_replacement='<xsl:value-of select="$regex_replacement"/>' -->

            <xsl:variable name="text_replaced" select="java:replaceAll(java:java.lang.String.new(.), $regex_replacement, concat($tag_keep-together_within-line_open,'$1',$tag_keep-together_within-line_close))"/>

            <!-- text_replaced='<xsl:value-of select="$text_replaced"/>' -->

            <xsl:call-template name="replace_text_tags">
                <xsl:with-param name="tag_open" select="$tag_keep-together_within-line_open"/>
                <xsl:with-param name="tag_close" select="$tag_keep-together_within-line_close"/>
                <xsl:with-param name="text" select="$text_replaced"/>
            </xsl:call-template>
        </xsl:if>

        <xsl:if test="1 = 1">

        <!-- enclose standard's number into tag 'keep-together_within-line' -->
        <xsl:variable name="text">
            <xsl:element name="text" namespace="{$namespace_full}">
                <xsl:choose>
                    <xsl:when test="ancestor::*[local-name() = 'table']"><xsl:value-of select="."/></xsl:when> <!-- no need enclose standard's number into tag 'keep-together_within-line' in table cells -->
                    <xsl:otherwise>
                        <xsl:variable name="text_" select="java:replaceAll(java:java.lang.String.new(.), $regex_standard_reference, concat($tag_keep-together_within-line_open,'$1',$tag_keep-together_within-line_close))"/>
                        <!-- <xsl:value-of select="$text__"/> -->

                        <xsl:call-template name="replace_text_tags">
                            <xsl:with-param name="tag_open" select="$tag_keep-together_within-line_open"/>
                            <xsl:with-param name="tag_close" select="$tag_keep-together_within-line_close"/>
                            <xsl:with-param name="text" select="$text_"/>
                        </xsl:call-template>

                    </xsl:otherwise>
                </xsl:choose>
            </xsl:element>
        </xsl:variable>

        <xsl:variable name="text2">
            <xsl:element name="text" namespace="{$namespace_full}">
                <xsl:for-each select="xalan:nodeset($text)/*[local-name() = 'text']/node()">
                    <xsl:copy-of select="."/>
                </xsl:for-each>
            </xsl:element>
        </xsl:variable>

        <!-- keep-together_within-line for: a/b, aaa/b, a/bbb, /b -->
        <xsl:variable name="text3">
            <xsl:element name="text" namespace="{$namespace_full}">
                <xsl:for-each select="xalan:nodeset($text2)/*[local-name() = 'text']/node()">
                    <xsl:choose>
                        <xsl:when test="self::text()">
                            <xsl:variable name="text_units" select="java:replaceAll(java:java.lang.String.new(.),$regex_solidus_units,concat($tag_keep-together_within-line_open,'$1',$tag_keep-together_within-line_close))"/>
                            <!-- <xsl:variable name="text_units">
                                <xsl:element name="text" namespace="{$namespace_full}"> -->
                                    <xsl:call-template name="replace_text_tags">
                                        <xsl:with-param name="tag_open" select="$tag_keep-together_within-line_open"/>
                                        <xsl:with-param name="tag_close" select="$tag_keep-together_within-line_close"/>
                                        <xsl:with-param name="text" select="$text_units"/>
                                    </xsl:call-template>
                                <!-- </xsl:element>
                            </xsl:variable>
                            <xsl:copy-of select="xalan:nodeset($text_units)/*[local-name() = 'text']/node()"/> -->
                        </xsl:when>
                        <xsl:otherwise><xsl:copy-of select="."/></xsl:otherwise> <!-- copy 'as-is' for <fo:inline keep-together.within-line="always" ...  -->
                    </xsl:choose>
                </xsl:for-each>
            </xsl:element>
        </xsl:variable>

        <xsl:choose>
            <xsl:when test="ancestor::*[local-name() = 'td' or local-name() = 'th']">
                <!-- keep-together_within-line for: a.b, aaa.b, a.bbb, .b  in table's cell ONLY -->
                <xsl:for-each select="xalan:nodeset($text3)/*[local-name() = 'text']/node()">
                    <xsl:choose>
                        <xsl:when test="self::text()">
                            <xsl:variable name="text_dots" select="java:replaceAll(java:java.lang.String.new(.),$regex_dots_units,concat($tag_keep-together_within-line_open,'$1',$tag_keep-together_within-line_close))"/>
                            <!-- <xsl:variable name="text_dots">
                                <xsl:element name="text" namespace="{$namespace_full}"> -->
                                    <xsl:call-template name="replace_text_tags">
                                        <xsl:with-param name="tag_open" select="$tag_keep-together_within-line_open"/>
                                        <xsl:with-param name="tag_close" select="$tag_keep-together_within-line_close"/>
                                        <xsl:with-param name="text" select="$text_dots"/>
                                    </xsl:call-template>
                                <!-- </xsl:element>
                            </xsl:variable>
                            <xsl:copy-of select="xalan:nodeset($text_dots)/*[local-name() = 'text']/node()"/> -->
                        </xsl:when>
                        <xsl:otherwise><xsl:copy-of select="."/></xsl:otherwise> <!-- copy 'as-is' for <fo:inline keep-together.within-line="always" ...  -->
                    </xsl:choose>
                </xsl:for-each>
            </xsl:when>
            <xsl:otherwise><xsl:copy-of select="xalan:nodeset($text3)/*[local-name() = 'text']/node()"/></xsl:otherwise>
        </xsl:choose>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'stem'] | *[local-name() = 'image']" mode="update_xml_enclose_keep-together_within-line">
        <xsl:copy-of select="."/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="replace_text_tags">
        <xsl:param name="tag_open"/>
        <xsl:param name="tag_close"/>
        <xsl:param name="text"/>
        <xsl:choose>
            <xsl:when test="contains($text, $tag_open)">
                <xsl:value-of select="substring-before($text, $tag_open)"/>
                <xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>

                <xsl:element name="{substring-before(substring-after($tag_open, '###'),'###')}" namespace="{$namespace_full}">
                    <xsl:value-of select="substring-before($text_after, $tag_close)"/>
                </xsl:element>

                <xsl:call-template name="replace_text_tags">
                    <xsl:with-param name="tag_open" select="$tag_open"/>
                    <xsl:with-param name="tag_close" select="$tag_close"/>
                    <xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
        </xsl:choose>
    </xsl:template>
    <!-- ===================================== -->
    <!-- END XML UPDATE STEP: enclose standard's name into tag 'keep-together_within-line'  -->
    <!-- ===================================== -->

    <!-- ===================================== -->
    <!-- ===================================== -->
    <!-- Make linear XML (need for landscape orientation) -->
    <!-- ===================================== -->
    <!-- ===================================== -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="linear_xml">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()" mode="linear_xml"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="processing-instruction()" mode="linear_xml">
        <xsl:copy-of select="."/>
    </xsl:template>

    <!-- From:
        <clause>
            <title>...</title>
            <p>...</p>
        </clause>
        To:
            <clause/>
            <title>...</title>
            <p>...</p>
        -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'foreword'] |            *[local-name() = 'foreword']//*[local-name() = 'clause'] |            *[local-name() = 'preface']//*[local-name() = 'clause'][not(@type = 'corrigenda') and not(@type = 'policy') and not(@type = 'related-refs')] |            *[local-name() = 'introduction'] |            *[local-name() = 'introduction']//*[local-name() = 'clause'] |            *[local-name() = 'sections']//*[local-name() = 'clause'] |             *[local-name() = 'annex'] |             *[local-name() = 'annex']//*[local-name() = 'clause'] |             *[local-name() = 'references'][not(@hidden = 'true')] |            *[local-name() = 'bibliography']/*[local-name() = 'clause'] |             *[local-name() = 'colophon'] |             *[local-name() = 'colophon']//*[local-name() = 'clause'] |             *[local-name()='sections']//*[local-name()='terms'] |             *[local-name()='sections']//*[local-name()='definitions'] |            *[local-name()='annex']//*[local-name()='definitions']" mode="linear_xml" name="clause_linear">

        <xsl:copy>
            <xsl:apply-templates select="@*" mode="linear_xml"/>

            <xsl:attribute name="keep-with-next">always</xsl:attribute>

            <xsl:if test="local-name() = 'foreword' or local-name() = 'introduction' or    local-name(..) = 'preface' or local-name(..) = 'sections' or     (local-name() = 'references' and parent::*[local-name() = 'bibliography']) or    (local-name() = 'clause' and parent::*[local-name() = 'bibliography']) or    local-name() = 'annex' or     local-name(..) = 'annex' or    local-name(..) = 'colophon'">
                <xsl:attribute name="mainsection">true</xsl:attribute>
            </xsl:if>
        </xsl:copy>

        <xsl:apply-templates mode="linear_xml"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'term']" mode="linear_xml" priority="2">
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="linear_xml"/>
            <xsl:attribute name="keep-with-next">always</xsl:attribute>
            <xsl:variable name="level">
                <xsl:call-template name="getLevel"/>
            </xsl:variable>
            <xsl:attribute name="depth"><xsl:value-of select="$level"/></xsl:attribute>
            <xsl:attribute name="ancestor">sections</xsl:attribute>
            <xsl:apply-templates select="node()[not(local-name() = 'term')]" mode="linear_xml"/>
        </xsl:copy>
        <xsl:apply-templates select="*[local-name() = 'term']" mode="linear_xml"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'introduction']//*[local-name() = 'title'] |     *[local-name() = 'foreword']//*[local-name() = 'title'] |     *[local-name() = 'preface']//*[local-name() = 'title'] |     *[local-name() = 'sections']//*[local-name() = 'title'] |     *[local-name() = 'annex']//*[local-name() = 'title'] |     *[local-name() = 'bibliography']/*[local-name() = 'clause']/*[local-name() = 'title'] |     *[local-name() = 'references']/*[local-name() = 'title'] |     *[local-name() = 'colophon']//*[local-name() = 'title']" mode="linear_xml" priority="2">
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="linear_xml"/>

            <xsl:attribute name="keep-with-next">always</xsl:attribute>

            <xsl:variable name="level">
                <xsl:call-template name="getLevel"/>
            </xsl:variable>
            <xsl:attribute name="depth"><xsl:value-of select="$level"/></xsl:attribute>

            <xsl:if test="parent::*[local-name() = 'annex']">
                <xsl:attribute name="depth">1</xsl:attribute>
            </xsl:if>

            <xsl:if test="../@inline-header = 'true' and following-sibling::*[1][local-name() = 'p']">
                <xsl:copy-of select="../@inline-header"/>
            </xsl:if>

            <xsl:variable name="ancestor">
                <xsl:choose>
                    <xsl:when test="ancestor::*[local-name() = 'foreword']">foreword</xsl:when>
                    <xsl:when test="ancestor::*[local-name() = 'introduction']">introduction</xsl:when>
                    <xsl:when test="ancestor::*[local-name() = 'sections']">sections</xsl:when>
                    <xsl:when test="ancestor::*[local-name() = 'annex']">annex</xsl:when>
                    <xsl:when test="ancestor::*[local-name() = 'bibliography']">bibliography</xsl:when>
                </xsl:choose>
            </xsl:variable>
            <xsl:attribute name="ancestor">
                <xsl:value-of select="$ancestor"/>
            </xsl:attribute>

            <xsl:attribute name="parent">
                <xsl:choose>
                    <xsl:when test="ancestor::*[local-name() = 'preface']">preface</xsl:when>
                    <xsl:otherwise><xsl:value-of select="$ancestor"/></xsl:otherwise>
                </xsl:choose>
            </xsl:attribute>

            <xsl:apply-templates mode="linear_xml"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'li']" mode="linear_xml" priority="2">
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="linear_xml"/>

            <xsl:variable name="ancestor">
                <xsl:choose>
                    <xsl:when test="ancestor::*[local-name() = 'preface']">preface</xsl:when>
                    <xsl:when test="ancestor::*[local-name() = 'sections']">sections</xsl:when>
                    <xsl:when test="ancestor::*[local-name() = 'annex']">annex</xsl:when>
                </xsl:choose>
            </xsl:variable>
            <xsl:attribute name="ancestor">
                <xsl:value-of select="$ancestor"/>
            </xsl:attribute>

            <xsl:apply-templates mode="linear_xml"/>
        </xsl:copy>
    </xsl:template>

    <!-- add @to = figure, table, clause -->
    <!-- add @depth = from  -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'xref']" mode="linear_xml">
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="linear_xml"/>
            <xsl:variable name="target" select="@target"/>
            <xsl:attribute name="to">
                <xsl:value-of select="local-name(//*[@id = current()/@target][1])"/>
            </xsl:attribute>
            <xsl:attribute name="depth">
                <xsl:value-of select="//*[@id = current()/@target][1]/*[local-name() = 'title']/@depth"/>
            </xsl:attribute>
            <xsl:apply-templates select="node()" mode="linear_xml"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[not(ancestor::*[local-name() = 'sourcecode'])]/*[local-name() = 'p' or local-name() = 'strong' or local-name() = 'em']/text()" mode="linear_xml">
        <xsl:choose>
            <xsl:when test="contains(., $non_breaking_hyphen)">
                <xsl:call-template name="replaceChar">
                    <xsl:with-param name="text" select="."/>
                    <xsl:with-param name="replace" select="$non_breaking_hyphen"/>
                    <xsl:with-param name="by" select="'-'"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="replaceChar">
        <xsl:param name="text"/>
        <xsl:param name="replace"/>
        <xsl:param name="by"/>
        <xsl:choose>
            <xsl:when test="$text = '' or $replace = '' or not($replace)">
                <xsl:value-of select="$text"/>
            </xsl:when>
            <xsl:when test="contains($text, $replace)">
                <xsl:value-of select="substring-before($text,$replace)"/>
                <xsl:element name="inlineChar" namespace="https://www.metanorma.org/ns/jis"><xsl:value-of select="$by"/></xsl:element>
                <xsl:call-template name="replaceChar">
                        <xsl:with-param name="text" select="substring-after($text,$replace)"/>
                        <xsl:with-param name="replace" select="$replace"/>
                        <xsl:with-param name="by" select="$by"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:otherwise>
                <xsl:value-of select="$text"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'inlineChar']">
        <fo:inline><xsl:value-of select="."/></fo:inline>
    </xsl:template>

    <!-- change @reference to actual value, and add skip_footnote_body="true" for repeatable (2nd, 3rd, ...) -->
    <!--
    <fn reference="1">
            <p id="_8e5cf917-f75a-4a49-b0aa-1714cb6cf954">Formerly denoted as 15 % (m/m).</p>
        </fn>
    -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'fn'][not(ancestor::*[(local-name() = 'table' or local-name() = 'figure')] and not(ancestor::*[local-name() = 'name']))]" mode="linear_xml" name="linear_xml_fn">
        <xsl:variable name="p_fn_">
            <xsl:call-template name="get_fn_list"/>
            <!-- <xsl:choose>
                <xsl:when test="$namespace = 'jis'">
                    <xsl:call-template name="get_fn_list_for_element"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:call-template name="get_fn_list"/>
                </xsl:otherwise>
            </xsl:choose> -->
        </xsl:variable>
        <xsl:variable name="p_fn" select="xalan:nodeset($p_fn_)"/>
        <xsl:variable name="gen_id" select="generate-id(.)"/>
        <xsl:variable name="lang" select="ancestor::*[contains(local-name(), '-standard')]/*[local-name()='bibdata']//*[local-name()='language'][@current = 'true']"/>
        <xsl:variable name="reference" select="@reference"/>
        <!-- fn sequence number in document -->
        <xsl:variable name="current_fn_number" select="count($p_fn//fn[@reference = $reference]/preceding-sibling::fn) + 1"/>

        <xsl:copy>
            <xsl:apply-templates select="@*" mode="linear_xml"/>
            <!-- put actual reference number -->
            <xsl:attribute name="current_fn_number">
                <xsl:value-of select="$current_fn_number"/>
            </xsl:attribute>
            <xsl:variable name="skip_footnote_body_" select="not($p_fn//fn[@gen_id = $gen_id] and (1 = 1))"/>
            <xsl:attribute name="skip_footnote_body"> <!-- false for repeatable footnote -->

                        <xsl:value-of select="$skip_footnote_body_"/>

            </xsl:attribute>
            <xsl:attribute name="ref_id">
                <xsl:value-of select="concat('footnote_', $lang, '_', $reference, '_', $current_fn_number)"/>
            </xsl:attribute>
            <xsl:apply-templates select="node()" mode="linear_xml"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'p'][@type = 'section-title']" priority="3" mode="linear_xml">
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="linear_xml"/>
            <xsl:if test="@depth = '1'">
                <xsl:attribute name="mainsection">true</xsl:attribute>
            </xsl:if>
            <xsl:apply-templates select="node()" mode="linear_xml"/>
        </xsl:copy>
    </xsl:template>
    <!-- ===================================== -->
    <!-- ===================================== -->
    <!-- END: Make linear XML (need for landscape orientation) -->
    <!-- ===================================== -->
    <!-- ===================================== -->

    <!-- for correct rendering combining chars -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'lang_none']">
        <fo:inline xml:lang="none"><xsl:value-of select="."/></fo:inline>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="printEdition">
        <xsl:variable name="edition_i18n" select="normalize-space((//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']/*[local-name() = 'edition'][normalize-space(@language) != ''])"/>

        <xsl:choose>
            <xsl:when test="$edition_i18n != ''">
                <!-- Example: <edition language="fr">deuxième édition</edition> -->
                <xsl:call-template name="capitalize">
                    <xsl:with-param name="str" select="$edition_i18n"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:otherwise>
                <xsl:variable name="edition" select="normalize-space((//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']/*[local-name() = 'edition'])"/>
                <xsl:if test="$edition != ''"> <!-- Example: 1.3 -->
                    <xsl:call-template name="capitalize">
                        <xsl:with-param name="str">
                            <xsl:call-template name="getLocalizedString">
                                <xsl:with-param name="key">edition</xsl:with-param>
                            </xsl:call-template>
                        </xsl:with-param>
                    </xsl:call-template>
                    <xsl:text> </xsl:text>
                    <xsl:value-of select="$edition"/>
                </xsl:if>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- convert YYYY-MM-DD to 'Month YYYY' or 'Month DD, YYYY' or DD Month YYYY -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="convertDate">
        <xsl:param name="date"/>
        <xsl:param name="format" select="'short'"/>
        <xsl:variable name="year" select="substring($date, 1, 4)"/>
        <xsl:variable name="month" select="substring($date, 6, 2)"/>
        <xsl:variable name="day" select="substring($date, 9, 2)"/>
        <xsl:variable name="monthStr">
            <xsl:call-template name="getMonthByNum">
                <xsl:with-param name="num" select="$month"/>
                <xsl:with-param name="lowercase" select="'true'"/>
            </xsl:call-template>
        </xsl:variable>
        <xsl:variable name="monthStr_localized">
            <xsl:if test="normalize-space($monthStr) != ''"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">month_<xsl:value-of select="$monthStr"/></xsl:with-param></xsl:call-template></xsl:if>
        </xsl:variable>
        <xsl:variable name="result">
            <xsl:choose>
                <xsl:when test="$format = 'ddMMyyyy'"> <!-- convert date from format 2007-04-01 to 1 April 2007 -->
                    <xsl:if test="$day != ''"><xsl:value-of select="number($day)"/></xsl:if>
                    <xsl:text> </xsl:text>
                    <xsl:value-of select="normalize-space(concat($monthStr_localized, ' ' , $year))"/>
                </xsl:when>
                <xsl:when test="$format = 'ddMM'">
                    <xsl:if test="$day != ''"><xsl:value-of select="number($day)"/></xsl:if>
                    <xsl:text> </xsl:text><xsl:value-of select="$monthStr_localized"/>
                </xsl:when>
                <xsl:when test="$format = 'short' or $day = ''">
                    <xsl:value-of select="normalize-space(concat($monthStr_localized, ' ', $year))"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="normalize-space(concat($monthStr_localized, ' ', $day, ', ' , $year))"/> <!-- January 01, 2022 -->
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:value-of select="$result"/>
    </xsl:template> <!-- convertDate -->

    <!-- return Month's name by number -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getMonthByNum">
        <xsl:param name="num"/>
        <xsl:param name="lang">en</xsl:param>
        <xsl:param name="lowercase">false</xsl:param> <!-- return 'january' instead of 'January' -->
        <xsl:variable name="monthStr_">
            <xsl:choose>
                <xsl:when test="$lang = 'fr'">
                    <xsl:choose>
                        <xsl:when test="$num = '01'">Janvier</xsl:when>
                        <xsl:when test="$num = '02'">Février</xsl:when>
                        <xsl:when test="$num = '03'">Mars</xsl:when>
                        <xsl:when test="$num = '04'">Avril</xsl:when>
                        <xsl:when test="$num = '05'">Mai</xsl:when>
                        <xsl:when test="$num = '06'">Juin</xsl:when>
                        <xsl:when test="$num = '07'">Juillet</xsl:when>
                        <xsl:when test="$num = '08'">Août</xsl:when>
                        <xsl:when test="$num = '09'">Septembre</xsl:when>
                        <xsl:when test="$num = '10'">Octobre</xsl:when>
                        <xsl:when test="$num = '11'">Novembre</xsl:when>
                        <xsl:when test="$num = '12'">Décembre</xsl:when>
                    </xsl:choose>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:choose>
                        <xsl:when test="$num = '01'">January</xsl:when>
                        <xsl:when test="$num = '02'">February</xsl:when>
                        <xsl:when test="$num = '03'">March</xsl:when>
                        <xsl:when test="$num = '04'">April</xsl:when>
                        <xsl:when test="$num = '05'">May</xsl:when>
                        <xsl:when test="$num = '06'">June</xsl:when>
                        <xsl:when test="$num = '07'">July</xsl:when>
                        <xsl:when test="$num = '08'">August</xsl:when>
                        <xsl:when test="$num = '09'">September</xsl:when>
                        <xsl:when test="$num = '10'">October</xsl:when>
                        <xsl:when test="$num = '11'">November</xsl:when>
                        <xsl:when test="$num = '12'">December</xsl:when>
                    </xsl:choose>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:choose>
            <xsl:when test="normalize-space($lowercase) = 'true'">
                <xsl:value-of select="java:toLowerCase(java:java.lang.String.new($monthStr_))"/>
            </xsl:when>
            <xsl:otherwise><xsl:value-of select="$monthStr_"/></xsl:otherwise>
        </xsl:choose>
    </xsl:template> <!-- getMonthByNum -->

    <!-- return Month's name by number from localized strings -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getMonthLocalizedByNum">
        <xsl:param name="num"/>
        <xsl:variable name="monthStr">
            <xsl:choose>
                <xsl:when test="$num = '01'">january</xsl:when>
                <xsl:when test="$num = '02'">february</xsl:when>
                <xsl:when test="$num = '03'">march</xsl:when>
                <xsl:when test="$num = '04'">april</xsl:when>
                <xsl:when test="$num = '05'">may</xsl:when>
                <xsl:when test="$num = '06'">june</xsl:when>
                <xsl:when test="$num = '07'">july</xsl:when>
                <xsl:when test="$num = '08'">august</xsl:when>
                <xsl:when test="$num = '09'">september</xsl:when>
                <xsl:when test="$num = '10'">october</xsl:when>
                <xsl:when test="$num = '11'">november</xsl:when>
                <xsl:when test="$num = '12'">december</xsl:when>
            </xsl:choose>
        </xsl:variable>
        <xsl:call-template name="getLocalizedString">
            <xsl:with-param name="key">month_<xsl:value-of select="$monthStr"/></xsl:with-param>
        </xsl:call-template>
    </xsl:template> <!-- getMonthLocalizedByNum -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertKeywords">
        <xsl:param name="sorting" select="'true'"/>
        <xsl:param name="meta" select="'false'"/>
        <xsl:param name="charAtEnd" select="'.'"/>
        <xsl:param name="charDelim" select="', '"/>
        <xsl:choose>
            <xsl:when test="$sorting = 'true' or $sorting = 'yes'">
                <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
                    <xsl:sort data-type="text" order="ascending"/>
                    <xsl:call-template name="insertKeyword">
                        <xsl:with-param name="meta" select="$meta"/>
                        <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
                        <xsl:with-param name="charDelim" select="$charDelim"/>
                    </xsl:call-template>
                </xsl:for-each>
            </xsl:when>
            <xsl:otherwise>
                <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
                    <xsl:call-template name="insertKeyword">
                        <xsl:with-param name="meta" select="$meta"/>
                        <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
                        <xsl:with-param name="charDelim" select="$charDelim"/>
                    </xsl:call-template>
                </xsl:for-each>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertKeyword">
        <xsl:param name="charAtEnd"/>
        <xsl:param name="charDelim"/>
        <xsl:param name="meta"/>
        <xsl:choose>
            <xsl:when test="$meta = 'true'">
                <xsl:value-of select="."/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:apply-templates/>
            </xsl:otherwise>
        </xsl:choose>
        <xsl:choose>
            <xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
            <xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="addPDFUAmeta">
        <pdf:catalog>
            <pdf:dictionary type="normal" key="ViewerPreferences">
                <pdf:boolean key="DisplayDocTitle">true</pdf:boolean>
            </pdf:dictionary>
        </pdf:catalog>
        <x:xmpmeta xmlns:x="adobe:ns:meta/">
            <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
                <!-- Commented after upgrade to Apache FOP 2.10
                <rdf:Description xmlns:pdfaExtension="http://www.aiim.org/pdfa/ns/extension/" xmlns:pdfaProperty="http://www.aiim.org/pdfa/ns/property#" xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#" rdf:about="">
                    <pdfaExtension:schemas>
                        <rdf:Bag>
                            <rdf:li rdf:parseType="Resource">
                                <pdfaSchema:namespaceURI>http://www.aiim.org/pdfua/ns/id/</pdfaSchema:namespaceURI>
                                <pdfaSchema:prefix>pdfuaid</pdfaSchema:prefix>
                                <pdfaSchema:schema>PDF/UA identification schema</pdfaSchema:schema>
                                <pdfaSchema:property>
                                    <rdf:Seq>
                                        <rdf:li rdf:parseType="Resource">
                                            <pdfaProperty:category>internal</pdfaProperty:category>
                                            <pdfaProperty:description>PDF/UA version identifier</pdfaProperty:description>
                                            <pdfaProperty:name>part</pdfaProperty:name>
                                            <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
                                        </rdf:li>
                                        <rdf:li rdf:parseType="Resource">
                                            <pdfaProperty:category>internal</pdfaProperty:category>
                                            <pdfaProperty:description>PDF/UA amendment identifier</pdfaProperty:description>
                                            <pdfaProperty:name>amd</pdfaProperty:name>
                                            <pdfaProperty:valueType>Text</pdfaProperty:valueType>
                                        </rdf:li>
                                        <rdf:li rdf:parseType="Resource">
                                            <pdfaProperty:category>internal</pdfaProperty:category>
                                            <pdfaProperty:description>PDF/UA corrigenda identifier</pdfaProperty:description>
                                            <pdfaProperty:name>corr</pdfaProperty:name>
                                            <pdfaProperty:valueType>Text</pdfaProperty:valueType>
                                        </rdf:li>
                                    </rdf:Seq>
                                </pdfaSchema:property>
                            </rdf:li>
                        </rdf:Bag>
                    </pdfaExtension:schemas>
                </rdf:Description> -->
                <rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="">
                <!-- Dublin Core properties go here -->
                    <dc:title>
                        <xsl:variable name="title">
                            <xsl:for-each select="(//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']">

                                        <xsl:value-of select="$title_prefix"/>
                                        <xsl:value-of select="*[local-name() = 'title']"/>

                            </xsl:for-each>
                        </xsl:variable>
                        <rdf:Alt>
                            <rdf:li xml:lang="x-default">
                                <xsl:choose>
                                    <xsl:when test="normalize-space($title) != ''">
                                        <xsl:value-of select="$title"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                        <xsl:text> </xsl:text>
                                    </xsl:otherwise>
                                </xsl:choose>
                            </rdf:li>
                        </rdf:Alt>
                    </dc:title>
                    <xsl:variable name="dc_creator">
                        <xsl:for-each select="(//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']">

                                    <rdf:Seq>
                                        <rdf:li>
                                            <xsl:value-of select="ieee:ext/ieee:editorialgroup/ieee:committee"/>
                                        </rdf:li>
                                    </rdf:Seq>

                        </xsl:for-each>
                    </xsl:variable>
                    <xsl:if test="normalize-space($dc_creator) != ''">
                        <dc:creator>
                            <xsl:copy-of select="$dc_creator"/>
                        </dc:creator>
                    </xsl:if>

                    <xsl:variable name="dc_description">
                        <xsl:variable name="abstract">

                                    <xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'title'])]"/>

                        </xsl:variable>
                        <rdf:Alt>
                            <rdf:li xml:lang="x-default">
                                <xsl:value-of select="normalize-space($abstract)"/>
                            </rdf:li>
                        </rdf:Alt>
                    </xsl:variable>
                    <xsl:if test="normalize-space($dc_description)">
                        <dc:description>
                            <xsl:copy-of select="$dc_description"/>
                        </dc:description>
                    </xsl:if>

                    <pdf:Keywords>
                        <xsl:call-template name="insertKeywords">
                            <xsl:with-param name="meta">true</xsl:with-param>
                        </xsl:call-template>
                    </pdf:Keywords>
                </rdf:Description>
                <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
                    <!-- XMP properties go here -->
                    <xmp:CreatorTool/>
                </rdf:Description>
            </rdf:RDF>
        </x:xmpmeta>
        <!-- add attachments -->
        <xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']">
            <xsl:variable name="bibitem_attachment_" select="//*[local-name() = 'bibitem'][@hidden = 'true'][*[local-name() = 'uri'][@type = 'attachment'] = current()/@name]"/>
            <xsl:variable name="bibitem_attachment" select="xalan:nodeset($bibitem_attachment_)"/>
            <xsl:variable name="description" select="normalize-space($bibitem_attachment/*[local-name() = 'formattedref'])"/>
            <xsl:variable name="filename" select="java:org.metanorma.fop.Util.getFilenameFromPath(@name)"/>
            <!-- Todo: need update -->
            <xsl:variable name="afrelationship" select="normalize-space($bibitem_attachment//*[local-name() = 'classification'][@type = 'pdf-AFRelationship'])"/>
            <xsl:variable name="volatile" select="normalize-space($bibitem_attachment//*[local-name() = 'classification'][@type = 'pdf-volatile'])"/>

            <pdf:embedded-file filename="{$filename}" link-as-file-annotation="true">
                <xsl:attribute name="src">
                    <xsl:choose>
                        <xsl:when test="normalize-space() != ''">
                            <xsl:variable name="src_attachment" select="java:replaceAll(java:java.lang.String.new(.),'(&#13;&#10;|&#13;|&#10;)', '')"/> <!-- remove line breaks -->
                            <xsl:value-of select="$src_attachment"/>
                        </xsl:when>
                        <xsl:otherwise>
                            <xsl:variable name="url" select="concat('url(file:///',$inputxml_basepath , @name, ')')"/>
                            <xsl:value-of select="$url"/>
                        </xsl:otherwise>
                    </xsl:choose>
                </xsl:attribute>
                <xsl:if test="$description != ''">
                    <xsl:attribute name="description"><xsl:value-of select="$description"/></xsl:attribute>
                </xsl:if>
                <xsl:if test="$afrelationship != ''">
                    <xsl:attribute name="afrelationship"><xsl:value-of select="$afrelationship"/></xsl:attribute>
                </xsl:if>
                <xsl:if test="$volatile != ''">
                    <xsl:attribute name="volatile"><xsl:value-of select="$volatile"/></xsl:attribute>
                </xsl:if>
            </pdf:embedded-file>
        </xsl:for-each>
        <!-- references to external attachments (no binary-encoded within the Metanorma XML file) -->
        <xsl:if test="not(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment'])">
            <xsl:for-each select="//*[local-name() = 'bibitem'][@hidden = 'true'][*[local-name() = 'uri'][@type = 'attachment']]">
                <xsl:variable name="attachment_path" select="*[local-name() = 'uri'][@type = 'attachment']"/>
                <xsl:variable name="attachment_name" select="java:org.metanorma.fop.Util.getFilenameFromPath($attachment_path)"/>
                <xsl:variable name="url" select="concat('url(file:///',$basepath, $attachment_path, ')')"/>
                <xsl:variable name="description" select="normalize-space(*[local-name() = 'formattedref'])"/>
                <!-- Todo: need update -->
                <xsl:variable name="afrelationship" select="normalize-space(.//*[local-name() = 'classification'][@type = 'pdf-AFRelationship'])"/>
                <xsl:variable name="volatile" select="normalize-space(.//*[local-name() = 'classification'][@type = 'pdf-volatile'])"/>
                <pdf:embedded-file src="{$url}" filename="{$attachment_name}" link-as-file-annotation="true">
                    <xsl:if test="$description != ''">
                        <xsl:attribute name="description"><xsl:value-of select="$description"/></xsl:attribute>
                    </xsl:if>
                    <xsl:if test="$afrelationship != ''">
                        <xsl:attribute name="afrelationship"><xsl:value-of select="$afrelationship"/></xsl:attribute>
                    </xsl:if>
                    <xsl:if test="$volatile != ''">
                        <xsl:attribute name="volatile"><xsl:value-of select="$volatile"/></xsl:attribute>
                    </xsl:if>
                </pdf:embedded-file>
            </xsl:for-each>
        </xsl:if>
    </xsl:template> <!-- addPDFUAmeta -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getId">
        <xsl:choose>
            <xsl:when test="../@id">
                <xsl:value-of select="../@id"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:value-of select="concat(generate-id(..), '_', text())"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- Get or calculate depth of the element -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getLevel">
        <xsl:param name="depth"/>
        <!-- <xsl:message>
            <xsl:choose>
                <xsl:when test="local-name() = 'title'">title=<xsl:value-of select="."/></xsl:when>
                <xsl:when test="local-name() = 'clause'">clause/title=<xsl:value-of select="*[local-name() = 'title']"/></xsl:when>
            </xsl:choose>
        </xsl:message> -->
        <xsl:choose>
            <xsl:when test="normalize-space(@depth) != ''">
                <xsl:value-of select="@depth"/>
            </xsl:when>
            <xsl:when test="normalize-space($depth) != ''">
                <xsl:value-of select="$depth"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:variable name="level_total" select="count(ancestor::*[local-name() != 'page_sequence'])"/>
                <xsl:variable name="level">
                    <xsl:choose>
                        <xsl:when test="parent::*[local-name() = 'preface']">
                            <xsl:value-of select="$level_total - 1"/>
                        </xsl:when>
                        <xsl:when test="ancestor::*[local-name() = 'preface'] and not(ancestor::*[local-name() = 'foreword']) and not(ancestor::*[local-name() = 'introduction'])"> <!-- for preface/clause -->
                            <xsl:value-of select="$level_total - 1"/>
                        </xsl:when>
                        <xsl:when test="ancestor::*[local-name() = 'preface']">
                            <xsl:value-of select="$level_total - 2"/>
                        </xsl:when>
                        <xsl:when test="ancestor::*[local-name() = 'sections'] and self::*[local-name() = 'title']">
                            <!-- determine 'depth' depends on upper clause with title/@depth -->
                            <!-- <xsl:message>title=<xsl:value-of select="."/></xsl:message> -->
                            <xsl:variable name="clause_with_depth_depth" select="ancestor::*[local-name() = 'clause'][*[local-name() = 'title']/@depth][1]/*[local-name() = 'title']/@depth"/>
                            <!-- <xsl:message>clause_with_depth_depth=<xsl:value-of select="$clause_with_depth_depth"/></xsl:message> -->
                            <xsl:variable name="clause_with_depth_level" select="count(ancestor::*[local-name() = 'clause'][*[local-name() = 'title']/@depth][1]/ancestor::*)"/>
                            <!-- <xsl:message>clause_with_depth_level=<xsl:value-of select="$clause_with_depth_level"/></xsl:message> -->
                            <xsl:variable name="curr_level" select="count(ancestor::*) - 1"/>
                            <!-- <xsl:message>curr_level=<xsl:value-of select="$curr_level"/></xsl:message> -->
                            <!-- <xsl:variable name="upper_clause_depth" select="normalize-space(ancestor::*[local-name() = 'clause'][2]/*[local-name() = 'title']/@depth)"/> -->
                            <xsl:variable name="curr_clause_depth" select="number($clause_with_depth_depth) + (number($curr_level) - number($clause_with_depth_level)) "/>
                            <!-- <xsl:message>curr_clause_depth=<xsl:value-of select="$curr_clause_depth"/></xsl:message> -->
                            <xsl:choose>
                                <xsl:when test="string(number($curr_clause_depth)) != 'NaN'">
                                    <xsl:value-of select="number($curr_clause_depth)"/>
                                </xsl:when>
                                <xsl:otherwise>
                                    <xsl:value-of select="$level_total - 2"/>
                                </xsl:otherwise>
                            </xsl:choose>
                        </xsl:when>
                        <xsl:when test="ancestor::*[local-name() = 'sections'] and self::*[local-name() = 'name'] and parent::*[local-name() = 'term']">
                            <xsl:variable name="upper_terms_depth" select="normalize-space(ancestor::*[local-name() = 'terms'][1]/*[local-name() = 'title']/@depth)"/>
                            <xsl:choose>
                                <xsl:when test="string(number($upper_terms_depth)) != 'NaN'">
                                    <xsl:value-of select="number($upper_terms_depth + 1)"/>
                                </xsl:when>
                                <xsl:otherwise>
                                    <xsl:value-of select="$level_total - 2"/>
                                </xsl:otherwise>
                            </xsl:choose>
                        </xsl:when>
                        <xsl:when test="ancestor::*[local-name() = 'sections']">
                            <xsl:variable name="upper_clause_depth" select="normalize-space(ancestor::*[local-name() = 'clause' or local-name() = 'terms'][1]/*[local-name() = 'title']/@depth)"/>
                            <xsl:choose>
                                <xsl:when test="string(number($upper_clause_depth)) != 'NaN'">
                                    <xsl:value-of select="number($upper_clause_depth + 1)"/>
                                </xsl:when>
                                <xsl:otherwise>
                                    <xsl:value-of select="$level_total - 1"/>
                                </xsl:otherwise>
                            </xsl:choose>
                        </xsl:when>
                        <xsl:when test="ancestor::*[local-name() = 'bibliography']">
                            <xsl:value-of select="$level_total - 1"/>
                        </xsl:when>
                        <xsl:when test="parent::*[local-name() = 'annex']">
                            <xsl:value-of select="$level_total - 1"/>
                        </xsl:when>
                        <xsl:when test="ancestor::*[local-name() = 'annex'] and self::*[local-name() = 'title']">
                            <xsl:variable name="upper_clause_depth" select="normalize-space(ancestor::*[local-name() = 'clause'][2]/*[local-name() = 'title']/@depth)"/>
                            <xsl:choose>
                                <xsl:when test="string(number($upper_clause_depth)) != 'NaN'">
                                    <xsl:value-of select="number($upper_clause_depth + 1)"/>
                                </xsl:when>
                                <xsl:otherwise>
                                    <xsl:value-of select="$level_total - 1"/>
                                </xsl:otherwise>
                            </xsl:choose>
                        </xsl:when>
                        <xsl:when test="ancestor::*[local-name() = 'annex']">
                            <xsl:value-of select="$level_total"/>
                        </xsl:when>
                        <xsl:when test="local-name() = 'annex'">1</xsl:when>
                        <xsl:when test="local-name(ancestor::*[1]) = 'annex'">1</xsl:when>
                        <xsl:otherwise>
                            <xsl:value-of select="$level_total - 1"/>
                        </xsl:otherwise>
                    </xsl:choose>
                </xsl:variable>
                <xsl:value-of select="$level"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template> <!-- getLevel -->

    <!-- Get or calculate depth of term's name -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getLevelTermName">
        <xsl:choose>
            <xsl:when test="normalize-space(../@depth) != ''">
                <xsl:value-of select="../@depth"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:variable name="title_level_">
                    <xsl:for-each select="../preceding-sibling::*[local-name() = 'title'][1]">
                        <xsl:call-template name="getLevel"/>
                    </xsl:for-each>
                </xsl:variable>
                <xsl:variable name="title_level" select="normalize-space($title_level_)"/>
                <xsl:choose>
                    <xsl:when test="$title_level != ''"><xsl:value-of select="$title_level + 1"/></xsl:when>
                    <xsl:otherwise>
                        <xsl:call-template name="getLevel"/>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template> <!-- getLevelTermName -->

    <!-- split string by separator -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="split">
        <xsl:param name="pText" select="."/>
        <xsl:param name="sep" select="','"/>
        <xsl:param name="normalize-space" select="'true'"/>
        <xsl:param name="keep_sep" select="'false'"/>
        <xsl:if test="string-length($pText) &gt;0">
            <item>
                <xsl:choose>
                    <xsl:when test="$normalize-space = 'true'">
                        <xsl:value-of select="normalize-space(substring-before(concat($pText, $sep), $sep))"/>
                    </xsl:when>
                    <xsl:otherwise>
                        <xsl:value-of select="substring-before(concat($pText, $sep), $sep)"/>
                    </xsl:otherwise>
                </xsl:choose>
            </item>
            <xsl:if test="$keep_sep = 'true' and contains($pText, $sep)"><item><xsl:value-of select="$sep"/></item></xsl:if>
            <xsl:call-template name="split">
                <xsl:with-param name="pText" select="substring-after($pText, $sep)"/>
                <xsl:with-param name="sep" select="$sep"/>
                <xsl:with-param name="normalize-space" select="$normalize-space"/>
                <xsl:with-param name="keep_sep" select="$keep_sep"/>
            </xsl:call-template>
        </xsl:if>
    </xsl:template> <!-- split -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getDocumentId">
        <xsl:call-template name="getLang"/><xsl:value-of select="//*[local-name() = 'p'][1]/@id"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getDocumentId_fromCurrentNode">
        <xsl:call-template name="getLang_fromCurrentNode"/><xsl:value-of select=".//*[local-name() = 'p'][1]/@id"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="namespaceCheck">
        <xsl:variable name="documentNS" select="namespace-uri(/*)"/>
        <xsl:variable name="XSLNS">

                <xsl:value-of select="document('')//*/namespace::ieee"/>

        </xsl:variable>
        <xsl:if test="$documentNS != $XSLNS">
            <xsl:message>[WARNING]: Document namespace: '<xsl:value-of select="$documentNS"/>' doesn't equal to xslt namespace '<xsl:value-of select="$XSLNS"/>'</xsl:message>
        </xsl:if>
    </xsl:template> <!-- namespaceCheck -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getLanguage">
        <xsl:param name="lang"/>
        <xsl:variable name="language" select="java:toLowerCase(java:java.lang.String.new($lang))"/>
        <xsl:choose>
            <xsl:when test="$language = 'en'">English</xsl:when>
            <xsl:when test="$language = 'fr'">French</xsl:when>
            <xsl:when test="$language = 'de'">Deutsch</xsl:when>
            <xsl:when test="$language = 'cn'">Chinese</xsl:when>
            <xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setId">
        <xsl:param name="prefix"/>
        <xsl:attribute name="id">
            <xsl:choose>
                <xsl:when test="@id">
                    <xsl:value-of select="concat($prefix, @id)"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="concat($prefix, generate-id())"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="add-letter-spacing">
        <xsl:param name="text"/>
        <xsl:param name="letter-spacing" select="'0.15'"/>
        <xsl:if test="string-length($text) &gt; 0">
            <xsl:variable name="char" select="substring($text, 1, 1)"/>
            <fo:inline padding-right="{$letter-spacing}mm">
                <xsl:if test="$char = '®'">
                    <xsl:attribute name="font-size">58%</xsl:attribute>
                    <xsl:attribute name="baseline-shift">30%</xsl:attribute>
                </xsl:if>
                <xsl:value-of select="$char"/>
            </fo:inline>
            <xsl:call-template name="add-letter-spacing">
                <xsl:with-param name="text" select="substring($text, 2)"/>
                <xsl:with-param name="letter-spacing" select="$letter-spacing"/>
            </xsl:call-template>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="repeat">
        <xsl:param name="char" select="'*'"/>
        <xsl:param name="count"/>
        <xsl:if test="$count &gt; 0">
            <xsl:value-of select="$char"/>
            <xsl:call-template name="repeat">
                <xsl:with-param name="char" select="$char"/>
                <xsl:with-param name="count" select="$count - 1"/>
            </xsl:call-template>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getLocalizedString">
        <xsl:param name="key"/>
        <xsl:param name="formatted">false</xsl:param>
        <xsl:param name="lang"/>
        <xsl:param name="returnEmptyIfNotFound">false</xsl:param>

        <xsl:variable name="curr_lang">
            <xsl:choose>
                <xsl:when test="$lang != ''"><xsl:value-of select="$lang"/></xsl:when>
                <xsl:when test="$returnEmptyIfNotFound = 'true'"/>
                <xsl:otherwise>
                    <xsl:call-template name="getLang"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:variable name="data_value">
            <xsl:choose>
                <xsl:when test="$formatted = 'true'">
                    <xsl:apply-templates select="xalan:nodeset($bibdata)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="normalize-space(xalan:nodeset($bibdata)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang])"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:variable>

        <xsl:choose>
            <xsl:when test="normalize-space($data_value) != ''">
                <xsl:choose>
                    <xsl:when test="$formatted = 'true'"><xsl:copy-of select="$data_value"/></xsl:when>
                    <xsl:otherwise><xsl:value-of select="$data_value"/></xsl:otherwise>
                </xsl:choose>
            </xsl:when>
            <xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
                <xsl:choose>
                    <xsl:when test="$formatted = 'true'">
                        <xsl:apply-templates select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
                    </xsl:when>
                    <xsl:otherwise>
                        <xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:when>
            <xsl:when test="$returnEmptyIfNotFound = 'true'"/>
            <xsl:otherwise>
                <xsl:variable name="key_">
                    <xsl:call-template name="capitalize">
                        <xsl:with-param name="str" select="translate($key, '_', ' ')"/>
                    </xsl:call-template>
                </xsl:variable>
                <xsl:value-of select="$key_"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template> <!-- getLocalizedString -->

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setTrackChangesStyles">
        <xsl:param name="isAdded"/>
        <xsl:param name="isDeleted"/>
        <xsl:choose>
            <xsl:when test="local-name() = 'math'">
                <xsl:if test="$isAdded = 'true'">
                    <xsl:attribute name="background-color"><xsl:value-of select="$color-added-text"/></xsl:attribute>
                </xsl:if>
                <xsl:if test="$isDeleted = 'true'">
                    <xsl:attribute name="background-color"><xsl:value-of select="$color-deleted-text"/></xsl:attribute>
                </xsl:if>
            </xsl:when>
            <xsl:otherwise>
                <xsl:if test="$isAdded = 'true'">
                    <xsl:attribute name="border"><xsl:value-of select="$border-block-added"/></xsl:attribute>
                    <xsl:attribute name="padding">2mm</xsl:attribute>
                </xsl:if>
                <xsl:if test="$isDeleted = 'true'">
                    <xsl:attribute name="border"><xsl:value-of select="$border-block-deleted"/></xsl:attribute>
                    <xsl:if test="local-name() = 'table'">
                        <xsl:attribute name="background-color">rgb(255, 185, 185)</xsl:attribute>
                    </xsl:if>
                    <xsl:attribute name="padding">2mm</xsl:attribute>
                </xsl:if>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template> <!-- setTrackChangesStyles -->

    <!--  see https://xmlgraphics.apache.org/fop/2.5/complexscripts.html#bidi_controls-->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="LRM" select="'‎'"/> <!-- U+200E - LEFT-TO-RIGHT MARK (LRM) -->
    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="RLM" select="'‏'"/> <!-- U+200F - RIGHT-TO-LEFT MARK (RLM) -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setWritingMode">
        <xsl:if test="$lang = 'ar'">
            <xsl:attribute name="writing-mode">rl-tb</xsl:attribute>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setAlignment">
        <xsl:param name="align" select="normalize-space(@align)"/>
        <xsl:choose>
            <xsl:when test="$lang = 'ar' and $align = 'left'">start</xsl:when>
            <xsl:when test="$lang = 'ar' and $align = 'right'">end</xsl:when>
            <xsl:when test="$align != ''">
                <xsl:value-of select="$align"/>
            </xsl:when>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setTextAlignment">
        <xsl:param name="default">left</xsl:param>
        <xsl:variable name="align" select="normalize-space(@align)"/>
        <xsl:attribute name="text-align">
            <xsl:choose>
                <xsl:when test="$lang = 'ar' and $align = 'left'">start</xsl:when>
                <xsl:when test="$lang = 'ar' and $align = 'right'">end</xsl:when>
                <xsl:when test="$align = 'justified'">justify</xsl:when>
                <xsl:when test="$align != '' and not($align = 'indent')"><xsl:value-of select="$align"/></xsl:when>
                <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
                <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
                <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
        <xsl:if test="$align = 'indent'">
            <xsl:attribute name="margin-left">7mm</xsl:attribute>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setBlockAttributes">
        <xsl:param name="text_align_default">left</xsl:param>
        <xsl:call-template name="setTextAlignment">
            <xsl:with-param name="default" select="$text_align_default"/>
        </xsl:call-template>
        <xsl:call-template name="setKeepAttributes"/>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setKeepAttributes">
        <!-- https://www.metanorma.org/author/topics/document-format/text/#avoiding-page-breaks -->
        <!-- Example: keep-lines-together="true" -->
        <xsl:if test="@keep-lines-together = 'true'">
            <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
        </xsl:if>
        <!-- Example: keep-with-next="true" -->
        <xsl:if test="@keep-with-next =  'true'">
            <xsl:attribute name="keep-with-next">always</xsl:attribute>
        </xsl:if>
    </xsl:template>

    <!-- insert cover page image -->
        <!-- background cover image -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertBackgroundPageImage">
        <xsl:param name="number">1</xsl:param>
        <xsl:param name="name">coverpage-image</xsl:param>
        <xsl:param name="suffix"/>
        <xsl:variable name="num" select="number($number)"/>
        <!-- background image -->
        <fo:block-container absolute-position="fixed" left="0mm" top="0mm" font-size="0" id="__internal_layout__coverpage{$suffix}_{$name}_{$number}_{generate-id()}">
            <fo:block>
                <xsl:for-each select="/*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = $name][1]/*[local-name() = 'value']/*[local-name() = 'image'][$num]">
                    <xsl:choose>
                        <xsl:when test="*[local-name() = 'svg'] or java:endsWith(java:java.lang.String.new(@src), '.svg')">
                            <fo:instream-foreign-object fox:alt-text="Image Front">
                                <xsl:attribute name="content-height"><xsl:value-of select="$pageHeight"/>mm</xsl:attribute>
                                <xsl:call-template name="getSVG"/>
                            </fo:instream-foreign-object>
                        </xsl:when>
                        <xsl:when test="starts-with(@src, 'data:application/pdf;base64')">
                            <fo:external-graphic src="{@src}" fox:alt-text="Image Front"/>
                        </xsl:when>
                        <xsl:otherwise> <!-- bitmap image -->
                            <xsl:variable name="coverimage_src" select="normalize-space(@src)"/>
                            <xsl:if test="$coverimage_src != ''">
                                <xsl:variable name="coverpage">
                                    <xsl:call-template name="getImageURL">
                                        <xsl:with-param name="src" select="$coverimage_src"/>
                                    </xsl:call-template>
                                </xsl:variable>
                                <!-- <xsl:variable name="coverpage" select="concat('url(file:',$basepath, 'coverpage1.png', ')')"/> --> <!-- for DEBUG -->
                                <fo:external-graphic src="{$coverpage}" width="{$pageWidth}mm" content-height="scale-to-fit" scaling="uniform" fox:alt-text="Image Front"/>
                            </xsl:if>
                        </xsl:otherwise>
                    </xsl:choose>
                </xsl:for-each>
            </fo:block>
        </fo:block-container>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getImageURL">
        <xsl:param name="src"/>
        <xsl:choose>
            <xsl:when test="starts-with($src, 'data:image')">
                <xsl:value-of select="$src"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:choose>
                    <xsl:when test="@extracted = 'true'"> <!-- added in mn2pdf v1.97 -->
                        <xsl:value-of select="concat('url(file:///', @src, ')')"/>
                    </xsl:when>
                    <xsl:otherwise>
                        <xsl:value-of select="concat('url(file:///',$basepath, $src, ')')"/>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="getSVG">
        <xsl:choose>
            <xsl:when test="*[local-name() = 'svg']">
                <xsl:apply-templates select="*[local-name() = 'svg']" mode="svg_update"/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:variable name="svg_content" select="document(@src)"/>
                <xsl:for-each select="xalan:nodeset($svg_content)/node()">
                    <xsl:apply-templates select="." mode="svg_update"/>
                </xsl:for-each>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <!-- END: insert cover page image -->

    <xsl:variable xmlns:redirect="http://xml.apache.org/xalan/redirect" name="regex_ja_spec">[\uFF08\uFF09]</xsl:variable>
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="insertVerticalChar">
        <xsl:param name="str"/>
        <xsl:param name="writing-mode">lr-tb</xsl:param>
        <xsl:param name="reference-orientation">90</xsl:param>
        <xsl:param name="add_zero_width_space">false</xsl:param>
        <xsl:if test="string-length($str) &gt; 0">
            <xsl:variable name="char" select="substring($str,1,1)"/>
            <fo:inline-container text-align="center" alignment-baseline="central" width="1em" margin="0" padding="0" text-indent="0mm" last-line-end-indent="0mm" start-indent="0mm" end-indent="0mm">
                <xsl:if test="normalize-space($writing-mode) != ''">
                    <xsl:attribute name="writing-mode"><xsl:value-of select="$writing-mode"/></xsl:attribute>
                    <xsl:attribute name="reference-orientation">90</xsl:attribute>
                </xsl:if>
                <xsl:if test="normalize-space(java:matches(java:java.lang.String.new($char), concat('(', $regex_ja_spec, '{1,})'))) = 'true'">
                    <xsl:attribute name="reference-orientation">0</xsl:attribute>
                </xsl:if>
                <fo:block-container width="1em">
                        <fo:block line-height="1em"><xsl:value-of select="$char"/></fo:block>
                </fo:block-container>
            </fo:inline-container>
            <xsl:if test="$add_zero_width_space = 'true' and ($char = ',' or $char = '.' or $char = ' ' or $char = '·' or $char = ')' or $char = ']' or $char = '}')"><xsl:value-of select="$zero_width_space"/></xsl:if>
            <xsl:call-template name="insertVerticalChar">
                <xsl:with-param name="str" select="substring($str, 2)"/>
                <xsl:with-param name="writing-mode" select="$writing-mode"/>
                <xsl:with-param name="reference-orientation" select="$reference-orientation"/>
                <xsl:with-param name="add_zero_width_space" select="$add_zero_width_space"/>
            </xsl:call-template>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="number-to-words">
        <xsl:param name="number"/>
        <xsl:param name="first"/>
        <xsl:if test="$number != ''">
            <xsl:variable name="words">
                <words>
                    <xsl:choose>
                        <xsl:when test="$lang = 'fr'"> <!-- https://en.wiktionary.org/wiki/Appendix:French_numbers -->
                            <word cardinal="1">Une-</word>
                            <word ordinal="1">Première </word>
                            <word cardinal="2">Deux-</word>
                            <word ordinal="2">Seconde </word>
                            <word cardinal="3">Trois-</word>
                            <word ordinal="3">Tierce </word>
                            <word cardinal="4">Quatre-</word>
                            <word ordinal="4">Quatrième </word>
                            <word cardinal="5">Cinq-</word>
                            <word ordinal="5">Cinquième </word>
                            <word cardinal="6">Six-</word>
                            <word ordinal="6">Sixième </word>
                            <word cardinal="7">Sept-</word>
                            <word ordinal="7">Septième </word>
                            <word cardinal="8">Huit-</word>
                            <word ordinal="8">Huitième </word>
                            <word cardinal="9">Neuf-</word>
                            <word ordinal="9">Neuvième </word>
                            <word ordinal="10">Dixième </word>
                            <word ordinal="11">Onzième </word>
                            <word ordinal="12">Douzième </word>
                            <word ordinal="13">Treizième </word>
                            <word ordinal="14">Quatorzième </word>
                            <word ordinal="15">Quinzième </word>
                            <word ordinal="16">Seizième </word>
                            <word ordinal="17">Dix-septième </word>
                            <word ordinal="18">Dix-huitième </word>
                            <word ordinal="19">Dix-neuvième </word>
                            <word cardinal="20">Vingt-</word>
                            <word ordinal="20">Vingtième </word>
                            <word cardinal="30">Trente-</word>
                            <word ordinal="30">Trentième </word>
                            <word cardinal="40">Quarante-</word>
                            <word ordinal="40">Quarantième </word>
                            <word cardinal="50">Cinquante-</word>
                            <word ordinal="50">Cinquantième </word>
                            <word cardinal="60">Soixante-</word>
                            <word ordinal="60">Soixantième </word>
                            <word cardinal="70">Septante-</word>
                            <word ordinal="70">Septantième </word>
                            <word cardinal="80">Huitante-</word>
                            <word ordinal="80">Huitantième </word>
                            <word cardinal="90">Nonante-</word>
                            <word ordinal="90">Nonantième </word>
                            <word cardinal="100">Cent-</word>
                            <word ordinal="100">Centième </word>
                        </xsl:when>
                        <xsl:when test="$lang = 'ru'">
                            <word cardinal="1">Одна-</word>
                            <word ordinal="1">Первое </word>
                            <word cardinal="2">Две-</word>
                            <word ordinal="2">Второе </word>
                            <word cardinal="3">Три-</word>
                            <word ordinal="3">Третье </word>
                            <word cardinal="4">Четыре-</word>
                            <word ordinal="4">Четвертое </word>
                            <word cardinal="5">Пять-</word>
                            <word ordinal="5">Пятое </word>
                            <word cardinal="6">Шесть-</word>
                            <word ordinal="6">Шестое </word>
                            <word cardinal="7">Семь-</word>
                            <word ordinal="7">Седьмое </word>
                            <word cardinal="8">Восемь-</word>
                            <word ordinal="8">Восьмое </word>
                            <word cardinal="9">Девять-</word>
                            <word ordinal="9">Девятое </word>
                            <word ordinal="10">Десятое </word>
                            <word ordinal="11">Одиннадцатое </word>
                            <word ordinal="12">Двенадцатое </word>
                            <word ordinal="13">Тринадцатое </word>
                            <word ordinal="14">Четырнадцатое </word>
                            <word ordinal="15">Пятнадцатое </word>
                            <word ordinal="16">Шестнадцатое </word>
                            <word ordinal="17">Семнадцатое </word>
                            <word ordinal="18">Восемнадцатое </word>
                            <word ordinal="19">Девятнадцатое </word>
                            <word cardinal="20">Двадцать-</word>
                            <word ordinal="20">Двадцатое </word>
                            <word cardinal="30">Тридцать-</word>
                            <word ordinal="30">Тридцатое </word>
                            <word cardinal="40">Сорок-</word>
                            <word ordinal="40">Сороковое </word>
                            <word cardinal="50">Пятьдесят-</word>
                            <word ordinal="50">Пятидесятое </word>
                            <word cardinal="60">Шестьдесят-</word>
                            <word ordinal="60">Шестидесятое </word>
                            <word cardinal="70">Семьдесят-</word>
                            <word ordinal="70">Семидесятое </word>
                            <word cardinal="80">Восемьдесят-</word>
                            <word ordinal="80">Восьмидесятое </word>
                            <word cardinal="90">Девяносто-</word>
                            <word ordinal="90">Девяностое </word>
                            <word cardinal="100">Сто-</word>
                            <word ordinal="100">Сотое </word>
                        </xsl:when>
                        <xsl:otherwise> <!-- default english -->
                            <word cardinal="1">One-</word>
                            <word ordinal="1">First </word>
                            <word cardinal="2">Two-</word>
                            <word ordinal="2">Second </word>
                            <word cardinal="3">Three-</word>
                            <word ordinal="3">Third </word>
                            <word cardinal="4">Four-</word>
                            <word ordinal="4">Fourth </word>
                            <word cardinal="5">Five-</word>
                            <word ordinal="5">Fifth </word>
                            <word cardinal="6">Six-</word>
                            <word ordinal="6">Sixth </word>
                            <word cardinal="7">Seven-</word>
                            <word ordinal="7">Seventh </word>
                            <word cardinal="8">Eight-</word>
                            <word ordinal="8">Eighth </word>
                            <word cardinal="9">Nine-</word>
                            <word ordinal="9">Ninth </word>
                            <word ordinal="10">Tenth </word>
                            <word ordinal="11">Eleventh </word>
                            <word ordinal="12">Twelfth </word>
                            <word ordinal="13">Thirteenth </word>
                            <word ordinal="14">Fourteenth </word>
                            <word ordinal="15">Fifteenth </word>
                            <word ordinal="16">Sixteenth </word>
                            <word ordinal="17">Seventeenth </word>
                            <word ordinal="18">Eighteenth </word>
                            <word ordinal="19">Nineteenth </word>
                            <word cardinal="20">Twenty-</word>
                            <word ordinal="20">Twentieth </word>
                            <word cardinal="30">Thirty-</word>
                            <word ordinal="30">Thirtieth </word>
                            <word cardinal="40">Forty-</word>
                            <word ordinal="40">Fortieth </word>
                            <word cardinal="50">Fifty-</word>
                            <word ordinal="50">Fiftieth </word>
                            <word cardinal="60">Sixty-</word>
                            <word ordinal="60">Sixtieth </word>
                            <word cardinal="70">Seventy-</word>
                            <word ordinal="70">Seventieth </word>
                            <word cardinal="80">Eighty-</word>
                            <word ordinal="80">Eightieth </word>
                            <word cardinal="90">Ninety-</word>
                            <word ordinal="90">Ninetieth </word>
                            <word cardinal="100">Hundred-</word>
                            <word ordinal="100">Hundredth </word>
                        </xsl:otherwise>
                    </xsl:choose>
                </words>
            </xsl:variable>

            <xsl:variable name="ordinal" select="xalan:nodeset($words)//word[@ordinal = $number]/text()"/>

            <xsl:variable name="value">
                <xsl:choose>
                    <xsl:when test="$ordinal != ''">
                        <xsl:value-of select="$ordinal"/>
                    </xsl:when>
                    <xsl:otherwise>
                        <xsl:choose>
                            <xsl:when test="$number &lt; 100">
                                <xsl:variable name="decade" select="concat(substring($number,1,1), '0')"/>
                                <xsl:variable name="digit" select="substring($number,2)"/>
                                <xsl:value-of select="xalan:nodeset($words)//word[@cardinal = $decade]/text()"/>
                                <xsl:value-of select="xalan:nodeset($words)//word[@ordinal = $digit]/text()"/>
                            </xsl:when>
                            <xsl:otherwise>
                                <!-- more 100 -->
                                <xsl:variable name="hundred" select="substring($number,1,1)"/>
                                <xsl:variable name="digits" select="number(substring($number,2))"/>
                                <xsl:value-of select="xalan:nodeset($words)//word[@cardinal = $hundred]/text()"/>
                                <xsl:value-of select="xalan:nodeset($words)//word[@cardinal = '100']/text()"/>
                                <xsl:call-template name="number-to-words">
                                    <xsl:with-param name="number" select="$digits"/>
                                </xsl:call-template>
                            </xsl:otherwise>
                        </xsl:choose>
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:variable>
            <xsl:choose>
                <xsl:when test="$first = 'true'">
                    <xsl:variable name="value_lc" select="java:toLowerCase(java:java.lang.String.new($value))"/>
                    <xsl:call-template name="capitalize">
                        <xsl:with-param name="str" select="$value_lc"/>
                    </xsl:call-template>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="$value"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:if>
    </xsl:template> <!-- number-to-words -->

    <!-- st for 1, nd for 2, rd for 3, th for 4, 5, 6, ... -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="number-to-ordinal">
        <xsl:param name="number"/>
        <xsl:param name="curr_lang"/>
        <xsl:choose>
            <xsl:when test="$curr_lang = 'fr'">
                <xsl:choose>
                    <xsl:when test="$number = '1'">re</xsl:when>
                    <xsl:otherwise>e</xsl:otherwise>
                </xsl:choose>
            </xsl:when>
            <xsl:otherwise>
                <xsl:choose>
                    <xsl:when test="$number = 1">st</xsl:when>
                    <xsl:when test="$number = 2">nd</xsl:when>
                    <xsl:when test="$number = 3">rd</xsl:when>
                    <xsl:otherwise>th</xsl:otherwise>
                </xsl:choose>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template> <!-- number-to-ordinal -->

    <!-- add the attribute fox:alt-text, required for PDF/UA -->
    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="setAltText">
        <xsl:param name="value"/>
        <xsl:attribute name="fox:alt-text">
            <xsl:choose>
                <xsl:when test="normalize-space($value) != ''">
                    <xsl:value-of select="$value"/>
                </xsl:when>
                <xsl:otherwise>_</xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" name="substring-after-last">
        <xsl:param name="value"/>
        <xsl:param name="delimiter"/>
        <xsl:choose>
            <xsl:when test="contains($value, $delimiter)">
                <xsl:call-template name="substring-after-last">
                    <xsl:with-param name="value" select="substring-after($value, $delimiter)"/>
                    <xsl:with-param name="delimiter" select="$delimiter"/>
                </xsl:call-template>
            </xsl:when>
            <xsl:otherwise>
                <xsl:value-of select="$value"/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*" mode="print_as_xml">
        <xsl:param name="level">0</xsl:param>

        <fo:block margin-left="{2*$level}mm">
            <xsl:text>
&lt;</xsl:text>
            <xsl:value-of select="local-name()"/>
            <xsl:for-each select="@*">
                <xsl:text> </xsl:text>
                <xsl:value-of select="local-name()"/>
                <xsl:text>="</xsl:text>
                <xsl:value-of select="."/>
                <xsl:text>"</xsl:text>
            </xsl:for-each>
            <xsl:text>&gt;</xsl:text>

            <xsl:if test="not(*)">
                <fo:inline font-weight="bold"><xsl:value-of select="."/></fo:inline>
                <xsl:text>&lt;/</xsl:text>
                    <xsl:value-of select="local-name()"/>
                    <xsl:text>&gt;</xsl:text>
            </xsl:if>
        </fo:block>

        <xsl:if test="*">
            <fo:block>
                <xsl:apply-templates mode="print_as_xml">
                    <xsl:with-param name="level" select="$level + 1"/>
                </xsl:apply-templates>
            </fo:block>
            <fo:block margin-left="{2*$level}mm">
                <xsl:text>&lt;/</xsl:text>
                <xsl:value-of select="local-name()"/>
                <xsl:text>&gt;</xsl:text>
            </fo:block>
        </xsl:if>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="@*|node()" mode="set_table_role_skip">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()" mode="set_table_role_skip"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[starts-with(local-name(), 'table')]" mode="set_table_role_skip">
        <xsl:copy>
            <xsl:apply-templates select="@*" mode="set_table_role_skip"/>
            <xsl:attribute name="role">SKIP</xsl:attribute>
            <xsl:apply-templates select="node()" mode="set_table_role_skip"/>
        </xsl:copy>
    </xsl:template>

</xsl:stylesheet>