xml-d.xsl 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5. version="2.0">
  6. <xsl:template match="*[contains(@class, ' xml-d/xmlelement ')]">
  7. {\f5 &lt;<xsl:apply-templates/>&gt;}
  8. </xsl:template>
  9. <xsl:template match="*[contains(@class, ' xml-d/xmlatt ')]">
  10. {\f5 @<xsl:apply-templates/>}
  11. </xsl:template>
  12. <xsl:template match="*[contains(@class, ' xml-d/textentity ')]">
  13. {\f5 &amp;<xsl:apply-templates/>;}
  14. </xsl:template>
  15. <xsl:template match="*[contains(@class, ' xml-d/parameterentity ')]">
  16. {\f5 %<xsl:apply-templates/>;}
  17. </xsl:template>
  18. <xsl:template match="*[contains(@class, ' xml-d/numcharref ')]">
  19. {\f5 &amp;#<xsl:apply-templates/>;}
  20. </xsl:template>
  21. <xsl:template match="*[contains(@class, ' xml-d/xmlnsname ')]">
  22. {\f5 <xsl:apply-templates/>}
  23. </xsl:template>
  24. <xsl:template match="*[contains(@class, ' xml-d/xmlpi ')]">
  25. {\f5 <xsl:apply-templates/>
  26. </xsl:template>
  27. </xsl:stylesheet>