Skip to content

Commit

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

usnistgov/metaschema#225 (comment)

Co-authored-by: Wendell Piez <[email protected]>
  • Loading branch information
2 people authored and david-waltermire committed Mar 9, 2023
1 parent a9287b7 commit 52c1d1d
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 52c1d1d

Please sign in to comment.