home *** CD-ROM | disk | FTP | other *** search
/ Encyclopaedia Britannica …oncise Encyclopedia 2007 / bcd_concise07.iso / data / jars / oec2-lib.jar / xsl / shared / TesterAuthorInfo.xsl < prev    next >
Encoding:
Extensible Markup Language  |  2006-08-25  |  1.1 KB  |  46 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="firstnm">
  24.     <xsl:value-of select="."/>
  25.   </xsl:template>
  26.  
  27.   <xsl:template match="lastnm">
  28.     <xsl:text> </xsl:text><xsl:value-of select="."/>
  29.   </xsl:template>
  30.  
  31.   <xsl:template match="contriblist">
  32.  
  33.     <!-- put 1.5 fix here too -->
  34.  
  35.     <h3>Articles contributed</h3>
  36.     <xsl:for-each select="xreftitle">
  37.       <a>
  38.         <xsl:attribute name="href">test?articleId=<xsl:value-of select="@artcl_id"/>&tocId=<xsl:value-of select="@tocid"/></xsl:attribute>
  39.       <xsl:apply-templates/>
  40.       </a>
  41.       <br/>
  42.     </xsl:for-each>
  43.   </xsl:template>
  44.  
  45. </xsl:stylesheet>
  46.