dita-textonly.xsl 859 B

123456789101112131415161718192021222324252627
  1. <?xml version="1.0"?>
  2. <!--
  3. This file is part of the DITA Open Toolkit project.
  4. Copyright 2010 IBM Corporation
  5. See the accompanying LICENSE file for applicable license.
  6. -->
  7. <!-- This file is imported in to common code for use by any
  8. process that needs a text-only version of DITA content.
  9. Typically used when content needs to go into an attribute;
  10. preferred over using "value-of", which drops images,
  11. includes index terms, etc.
  12. To use, process any content with mode="dita-ot:text-only" -->
  13. <xsl:stylesheet version="2.0"
  14. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  15. xmlns:dita-ot="http://dita-ot.sourceforge.net/ns/201007/dita-ot"
  16. exclude-result-prefixes="dita-ot"
  17. >
  18. <xsl:import href="topic2textonly.xsl"/>
  19. <xsl:import href="map2textonly.xsl"/>
  20. <xsl:import href="ui-d2textonly.xsl"/>
  21. </xsl:stylesheet>