Skip to content

Commit

Permalink
In model doc gen, do not mark recursive assemblies empty (usnistgov#234)
Browse files Browse the repository at this point in the history
See more details about analysis and PR changes below:

usnistgov#225 (comment)

Co-authored-by: Wendell Piez <[email protected]>
  • Loading branch information
aj-stein-nist and wendellpiez committed Jan 10, 2023
1 parent cc16229 commit de93dd3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions toolchains/xslt-M4/document/xml/element-map-html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,10 @@ div.OM-map p { margin: 0ex }
</details>
</xsl:template>

<xsl:template match="m:element[empty(* except (m:attribute|m:value))]">
<xsl:template match="m:element[(@recursive='true') or empty(* except (m:attribute|m:value))]">
<div class="OM-entry">
<p class="OM-line">
<!--<div class="OM-flex">-->
<xsl:call-template name="summary-line-content"/>
<!--</div>-->
</p>
</div>
</xsl:template>
Expand Down

0 comments on commit de93dd3

Please sign in to comment.