Skip to content

Commit

Permalink
Neem in het report ook overzicht van doc-rules op.
Browse files Browse the repository at this point in the history
Minor. verbetering.
  • Loading branch information
arjan authored and arjan committed Nov 5, 2024
1 parent e3fe7dc commit 522196b
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions src/main/resources/xsl/ConfigCompiler/ConfigCompiler-report.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,7 @@
<div>
<h1>Conceptual schemas</h1>
<xsl:apply-templates select="." mode="metamodel-cs"/>
</div>
<div>
<h1>Documentation rules</h1>
<xsl:apply-templates select="." mode="docrules"/>
</div>
</div>
<div>
<h1>Visuals</h1>
<xsl:apply-templates select="." mode="metamodel-visuals"/>
Expand Down Expand Up @@ -320,30 +316,6 @@
</div>
</xsl:template>

<xsl:template match="/config" mode="docrules">
<div>
<h2>Documentation rules</h2>

<xsl:variable name="rows" as="element(tr)*">
<xsl:for-each select="$configuration-docrules-file//doc-rule">
<xsl:sort select="xs:integer(@order)"/>
<tr>
<td>
<xsl:sequence select="imf:show-name(.,position() != last())"/>
</td>
<td>
<xsl:value-of select="@order"/>
</td>
<td>
<xsl:sequence select="imf:get-src(name[1])"/>
</td>
</tr>
</xsl:for-each>
</xsl:variable>
<xsl:sequence select="imf:create-result-table-by-tr($rows,'label:40,order:20,config:40','table-docrules')"/>
</div>
</xsl:template>

<xsl:template match="config" mode="tree">
<ul>
<xsl:apply-templates select="includes" mode="tree"/>
Expand Down

0 comments on commit 522196b

Please sign in to comment.