refentry.date.profile.enabled.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <refentry xmlns="http://docbook.org/ns/docbook"
  2. xmlns:xlink="http://www.w3.org/1999/xlink"
  3. xmlns:xi="http://www.w3.org/2001/XInclude"
  4. xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
  5. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  6. version="5.0" xml:id="refentry.date.profile.enabled">
  7. <refmeta>
  8. <refentrytitle>refentry.date.profile.enabled</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>refentry.date.profile.enabled</refname>
  13. <refpurpose>Enable refentry "date" profiling?</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="refentry.date.profile.enabled.frag">
  17. <xsl:param name="refentry.date.profile.enabled">0</xsl:param></src:fragment>
  18. </refsynopsisdiv>
  19. <refsection><info><title>Description</title></info>
  20. <para>If the value of
  21. <parameter>refentry.date.profile.enabled</parameter> is non-zero, then
  22. during <tag>refentry</tag> metadata gathering, the info profile
  23. specified by the customizable
  24. <parameter>refentry.date.profile</parameter> parameter is used.</para>
  25. <para>If instead the value of
  26. <parameter>refentry.date.profile.enabled</parameter> is zero (the
  27. default), then "hard coded" logic within the DocBook XSL stylesheets
  28. is used for gathering <tag>refentry</tag> "date" data.</para>
  29. <para>If you find that the default <tag>refentry</tag>
  30. metadata-gathering behavior is causing incorrect "date" data to show
  31. up in your output, then consider setting a non-zero value for
  32. <parameter>refentry.date.profile.enabled</parameter> and adjusting the
  33. value of <parameter>refentry.date.profile</parameter> to cause correct
  34. data to be gathered. </para>
  35. <para>Note that the terms "source" and "date" have special meanings in
  36. this context. For details, see the documentation for the
  37. <parameter>refentry.date.profile</parameter> parameter.</para>
  38. </refsection>
  39. </refentry>