dita-textonly.xsl 935 B

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