Skip to content

Commit

Permalink
Simplify select to process all child nodes
Browse files Browse the repository at this point in the history
Signed-off-by: Jarno Elovirta <[email protected]>
  • Loading branch information
jelovirt committed Jan 26, 2024
1 parent 6058b76 commit 93b2840
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/plugins/org.dita.base/xsl/preprocess/maprefImpl.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -530,19 +530,19 @@ See the accompanying LICENSE file for applicable license.
<submap-topicmeta class="+ map/topicmeta ditaot-d/submap-topicmeta ">
<submap-title class="+ topic/navtitle ditaot-d/submap-title ">
<xsl:apply-templates select="@*" mode="preserve-submap-attributes"/>
<xsl:apply-templates select="*|processing-instruction()|text()"/>
<xsl:apply-templates/>
</submap-title>
</submap-topicmeta>
</xsl:template>
<xsl:template match="*[contains(@class,' map/topicmeta ')]" mode="preserve-submap-title-and-topicmeta">
<submap-topicmeta-container class="+ topic/foreign ditaot-d/submap-topicmeta-container ">
<xsl:apply-templates select="@*" mode="preserve-submap-attributes"/>
<xsl:apply-templates select="*|processing-instruction()|text()"/>
<xsl:apply-templates/>
</submap-topicmeta-container>
</xsl:template>
<xsl:template match="*[contains(@class,' map/topicmeta ')]" mode="preserve-mapref-topicmeta">
<mapref-topicmeta-container class="+ topic/foreign ditaot-d/mapref-topicmeta-container ">
<xsl:apply-templates select="*|processing-instruction()|text()"/>
<xsl:apply-templates/>
</mapref-topicmeta-container>
</xsl:template>

Expand Down

0 comments on commit 93b2840

Please sign in to comment.