dita2odtmanifest.xsl 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- This file is part of the DITA Open Toolkit project.
  3. See the accompanying license.txt file for applicable licenses. -->
  4. <!-- (c) Copyright IBM Corp. 2005, 2006 All Rights Reserved. -->
  5. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  6. xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"
  7. version="2.0">
  8. <xsl:output method="xml"/>
  9. <xsl:output indent="yes"/>
  10. <xsl:strip-space elements="*"/>
  11. <!-- Deprecated since 2.3 -->
  12. <xsl:variable name="msgprefix">DOTX</xsl:variable>
  13. <xsl:template match="/">
  14. <manifest:manifest>
  15. <xsl:call-template name="root"/>
  16. </manifest:manifest>
  17. </xsl:template>
  18. <xsl:template name="root">
  19. <!--xsl:call-template name="gen-list-table"/-->
  20. <manifest:file-entry manifest:media-type="application/vnd.oasis.opendocument.text" manifest:full-path="/"/>
  21. <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="content.xml"/>
  22. <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="styles.xml"/>
  23. </xsl:template>
  24. </xsl:stylesheet>