home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _64B97A78259B4DA5964609DD0B7CF54E < prev    next >
Encoding:
Extensible Markup Language  |  2002-09-04  |  1.7 KB  |  54 lines

  1. <?xml version='1.0'?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3.                 version='1.0'>
  4.  
  5. <!-- ********************************************************************
  6.      $Id: info.xsl,v 1.1.2.1 2002/09/04 13:50:35 jdj Exp $
  7.      ********************************************************************
  8.  
  9.      This file is part of the XSL DocBook Stylesheet distribution.
  10.      See ../README or http://nwalsh.com/docbook/xsl/ for copyright
  11.      and other information.
  12.  
  13.      ******************************************************************** -->
  14.  
  15. <!-- These templates define the "default behavior" for info
  16.      elements.  Even if you don't process the *info wrappers,
  17.      some of these elements are needed because the elements are
  18.      processed from named templates that are called with modes.
  19.      Since modes aren't sticky, these rules apply. 
  20.      (TODO: clarify this comment) -->
  21.  
  22. <!-- ==================================================================== -->
  23. <!-- called from named templates in a given mode -->
  24.  
  25. <xsl:template match="corpauthor">
  26.   <span class="{name(.)}">
  27.     <xsl:apply-templates/>
  28.   </span>
  29. </xsl:template>
  30.  
  31. <!-- ==================================================================== -->
  32.  
  33. <xsl:template match="jobtitle">
  34.   <span class="{name(.)}">
  35.     <xsl:apply-templates/>
  36.   </span>
  37. </xsl:template>
  38.  
  39. <xsl:template match="orgname">
  40.   <span class="{name(.)}">
  41.     <xsl:apply-templates/>
  42.   </span>
  43. </xsl:template>
  44.  
  45. <xsl:template match="orgdiv">
  46.   <span class="{name(.)}">
  47.     <xsl:apply-templates/>
  48.   </span>
  49. </xsl:template>
  50.  
  51. <!-- ==================================================================== -->
  52.  
  53. </xsl:stylesheet>
  54.