home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _0092E4751D254BEFAA4E59AFA5CA07EE < prev    next >
Encoding:
Extensible Markup Language  |  2002-08-26  |  2.3 KB  |  77 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 residence</doc:title>
  8.     <doc:filename>residence.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 <residence> and its children.
  16.     </doc:description>
  17. </doc:summary>
  18.  
  19.  
  20. <!--
  21. *****************************************************************
  22. *  John Dunning: 2001-01-29:                                    *
  23. *  Component file for residence                                 *
  24. *****************************************************************
  25. -->
  26.                 
  27. <xsl:template match="residence">
  28.     <table width="60%" border="0">
  29.         <xsl:apply-templates />
  30.     </table>
  31. </xsl:template>
  32.  
  33. <xsl:template match="residence-us | residence-non-us">
  34.     <xsl:apply-templates />
  35. </xsl:template>
  36.  
  37. <xsl:template match="residence//city">
  38.     <tr><td class="table_data">Residence City:</td>
  39.         <td class="table_data">
  40.             <xsl:apply-templates />
  41.         </td>
  42.     </tr>
  43. </xsl:template>
  44.  
  45. <xsl:template match="residence//state">
  46.     <tr><td class="table_data">Residence State:</td>
  47.         <td class="table_data">
  48.             <xsl:apply-templates />
  49.         </td>
  50.     </tr>
  51. </xsl:template>
  52.  
  53. <xsl:template match="residence//country-code">
  54.     <tr><td class="table_data">Residence Country:</td>
  55.         <td class="table_data">
  56.             <xsl:value-of select="."/>
  57.         </td>
  58.     </tr>
  59. </xsl:template>
  60.  
  61. <xsl:template match="residence//military-service">
  62.     <tr><td class="table_data">Military Service:</td>
  63.         <td class="table_data">
  64.             <xsl:apply-templates />
  65.         </td>
  66.     </tr>
  67. </xsl:template>
  68.  
  69. <xsl:template match="residence//citizenship">
  70.     <tr><td class="table_data">Citizenship:</td>
  71.         <td class="table_data">
  72.             <xsl:apply-templates />
  73.         </td>
  74.     </tr>
  75. </xsl:template>
  76.  
  77. </xsl:stylesheet>