map-conref.xsl 601 B

123456789101112131415161718
  1. <?xml version="1.0" encoding="UTF-8"?><!--
  2. This file is part of the DITA Open Toolkit project.
  3. Copyright 2017 Jarno Elovirta
  4. See the accompanying LICENSE file for applicable license.
  5. --><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
  6. <xsl:import href="conrefImpl.xsl"/>
  7. <xsl:output xmlns:dita="http://dita-ot.sourceforge.net" method="xml" encoding="utf-8" indent="no"/>
  8. <xsl:template match="*[@conref and contains(@class, ' topic/')]">
  9. <xsl:copy>
  10. <xsl:apply-templates select="@* | node()"/>
  11. </xsl:copy>
  12. </xsl:template>
  13. </xsl:stylesheet>