home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _4E8D585381EC4A95AB644EB8953D3715 < prev    next >
Encoding:
Extensible Markup Language  |  2002-08-26  |  1.8 KB  |  52 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 <citation></doc:title>
  8.     <doc:filename>citation.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 formatting <citation> and its children
  16.     </doc:description>
  17. </doc:summary>
  18.                 
  19. <!--
  20. ************************************************************
  21. * John Dunning: 2001-01-26:                                *
  22. *  Component file for citations                            *
  23. ************************************************************
  24. -->
  25.  
  26.     <xsl:template match="citation">
  27.         <xsl:apply-templates />
  28.     </xsl:template>
  29.  
  30.     <xsl:template match="cited-patent-literature">
  31.         <div>
  32.         <xsl:text> </xsl:text>
  33.             <xsl:apply-templates />
  34.         </div>
  35.     </xsl:template>
  36.  
  37.     <xsl:template match="cited-non-patent-literature | classification-ipc-edition | ipc | uspc-freeform">
  38.         <xsl:choose>
  39.             <xsl:when test="//specification">
  40.                 <b>    <xsl:apply-templates />    </b>
  41.             </xsl:when>
  42.             <xsl:when test="//patent-application-publication">
  43.                 <xsl:apply-templates />
  44.             </xsl:when>
  45.         </xsl:choose>
  46.     </xsl:template>
  47.  
  48.     <xsl:template match="relevant-section">
  49.         <b> <xsl:apply-templates />    </b>
  50.     </xsl:template>
  51.  
  52. </xsl:stylesheet>