img.src.path.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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="img.src.path">
  7. <refmeta>
  8. <refentrytitle>img.src.path</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>img.src.path</refname>
  13. <refpurpose>Path to HTML/FO image files</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="img.src.path.frag"><xsl:param name="img.src.path"/></src:fragment>
  17. </refsynopsisdiv>
  18. <refsection><info><title>Description</title></info>
  19. <para>Add a path prefix to the value of the <tag class="attribute">fileref</tag>
  20. attribute of <tag>graphic</tag>, <tag>inlinegraphic</tag>, and <tag>imagedata</tag> elements. The resulting
  21. compound path is used in the output as the value of the <tag class="attribute">src</tag>
  22. attribute of <tag class="element">img</tag> (HTML) or <tag class="element">external-graphic</tag> (FO).
  23. </para>
  24. <para>
  25. The path given by <literal>img.src.path</literal> could be relative to the directory where the HTML/FO
  26. files are created, or it could be an absolute URI.
  27. The default value is empty.
  28. Be sure to include a trailing slash if needed.
  29. </para>
  30. <para>This prefix is not applied to any filerefs that start
  31. with "/" or contain "//:".
  32. </para>
  33. </refsection>
  34. </refentry>