metanorma-ogc 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +0 -2
- data/lib/asciidoctor/ogc/isodoc.rng +174 -0
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +65 -0
- data/lib/isodoc/ogc/ogc.best-practice.xsl +65 -0
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +65 -0
- data/lib/isodoc/ogc/ogc.community-practice.xsl +65 -0
- data/lib/isodoc/ogc/ogc.community-standard.xsl +65 -0
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +65 -0
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +65 -0
- data/lib/isodoc/ogc/ogc.other.xsl +65 -0
- data/lib/isodoc/ogc/ogc.policy.xsl +65 -0
- data/lib/isodoc/ogc/ogc.reference-model.xsl +65 -0
- data/lib/isodoc/ogc/ogc.release-notes.xsl +65 -0
- data/lib/isodoc/ogc/ogc.standard.xsl +65 -0
- data/lib/isodoc/ogc/ogc.test-suite.xsl +65 -0
- data/lib/isodoc/ogc/ogc.user-guide.xsl +65 -0
- data/lib/isodoc/ogc/ogc.white-paper.xsl +65 -0
- data/lib/metanorma/ogc/version.rb +1 -1
- metadata +2 -2
@@ -2807,6 +2807,7 @@
|
|
2807
2807
|
|
2808
2808
|
|
2809
2809
|
|
2810
|
+
|
2810
2811
|
<xsl:attribute name="border">solid 0pt white</xsl:attribute>
|
2811
2812
|
|
2812
2813
|
|
@@ -5598,6 +5599,70 @@
|
|
5598
5599
|
<xsl:value-of select="substring(.,1,1)"/>
|
5599
5600
|
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5600
5601
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']">
|
5603
|
+
<fo:block>
|
5604
|
+
<xsl:apply-templates/>
|
5605
|
+
</fo:block>
|
5606
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'label']">
|
5607
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5608
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'text' or @type = 'date' or @type = 'file' or @type = 'password']">
|
5609
|
+
<fo:inline>
|
5610
|
+
<xsl:call-template name="text_input"/>
|
5611
|
+
</fo:inline>
|
5612
|
+
</xsl:template><xsl:template name="text_input">
|
5613
|
+
<xsl:variable name="count">
|
5614
|
+
<xsl:choose>
|
5615
|
+
<xsl:when test="normalize-space(@maxlength) != ''"><xsl:value-of select="@maxlength"/></xsl:when>
|
5616
|
+
<xsl:when test="normalize-space(@size) != ''"><xsl:value-of select="@size"/></xsl:when>
|
5617
|
+
<xsl:otherwise>10</xsl:otherwise>
|
5618
|
+
</xsl:choose>
|
5619
|
+
</xsl:variable>
|
5620
|
+
<xsl:call-template name="repeat">
|
5621
|
+
<xsl:with-param name="char" select="'_'"/>
|
5622
|
+
<xsl:with-param name="count" select="$count"/>
|
5623
|
+
</xsl:call-template>
|
5624
|
+
<xsl:text> </xsl:text>
|
5625
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'button']">
|
5626
|
+
<xsl:variable name="caption">
|
5627
|
+
<xsl:choose>
|
5628
|
+
<xsl:when test="normalize-space(@value) != ''"><xsl:value-of select="@value"/></xsl:when>
|
5629
|
+
<xsl:otherwise>BUTTON</xsl:otherwise>
|
5630
|
+
</xsl:choose>
|
5631
|
+
</xsl:variable>
|
5632
|
+
<fo:inline>[<xsl:value-of select="$caption"/>]</fo:inline>
|
5633
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'checkbox']">
|
5634
|
+
<fo:inline padding-right="1mm">
|
5635
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5636
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5637
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5638
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5639
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5640
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5641
|
+
<polyline points="0,0 80,0 80,80 0,80 0,0" stroke="black" stroke-width="5" fill="white"/>
|
5642
|
+
</svg>
|
5643
|
+
</fo:instream-foreign-object>
|
5644
|
+
</fo:inline>
|
5645
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'radio']">
|
5646
|
+
<fo:inline padding-right="1mm">
|
5647
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5648
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5649
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5650
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5651
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5652
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5653
|
+
<circle cx="40" cy="40" r="30" stroke="black" stroke-width="5" fill="white"/>
|
5654
|
+
<circle cx="40" cy="40" r="15" stroke="black" stroke-width="5" fill="white"/>
|
5655
|
+
</svg>
|
5656
|
+
</fo:instream-foreign-object>
|
5657
|
+
</fo:inline>
|
5658
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'select']">
|
5659
|
+
<fo:inline>
|
5660
|
+
<xsl:call-template name="text_input"/>
|
5661
|
+
</fo:inline>
|
5662
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'textarea']">
|
5663
|
+
<fo:block-container border="1pt solid black" width="50%">
|
5664
|
+
<fo:block> </fo:block>
|
5665
|
+
</fo:block-container>
|
5601
5666
|
</xsl:template><xsl:template name="convertDate">
|
5602
5667
|
<xsl:param name="date"/>
|
5603
5668
|
<xsl:param name="format" select="'short'"/>
|
@@ -2807,6 +2807,7 @@
|
|
2807
2807
|
|
2808
2808
|
|
2809
2809
|
|
2810
|
+
|
2810
2811
|
<xsl:attribute name="border">solid 0pt white</xsl:attribute>
|
2811
2812
|
|
2812
2813
|
|
@@ -5598,6 +5599,70 @@
|
|
5598
5599
|
<xsl:value-of select="substring(.,1,1)"/>
|
5599
5600
|
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5600
5601
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']">
|
5603
|
+
<fo:block>
|
5604
|
+
<xsl:apply-templates/>
|
5605
|
+
</fo:block>
|
5606
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'label']">
|
5607
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5608
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'text' or @type = 'date' or @type = 'file' or @type = 'password']">
|
5609
|
+
<fo:inline>
|
5610
|
+
<xsl:call-template name="text_input"/>
|
5611
|
+
</fo:inline>
|
5612
|
+
</xsl:template><xsl:template name="text_input">
|
5613
|
+
<xsl:variable name="count">
|
5614
|
+
<xsl:choose>
|
5615
|
+
<xsl:when test="normalize-space(@maxlength) != ''"><xsl:value-of select="@maxlength"/></xsl:when>
|
5616
|
+
<xsl:when test="normalize-space(@size) != ''"><xsl:value-of select="@size"/></xsl:when>
|
5617
|
+
<xsl:otherwise>10</xsl:otherwise>
|
5618
|
+
</xsl:choose>
|
5619
|
+
</xsl:variable>
|
5620
|
+
<xsl:call-template name="repeat">
|
5621
|
+
<xsl:with-param name="char" select="'_'"/>
|
5622
|
+
<xsl:with-param name="count" select="$count"/>
|
5623
|
+
</xsl:call-template>
|
5624
|
+
<xsl:text> </xsl:text>
|
5625
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'button']">
|
5626
|
+
<xsl:variable name="caption">
|
5627
|
+
<xsl:choose>
|
5628
|
+
<xsl:when test="normalize-space(@value) != ''"><xsl:value-of select="@value"/></xsl:when>
|
5629
|
+
<xsl:otherwise>BUTTON</xsl:otherwise>
|
5630
|
+
</xsl:choose>
|
5631
|
+
</xsl:variable>
|
5632
|
+
<fo:inline>[<xsl:value-of select="$caption"/>]</fo:inline>
|
5633
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'checkbox']">
|
5634
|
+
<fo:inline padding-right="1mm">
|
5635
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5636
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5637
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5638
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5639
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5640
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5641
|
+
<polyline points="0,0 80,0 80,80 0,80 0,0" stroke="black" stroke-width="5" fill="white"/>
|
5642
|
+
</svg>
|
5643
|
+
</fo:instream-foreign-object>
|
5644
|
+
</fo:inline>
|
5645
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'radio']">
|
5646
|
+
<fo:inline padding-right="1mm">
|
5647
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5648
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5649
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5650
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5651
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5652
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5653
|
+
<circle cx="40" cy="40" r="30" stroke="black" stroke-width="5" fill="white"/>
|
5654
|
+
<circle cx="40" cy="40" r="15" stroke="black" stroke-width="5" fill="white"/>
|
5655
|
+
</svg>
|
5656
|
+
</fo:instream-foreign-object>
|
5657
|
+
</fo:inline>
|
5658
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'select']">
|
5659
|
+
<fo:inline>
|
5660
|
+
<xsl:call-template name="text_input"/>
|
5661
|
+
</fo:inline>
|
5662
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'textarea']">
|
5663
|
+
<fo:block-container border="1pt solid black" width="50%">
|
5664
|
+
<fo:block> </fo:block>
|
5665
|
+
</fo:block-container>
|
5601
5666
|
</xsl:template><xsl:template name="convertDate">
|
5602
5667
|
<xsl:param name="date"/>
|
5603
5668
|
<xsl:param name="format" select="'short'"/>
|
@@ -2807,6 +2807,7 @@
|
|
2807
2807
|
|
2808
2808
|
|
2809
2809
|
|
2810
|
+
|
2810
2811
|
<xsl:attribute name="border">solid 0pt white</xsl:attribute>
|
2811
2812
|
|
2812
2813
|
|
@@ -5598,6 +5599,70 @@
|
|
5598
5599
|
<xsl:value-of select="substring(.,1,1)"/>
|
5599
5600
|
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5600
5601
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']">
|
5603
|
+
<fo:block>
|
5604
|
+
<xsl:apply-templates/>
|
5605
|
+
</fo:block>
|
5606
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'label']">
|
5607
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5608
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'text' or @type = 'date' or @type = 'file' or @type = 'password']">
|
5609
|
+
<fo:inline>
|
5610
|
+
<xsl:call-template name="text_input"/>
|
5611
|
+
</fo:inline>
|
5612
|
+
</xsl:template><xsl:template name="text_input">
|
5613
|
+
<xsl:variable name="count">
|
5614
|
+
<xsl:choose>
|
5615
|
+
<xsl:when test="normalize-space(@maxlength) != ''"><xsl:value-of select="@maxlength"/></xsl:when>
|
5616
|
+
<xsl:when test="normalize-space(@size) != ''"><xsl:value-of select="@size"/></xsl:when>
|
5617
|
+
<xsl:otherwise>10</xsl:otherwise>
|
5618
|
+
</xsl:choose>
|
5619
|
+
</xsl:variable>
|
5620
|
+
<xsl:call-template name="repeat">
|
5621
|
+
<xsl:with-param name="char" select="'_'"/>
|
5622
|
+
<xsl:with-param name="count" select="$count"/>
|
5623
|
+
</xsl:call-template>
|
5624
|
+
<xsl:text> </xsl:text>
|
5625
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'button']">
|
5626
|
+
<xsl:variable name="caption">
|
5627
|
+
<xsl:choose>
|
5628
|
+
<xsl:when test="normalize-space(@value) != ''"><xsl:value-of select="@value"/></xsl:when>
|
5629
|
+
<xsl:otherwise>BUTTON</xsl:otherwise>
|
5630
|
+
</xsl:choose>
|
5631
|
+
</xsl:variable>
|
5632
|
+
<fo:inline>[<xsl:value-of select="$caption"/>]</fo:inline>
|
5633
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'checkbox']">
|
5634
|
+
<fo:inline padding-right="1mm">
|
5635
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5636
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5637
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5638
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5639
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5640
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5641
|
+
<polyline points="0,0 80,0 80,80 0,80 0,0" stroke="black" stroke-width="5" fill="white"/>
|
5642
|
+
</svg>
|
5643
|
+
</fo:instream-foreign-object>
|
5644
|
+
</fo:inline>
|
5645
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'radio']">
|
5646
|
+
<fo:inline padding-right="1mm">
|
5647
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5648
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5649
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5650
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5651
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5652
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5653
|
+
<circle cx="40" cy="40" r="30" stroke="black" stroke-width="5" fill="white"/>
|
5654
|
+
<circle cx="40" cy="40" r="15" stroke="black" stroke-width="5" fill="white"/>
|
5655
|
+
</svg>
|
5656
|
+
</fo:instream-foreign-object>
|
5657
|
+
</fo:inline>
|
5658
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'select']">
|
5659
|
+
<fo:inline>
|
5660
|
+
<xsl:call-template name="text_input"/>
|
5661
|
+
</fo:inline>
|
5662
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'textarea']">
|
5663
|
+
<fo:block-container border="1pt solid black" width="50%">
|
5664
|
+
<fo:block> </fo:block>
|
5665
|
+
</fo:block-container>
|
5601
5666
|
</xsl:template><xsl:template name="convertDate">
|
5602
5667
|
<xsl:param name="date"/>
|
5603
5668
|
<xsl:param name="format" select="'short'"/>
|
@@ -2807,6 +2807,7 @@
|
|
2807
2807
|
|
2808
2808
|
|
2809
2809
|
|
2810
|
+
|
2810
2811
|
<xsl:attribute name="border">solid 0pt white</xsl:attribute>
|
2811
2812
|
|
2812
2813
|
|
@@ -5598,6 +5599,70 @@
|
|
5598
5599
|
<xsl:value-of select="substring(.,1,1)"/>
|
5599
5600
|
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5600
5601
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']">
|
5603
|
+
<fo:block>
|
5604
|
+
<xsl:apply-templates/>
|
5605
|
+
</fo:block>
|
5606
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'label']">
|
5607
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5608
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'text' or @type = 'date' or @type = 'file' or @type = 'password']">
|
5609
|
+
<fo:inline>
|
5610
|
+
<xsl:call-template name="text_input"/>
|
5611
|
+
</fo:inline>
|
5612
|
+
</xsl:template><xsl:template name="text_input">
|
5613
|
+
<xsl:variable name="count">
|
5614
|
+
<xsl:choose>
|
5615
|
+
<xsl:when test="normalize-space(@maxlength) != ''"><xsl:value-of select="@maxlength"/></xsl:when>
|
5616
|
+
<xsl:when test="normalize-space(@size) != ''"><xsl:value-of select="@size"/></xsl:when>
|
5617
|
+
<xsl:otherwise>10</xsl:otherwise>
|
5618
|
+
</xsl:choose>
|
5619
|
+
</xsl:variable>
|
5620
|
+
<xsl:call-template name="repeat">
|
5621
|
+
<xsl:with-param name="char" select="'_'"/>
|
5622
|
+
<xsl:with-param name="count" select="$count"/>
|
5623
|
+
</xsl:call-template>
|
5624
|
+
<xsl:text> </xsl:text>
|
5625
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'button']">
|
5626
|
+
<xsl:variable name="caption">
|
5627
|
+
<xsl:choose>
|
5628
|
+
<xsl:when test="normalize-space(@value) != ''"><xsl:value-of select="@value"/></xsl:when>
|
5629
|
+
<xsl:otherwise>BUTTON</xsl:otherwise>
|
5630
|
+
</xsl:choose>
|
5631
|
+
</xsl:variable>
|
5632
|
+
<fo:inline>[<xsl:value-of select="$caption"/>]</fo:inline>
|
5633
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'checkbox']">
|
5634
|
+
<fo:inline padding-right="1mm">
|
5635
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5636
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5637
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5638
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5639
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5640
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5641
|
+
<polyline points="0,0 80,0 80,80 0,80 0,0" stroke="black" stroke-width="5" fill="white"/>
|
5642
|
+
</svg>
|
5643
|
+
</fo:instream-foreign-object>
|
5644
|
+
</fo:inline>
|
5645
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'radio']">
|
5646
|
+
<fo:inline padding-right="1mm">
|
5647
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5648
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5649
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5650
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5651
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5652
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5653
|
+
<circle cx="40" cy="40" r="30" stroke="black" stroke-width="5" fill="white"/>
|
5654
|
+
<circle cx="40" cy="40" r="15" stroke="black" stroke-width="5" fill="white"/>
|
5655
|
+
</svg>
|
5656
|
+
</fo:instream-foreign-object>
|
5657
|
+
</fo:inline>
|
5658
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'select']">
|
5659
|
+
<fo:inline>
|
5660
|
+
<xsl:call-template name="text_input"/>
|
5661
|
+
</fo:inline>
|
5662
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'textarea']">
|
5663
|
+
<fo:block-container border="1pt solid black" width="50%">
|
5664
|
+
<fo:block> </fo:block>
|
5665
|
+
</fo:block-container>
|
5601
5666
|
</xsl:template><xsl:template name="convertDate">
|
5602
5667
|
<xsl:param name="date"/>
|
5603
5668
|
<xsl:param name="format" select="'short'"/>
|
@@ -2243,6 +2243,7 @@
|
|
2243
2243
|
|
2244
2244
|
|
2245
2245
|
|
2246
|
+
|
2246
2247
|
<xsl:attribute name="padding-top">1mm</xsl:attribute>
|
2247
2248
|
<xsl:attribute name="border">solid 0.5pt rgb(153, 153, 153)</xsl:attribute>
|
2248
2249
|
<xsl:attribute name="height">5mm</xsl:attribute>
|
@@ -5007,6 +5008,70 @@
|
|
5007
5008
|
<xsl:value-of select="substring(.,1,1)"/>
|
5008
5009
|
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5009
5010
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
5011
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']">
|
5012
|
+
<fo:block>
|
5013
|
+
<xsl:apply-templates/>
|
5014
|
+
</fo:block>
|
5015
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'label']">
|
5016
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5017
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'text' or @type = 'date' or @type = 'file' or @type = 'password']">
|
5018
|
+
<fo:inline>
|
5019
|
+
<xsl:call-template name="text_input"/>
|
5020
|
+
</fo:inline>
|
5021
|
+
</xsl:template><xsl:template name="text_input">
|
5022
|
+
<xsl:variable name="count">
|
5023
|
+
<xsl:choose>
|
5024
|
+
<xsl:when test="normalize-space(@maxlength) != ''"><xsl:value-of select="@maxlength"/></xsl:when>
|
5025
|
+
<xsl:when test="normalize-space(@size) != ''"><xsl:value-of select="@size"/></xsl:when>
|
5026
|
+
<xsl:otherwise>10</xsl:otherwise>
|
5027
|
+
</xsl:choose>
|
5028
|
+
</xsl:variable>
|
5029
|
+
<xsl:call-template name="repeat">
|
5030
|
+
<xsl:with-param name="char" select="'_'"/>
|
5031
|
+
<xsl:with-param name="count" select="$count"/>
|
5032
|
+
</xsl:call-template>
|
5033
|
+
<xsl:text> </xsl:text>
|
5034
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'button']">
|
5035
|
+
<xsl:variable name="caption">
|
5036
|
+
<xsl:choose>
|
5037
|
+
<xsl:when test="normalize-space(@value) != ''"><xsl:value-of select="@value"/></xsl:when>
|
5038
|
+
<xsl:otherwise>BUTTON</xsl:otherwise>
|
5039
|
+
</xsl:choose>
|
5040
|
+
</xsl:variable>
|
5041
|
+
<fo:inline>[<xsl:value-of select="$caption"/>]</fo:inline>
|
5042
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'checkbox']">
|
5043
|
+
<fo:inline padding-right="1mm">
|
5044
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5045
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5046
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5047
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5048
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5049
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5050
|
+
<polyline points="0,0 80,0 80,80 0,80 0,0" stroke="black" stroke-width="5" fill="white"/>
|
5051
|
+
</svg>
|
5052
|
+
</fo:instream-foreign-object>
|
5053
|
+
</fo:inline>
|
5054
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'radio']">
|
5055
|
+
<fo:inline padding-right="1mm">
|
5056
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5057
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5058
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5059
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5060
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5061
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5062
|
+
<circle cx="40" cy="40" r="30" stroke="black" stroke-width="5" fill="white"/>
|
5063
|
+
<circle cx="40" cy="40" r="15" stroke="black" stroke-width="5" fill="white"/>
|
5064
|
+
</svg>
|
5065
|
+
</fo:instream-foreign-object>
|
5066
|
+
</fo:inline>
|
5067
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'select']">
|
5068
|
+
<fo:inline>
|
5069
|
+
<xsl:call-template name="text_input"/>
|
5070
|
+
</fo:inline>
|
5071
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'textarea']">
|
5072
|
+
<fo:block-container border="1pt solid black" width="50%">
|
5073
|
+
<fo:block> </fo:block>
|
5074
|
+
</fo:block-container>
|
5010
5075
|
</xsl:template><xsl:template name="convertDate">
|
5011
5076
|
<xsl:param name="date"/>
|
5012
5077
|
<xsl:param name="format" select="'short'"/>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-ogc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iso-639
|