html.script.type.xml 1.2 KB

12345678910111213141516171819202122232425262728293031
  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="html.script.type">
  7. <refmeta>
  8. <refentrytitle>html.script.type</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>html.script.type</refname>
  13. <refpurpose>The type of script used in the generated HTML</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="html.script.type.frag"><xsl:param name="html.script.type">text/javascript</xsl:param></src:fragment>
  17. </refsynopsisdiv>
  18. <refsection><info><title>Description</title></info>
  19. <para>The type of script to place in the HTML <tag>script</tag> element.
  20. Specifically, the value of the <tag>script</tag> element's <tag>type</tag>
  21. attribute.
  22. The default value is <literal>text/javascript</literal>.
  23. This param is used only when the stylesheet parameter
  24. <tag>html.script</tag> is non-blank and specifies the location of a script.</para>
  25. </refsection>
  26. </refentry>