|
2703 | 2703 |
|
2704 | 2704 | </xsl:attribute-set>
|
2705 | 2705 |
|
| 2706 | + <xsl:template name="refine_termexample-style"> |
| 2707 | + |
| 2708 | + </xsl:template> |
| 2709 | + |
2706 | 2710 | <xsl:attribute-set name="example-style">
|
2707 | 2711 |
|
2708 | 2712 | <xsl:attribute name="font-size">10pt</xsl:attribute>
|
|
3845 | 3849 | </xsl:for-each>
|
3846 | 3850 | </xsl:template>
|
3847 | 3851 |
|
| 3852 | + <xsl:template name="processMainSectionsDefault_flatxml"> |
| 3853 | + <xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true']"> |
| 3854 | + <xsl:sort select="@displayorder" data-type="number"/> |
| 3855 | + <xsl:variable name="flatxml"> |
| 3856 | + <xsl:apply-templates select="." mode="flatxml"/> |
| 3857 | + </xsl:variable> |
| 3858 | + <!-- debug_flatxml='<xsl:copy-of select="$flatxml"/>' --> |
| 3859 | + <xsl:apply-templates select="xalan:nodeset($flatxml)/*"/> |
| 3860 | + |
| 3861 | + </xsl:for-each> |
| 3862 | + |
| 3863 | + <xsl:for-each select="/*/*[local-name()='annex']"> |
| 3864 | + <xsl:sort select="@displayorder" data-type="number"/> |
| 3865 | + <xsl:variable name="flatxml"> |
| 3866 | + <xsl:apply-templates select="." mode="flatxml"/> |
| 3867 | + </xsl:variable> |
| 3868 | + <!-- debug_flatxml='<xsl:copy-of select="$flatxml"/>' --> |
| 3869 | + <xsl:apply-templates select="xalan:nodeset($flatxml)/*"/> |
| 3870 | + </xsl:for-each> |
| 3871 | + |
| 3872 | + <xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true')] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]"> |
| 3873 | + <xsl:sort select="@displayorder" data-type="number"/> |
| 3874 | + <xsl:variable name="flatxml"> |
| 3875 | + <xsl:apply-templates select="." mode="flatxml"/> |
| 3876 | + </xsl:variable> |
| 3877 | + <!-- debug_flatxml='<xsl:copy-of select="$flatxml"/>' --> |
| 3878 | + <xsl:apply-templates select="xalan:nodeset($flatxml)/*"/> |
| 3879 | + </xsl:for-each> |
| 3880 | + </xsl:template> |
| 3881 | + |
3848 | 3882 | <xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
3849 | 3883 | <xsl:variable name="tag_fo_inline_keep-together_within-line_open">###fo:inline keep-together_within-line###</xsl:variable>
|
3850 | 3884 | <xsl:variable name="tag_fo_inline_keep-together_within-line_close">###/fo:inline keep-together_within-line###</xsl:variable>
|
|
6580 | 6614 | <fo:inline keep-with-next.within-line="always"><xsl:value-of select="."/></fo:inline>
|
6581 | 6615 | </xsl:template>
|
6582 | 6616 |
|
| 6617 | + <xsl:template match="*[local-name() = 'span'][contains(@style, 'text-transform:none')]//text()" priority="5"> |
| 6618 | + <xsl:value-of select="."/> |
| 6619 | + </xsl:template> |
| 6620 | + |
6583 | 6621 | <!-- ========================= -->
|
6584 | 6622 | <!-- END Rich text formatting -->
|
6585 | 6623 | <!-- ========================= -->
|
|
10091 | 10129 | <!-- ====== -->
|
10092 | 10130 | <xsl:template match="*[local-name() = 'termexample']">
|
10093 | 10131 | <fo:block id="{@id}" xsl:use-attribute-sets="termexample-style">
|
10094 |
| - |
| 10132 | + <xsl:call-template name="refine_termexample-style"/> |
10095 | 10133 | <xsl:call-template name="setBlockSpanAll"/>
|
10096 | 10134 |
|
10097 | 10135 | <xsl:apply-templates select="*[local-name()='name']"/>
|
|
0 commit comments