home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 Autumn / INTERNET109.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _8E25521226A843AC90E3D445BEAD87B7 < prev    next >
Encoding:
Extensible Markup Language  |  2002-08-26  |  1.5 KB  |  45 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 party</doc:title>
  8.     <doc:filename>party.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 <party> and its children.  Calls templates name.xsl and address.xsl.
  16.     </doc:description>
  17. </doc:summary>
  18.  
  19. <!--
  20. **************************************************************
  21. *  John Dunning: 2001-01-29:                                 *
  22. *  Component file for party                                  *
  23. **************************************************************
  24. -->
  25.     <xsl:template match="party">
  26.     <div>
  27.         <xsl:apply-templates select="name"/>
  28.     </div>
  29.         <xsl:value-of select=".//organization-name"/>
  30.         <xsl:apply-templates select="address"/>
  31.     </xsl:template>
  32.  
  33.     <xsl:template match="citizenship">
  34.         <xsl:text> </xsl:text>
  35.         <xsl:apply-templates />
  36.     </xsl:template>
  37.  
  38.     <xsl:template match="organization-name">
  39.         <div>
  40.             <xsl:apply-templates />
  41.         </div>
  42.     </xsl:template>
  43.  
  44.  
  45. </xsl:stylesheet>