home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 Autumn / INTERNET109.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _EF0A4901137643B89434CFDC8C250F41 < prev    next >
Encoding:
Extensible Markup Language  |  2002-08-26  |  2.5 KB  |  74 lines

  1. <xsl:stylesheet version="1.0" 
  2.                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  3.                 xmlns:doc="urn:schemas-uspto-gov:document"
  4.                 exclude-result-prefixes="doc">
  5.  
  6. <doc:summary doc:public="yes" >
  7.     <doc:title>Component stylesheet for inventor-block and inventors</doc:title>
  8.     <doc:filename>inventor-block.xsl</doc:filename>
  9.     <doc:version>1.0</doc:version>
  10.     <doc:doctype>numerous</doc:doctype>
  11.     <doc:doctype-date>N/A</doc:doctype-date>
  12.     <doc:dateCreated>2001-01-26</doc:dateCreated>
  13.     <doc:lastModified>2001-02-16</doc:lastModified>
  14.     <doc:description>
  15.         Template rules for <inventor-block> and <inventors>.
  16.     </doc:description>
  17. </doc:summary>
  18.  
  19.  
  20. <!--
  21. *****************************************************************
  22. *  John Dunning: 2001-01-29:                                    *
  23. *  Component file for inventors/inventor block                  *
  24. *****************************************************************
  25. -->
  26.  
  27. <xsl:template match="inventor-block | inventors">
  28.     <br/>
  29.     <table width="80%" border="0">
  30.     <xsl:choose>
  31.         <xsl:when test="count(.//inventor) > 1">
  32.             <th align="left" class="table_data">INVENTORS: </th>
  33.         </xsl:when>
  34.         <xsl:otherwise>
  35.             <th align="left" class="table_data">INVENTOR: </th>
  36.         </xsl:otherwise>
  37.     </xsl:choose>
  38.     <tr/>
  39.  
  40.     <xsl:if test="first-named-inventor/authority-applicant">
  41.         <tr><td class="table_data">Authority Applicant:</td>
  42.             <td class="table_data">
  43.                 <xsl:value-of select="first-named-inventor/authority-applicant" />
  44.             </td>
  45.         </tr>
  46.     </xsl:if>
  47.     
  48.     <xsl:for-each select="inventor">
  49.         <xsl:if test="authority-applicant">
  50.             <tr><td class="table_data">Authority Applicant:</td>
  51.                 <td class="table_data">
  52.                     <xsl:value-of select="authority-applicant" />
  53.                 </td>
  54.             </tr>
  55.         </xsl:if>
  56.         <tr><td> </td></tr>
  57.         <tr><td/></tr>
  58.         <tr><td/></tr>
  59.         <tr><td/></tr>
  60.     </xsl:for-each>
  61.         <tr/>
  62.         <xsl:if test="authority-applicant">
  63.             <tr>
  64.                 <td/>
  65.                 <td class="table_data">
  66.                     <xsl:value-of select="authority-applicant" />
  67.                 </td>
  68.             </tr>
  69.         </xsl:if>
  70.     <tr/>
  71.     <tr/>
  72.     </table>
  73. </xsl:template>
  74. </xsl:stylesheet>