home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _D2348D9D6A35474A96DBA246641C46CB < prev    next >
Encoding:
Extensible Markup Language  |  2002-08-26  |  1.7 KB  |  44 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 <correspondence-address></doc:title>
  8.     <doc:filename>correspondence-address.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 <correspondence-address>  Implicitly calls address.xsl.
  16.     </doc:description>
  17. </doc:summary>
  18. <!--
  19. *****************************************************************
  20. *  John Dunning: 2001-01-29:                                    *
  21. *  component file for correspondence-address;                   *
  22. *   uses name.xsl, address.xsl                                  *
  23. *****************************************************************
  24. -->
  25.  
  26. <xsl:template match="correspondence-address" doc:public="yes" doc:description="inserts different boilerplate text according to doctype.">
  27.     <br/>
  28.         <xsl:choose>
  29.             <xsl:when test="//bibd.transmittal">
  30.                 <b>Correspondence Address (Publish):</b>
  31.             </xsl:when>        
  32.             <xsl:when test="//patent-application-publication">
  33.                 <b>Correspondence Name and Address:</b>
  34.                 <br/>
  35.                 <xsl:apply-templates />
  36.             </xsl:when>
  37.         </xsl:choose>
  38. </xsl:template>
  39.  
  40. <xsl:template match="name-1 | name-2">
  41.         <xsl:apply-templates />
  42. </xsl:template>
  43.  
  44. </xsl:stylesheet>