docbook.xsl 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet
  3. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  4. xmlns:d="http://docbook.org/ns/docbook"
  5. xmlns="http://www.w3.org/1999/xhtml"
  6. exclude-result-prefixes="xsl d"
  7. version="1.0">
  8. <xsl:import href="../xhtml/chunk.xsl"/>
  9. <xsl:import href="../xhtml/highlight.xsl"/>
  10. <!--
  11. Based on the normal xhtml templates, all overrides applicable to
  12. xhtml is applicable to HV1.
  13. -->
  14. <xsl:import href="hv1-common.xsl"/>
  15. <!--
  16. Choose if links should be generated using ms-xhelp (default) or
  17. the more verbose ms.help type. The latter requires product.name,
  18. product.version and product.locale to be set
  19. -->
  20. <xsl:param name="use.mshelp.links" select="0"/>
  21. <!--
  22. Name of target product. If specified then each page is
  23. marked with this product. This is usualy set during
  24. install time.
  25. -->
  26. <xsl:param name="product.name" select="''" />
  27. <!--
  28. Name of target version. If specified then each page is
  29. marked with this version. This is usualy set during
  30. install time.
  31. -->
  32. <xsl:param name="product.version" select="''" />
  33. <!--
  34. Locale for the help. Should always be set
  35. -->
  36. <xsl:param name="product.locale" select="'en-US'" />
  37. <!--
  38. Self branding. Gives access for chunks to load
  39. it's own branding package during runtime
  40. -->
  41. <xsl:param name="topic.selfbrand" select="1"/>
  42. <!-- Use doctitle for olinks -->
  43. <xsl:param name="olink.doctitle" select="'yes'" />
  44. <!-- Enable source code highlighting-->
  45. <xsl:param name="highlight.source" select="1"/>
  46. </xsl:stylesheet>