info.xsl 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="ASCII"?>
  2. <!--This file was created automatically by html2xhtml-->
  3. <!--from the HTML stylesheets.-->
  4. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
  5. <!-- ********************************************************************
  6. $Id: info.xsl 9297 2012-04-22 03:56:16Z bobstayton $
  7. ********************************************************************
  8. This file is part of the XSL DocBook Stylesheet distribution.
  9. See ../README or http://docbook.sf.net/release/xsl/current/ for
  10. copyright and other information.
  11. ******************************************************************** -->
  12. <!-- These templates define the "default behavior" for info
  13. elements. Even if you don't process the *info wrappers,
  14. some of these elements are needed because the elements are
  15. processed from named templates that are called with modes.
  16. Since modes aren't sticky, these rules apply.
  17. (TODO: clarify this comment) -->
  18. <!-- ==================================================================== -->
  19. <!-- called from named templates in a given mode -->
  20. <xsl:template match="corpauthor">
  21. <span>
  22. <xsl:apply-templates select="." mode="common.html.attributes"/>
  23. <xsl:call-template name="id.attribute"/>
  24. <xsl:apply-templates/>
  25. </span>
  26. </xsl:template>
  27. <!-- ==================================================================== -->
  28. <xsl:template match="jobtitle">
  29. <span>
  30. <xsl:apply-templates select="." mode="common.html.attributes"/>
  31. <xsl:call-template name="id.attribute"/>
  32. <xsl:apply-templates/>
  33. </span>
  34. </xsl:template>
  35. <!-- ==================================================================== -->
  36. </xsl:stylesheet>