home *** CD-ROM | disk | FTP | other *** search
/ Encyclopaedia Britannica …oncise Encyclopedia 2007 / bcd_concise07.iso / data / jars / oec2-lib.jar / xsl / shared / AuthorInfo.xsl < prev    next >
Encoding:
Extensible Markup Language  |  2006-08-25  |  1.3 KB  |  50 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <xsl:stylesheet
  4.     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.     xmlns:html="http://www.w3.org/TR/html4/loose.dtd"
  6.     exclude-result-prefixes="html"
  7.     version="1.0">
  8.  
  9.   <xsl:import href="ContentTags.xsl"/>
  10.   <xsl:import href="Variables.xsl"/>
  11.  
  12.   <xsl:template match="inits">
  13.  
  14.     <!-- put 1.5 fix here -->
  15.  
  16.     <!-- h3>(<xsl:apply-templates/>)</h3 -->
  17.   </xsl:template>
  18.  
  19.   <xsl:template match="name">
  20.     <h2><xsl:apply-templates/></h2>
  21.   </xsl:template>
  22.  
  23.   <xsl:template match="desig">
  24.     <xsl:value-of select="."/><xsl:text> </xsl:text>
  25.   </xsl:template>
  26.                                                                                 
  27.   <xsl:template match="firstnm">
  28.     <xsl:value-of select="."/>
  29.   </xsl:template>
  30.  
  31.   <xsl:template match="lastnm">
  32.     <xsl:text> </xsl:text><xsl:value-of select="."/>
  33.   </xsl:template>
  34.  
  35.   <xsl:template match="contriblist">
  36.  
  37.     <!-- put 1.5 fix here too -->
  38.  
  39.     <h3>Articles contributed</h3>
  40.     <xsl:for-each select="xreftitle">
  41.       <a>
  42.         <xsl:attribute name="href"><xsl:value-of select="$articleURL"/>?articleId=<xsl:value-of select="@artcl_id"/>&tocId=<xsl:value-of select="@tocid"/></xsl:attribute>
  43.       <xsl:apply-templates/>
  44.       </a>
  45.       <br/>
  46.     </xsl:for-each>
  47.   </xsl:template>
  48.  
  49. </xsl:stylesheet>
  50.