home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _2270CA8C0CD74ED394ACC616873D10BF < prev    next >
Encoding:
Extensible Markup Language  |  2003-01-15  |  8.4 KB  |  362 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3.     <xsl:template match="/">
  4.         <html>
  5.             <head/>
  6.             <body>
  7.                 <div style="margin:3mm">
  8.                     <xsl:apply-templates/>
  9.                 </div>
  10.             </body>
  11.         </html>
  12.     </xsl:template>
  13.     <xsl:template match="ab">
  14.         <div>
  15.             <xsl:apply-templates/>
  16.         </div>
  17.     </xsl:template>
  18.     <xsl:template match="addSpan">
  19.         <div>
  20.             <span style="font-style:italic">
  21.                 <xsl:apply-templates/>
  22.             </span>
  23.         </div>
  24.     </xsl:template>
  25.     <xsl:template match="addrLine">
  26.         <div>
  27.             <xsl:apply-templates/>
  28.         </div>
  29.     </xsl:template>
  30.     <xsl:template match="address">
  31.         <br/>
  32.         <xsl:for-each select="name">
  33.             <xsl:apply-templates/>
  34.             <br/>
  35.         </xsl:for-each>
  36.         <xsl:for-each select="street">
  37.             <xsl:apply-templates/>
  38.             <br/>
  39.         </xsl:for-each>
  40.         <xsl:for-each select="addrLine">
  41.             <xsl:apply-templates/>
  42.             <br/>
  43.         </xsl:for-each>
  44.         <xsl:for-each select="postBox">
  45.             <xsl:apply-templates/>
  46.             <br/>
  47.         </xsl:for-each>
  48.         <xsl:for-each select="postCode">
  49.             <xsl:apply-templates/>
  50.             <br/>
  51.         </xsl:for-each>
  52.     </xsl:template>
  53.     <xsl:template match="argument">
  54.         <p>
  55.             <span style="font-style:italic">
  56.                 <xsl:apply-templates/>
  57.             </span>
  58.         </p>
  59.     </xsl:template>
  60.     <xsl:template match="att">
  61.         <span style="font-family:Courier">
  62.             <xsl:apply-templates/>
  63.         </span>
  64.     </xsl:template>
  65.     <xsl:template match="author">
  66.         <xsl:apply-templates/>
  67.         <br/>
  68.     </xsl:template>
  69.     <xsl:template match="availability">
  70.         <p>
  71.             <xsl:apply-templates/>
  72.         </p>
  73.     </xsl:template>
  74.     <xsl:template match="byline">
  75.         <div style="margin-right:5cm" align="center">
  76.             <xsl:apply-templates/>
  77.         </div>
  78.     </xsl:template>
  79.     <xsl:template match="camera">
  80.         <span style="font-style:italic">
  81.             <xsl:apply-templates/>
  82.         </span>
  83.     </xsl:template>
  84.     <xsl:template match="cit">
  85.         <span style="font-style:italic">"</span>
  86.         <span style="font-style:italic">
  87.             <xsl:apply-templates/>
  88.         </span>
  89.         <span style="font-style:italic">"</span>
  90.     </xsl:template>
  91.     <xsl:template match="dateline">
  92.         <br/>
  93.         <xsl:apply-templates/>
  94.         <br/>
  95.     </xsl:template>
  96.     <xsl:template match="delSpan">
  97.         <xsl:apply-templates/>
  98.     </xsl:template>
  99.     <xsl:template match="distinct">
  100.         <span style="font-style:normal; font-weight:lighter; letter-spacing:1px">
  101.             <xsl:apply-templates/>
  102.         </span>
  103.     </xsl:template>
  104.     <xsl:template match="div">
  105.         <div>
  106.             <xsl:apply-templates/>
  107.         </div>
  108.     </xsl:template>
  109.     <xsl:template match="div0">
  110.         <div>
  111.             <xsl:apply-templates/>
  112.         </div>
  113.     </xsl:template>
  114.     <xsl:template match="div1">
  115.         <div>
  116.             <xsl:apply-templates/>
  117.         </div>
  118.     </xsl:template>
  119.     <xsl:template match="div2">
  120.         <xsl:apply-templates/>
  121.     </xsl:template>
  122.     <xsl:template match="div3">
  123.         <div>
  124.             <xsl:apply-templates/>
  125.         </div>
  126.     </xsl:template>
  127.     <xsl:template match="div4">
  128.         <div>
  129.             <xsl:apply-templates/>
  130.         </div>
  131.     </xsl:template>
  132.     <xsl:template match="div5">
  133.         <div>
  134.             <xsl:apply-templates/>
  135.         </div>
  136.     </xsl:template>
  137.     <xsl:template match="div6">
  138.         <div>
  139.             <xsl:apply-templates/>
  140.         </div>
  141.     </xsl:template>
  142.     <xsl:template match="div7">
  143.         <div>
  144.             <xsl:apply-templates/>
  145.         </div>
  146.     </xsl:template>
  147.     <xsl:template match="divGen">
  148.         <br/>
  149.         <span style="background-color:silver">Generated Div Here: </span>
  150.         <xsl:for-each select="@type">
  151.             <span style="background-color:silver">
  152.                 <xsl:value-of select="."/>
  153.             </span>
  154.         </xsl:for-each>
  155.         <br/>
  156.     </xsl:template>
  157.     <xsl:template match="docTitle">
  158.         <span style="font-size:large; font-weight:bold">
  159.             <xsl:apply-templates/>
  160.         </span>
  161.         <br/>
  162.     </xsl:template>
  163.     <xsl:template match="editionStmt">
  164.         <div>
  165.             <xsl:apply-templates/>
  166.         </div>
  167.     </xsl:template>
  168.     <xsl:template match="emph">
  169.         <span style="font-weight:bold">
  170.             <xsl:apply-templates/>
  171.         </span>
  172.     </xsl:template>
  173.     <xsl:template match="encodingDesc">
  174.         <div style="margin-bottom:3mm; margin-left:3cm; margin-right:3cm; margin-top:3mm">
  175.             <span style="font-family:@Arial Unicode MS">
  176.                 <xsl:apply-templates/>
  177.             </span>
  178.         </div>
  179.     </xsl:template>
  180.     <xsl:template match="epigraph">
  181.         <div align="center">
  182.             <span style="font-style:italic">
  183.                 <xsl:apply-templates/>
  184.             </span>
  185.         </div>
  186.     </xsl:template>
  187.     <xsl:template match="figure">
  188.         <br/>
  189.         <xsl:for-each select="@entity">
  190.             <img border="0">
  191.                 <xsl:attribute name="src"><xsl:value-of select="." /></xsl:attribute>
  192.             </img>
  193.         </xsl:for-each>
  194.         <br/>
  195.         <div style="margin-left:1cm">
  196.             <xsl:apply-templates/>
  197.         </div>
  198.     </xsl:template>
  199.     <xsl:template match="foreign">
  200.         <span style="font-style:italic">
  201.             <xsl:apply-templates/>
  202.         </span>
  203.     </xsl:template>
  204.     <xsl:template match="gap">
  205.         <br/>
  206.         <span style="font-style:italic">(ommited material)</span>
  207.         <br/>
  208.     </xsl:template>
  209.     <xsl:template match="head">
  210.         <span style="font-size:medium; font-weight:normal">
  211.             <xsl:apply-templates/>
  212.         </span>
  213.         <br/>
  214.     </xsl:template>
  215.     <xsl:template match="hi">
  216.         <span style="background-color:#FFFF84">
  217.             <xsl:apply-templates/>
  218.         </span>
  219.     </xsl:template>
  220.     <xsl:template match="item">
  221.         <ul style="margin-bottom:0; margin-top:0; marginBottom:0; marginTop:0">
  222.             <li>
  223.                 <xsl:apply-templates/>
  224.             </li>
  225.         </ul>
  226.     </xsl:template>
  227.     <xsl:template match="l">
  228.         <xsl:apply-templates/>
  229.         <br/>
  230.     </xsl:template>
  231.     <xsl:template match="label">
  232.         <span style="font-weight:bold">
  233.             <xsl:apply-templates/>
  234.         </span>
  235.         <br/>
  236.     </xsl:template>
  237.     <xsl:template match="lb">
  238.         <br/>
  239.     </xsl:template>
  240.     <xsl:template match="move">
  241.         <span style="font-style:italic">
  242.             <xsl:apply-templates/>
  243.         </span>
  244.     </xsl:template>
  245.     <xsl:template match="note">NOTE : [<br/>
  246.         <xsl:apply-templates/>
  247.         <br/>]</xsl:template>
  248.     <xsl:template match="p">
  249.         <p>
  250.             <xsl:apply-templates/>
  251.         </p>
  252.     </xsl:template>
  253.     <xsl:template match="ptr">
  254.         <a>
  255.             <xsl:attribute name="href"><xsl:value-of select="@target" /></xsl:attribute>
  256.             <xsl:apply-templates/>
  257.         </a>
  258.     </xsl:template>
  259.     <xsl:template match="publicationStmt">
  260.         <div>
  261.             <xsl:apply-templates/>
  262.         </div>
  263.     </xsl:template>
  264.     <xsl:template match="q">"<xsl:apply-templates/>"</xsl:template>
  265.     <xsl:template match="quote">'<xsl:apply-templates/>'</xsl:template>
  266.     <xsl:template match="ref">
  267.         <a>
  268.             <xsl:attribute name="href"><xsl:value-of select="@target" /></xsl:attribute>
  269.             <xsl:apply-templates/>
  270.         </a>
  271.     </xsl:template>
  272.     <xsl:template match="signed">Signed: <xsl:apply-templates/>
  273.     </xsl:template>
  274.     <xsl:template match="soCalled">
  275.         <span style="font-weight:bold">"</span>
  276.         <span style="font-weight:bold">
  277.             <xsl:apply-templates/>
  278.         </span>
  279.         <span style="font-weight:bold">"</span>
  280.     </xsl:template>
  281.     <xsl:template match="sound">
  282.         <span style="font-style:italic">
  283.             <xsl:apply-templates/>
  284.         </span>
  285.     </xsl:template>
  286.     <xsl:template match="sourceDesc">
  287.         <div>
  288.             <xsl:apply-templates/>
  289.         </div>
  290.     </xsl:template>
  291.     <xsl:template match="sp">
  292.         <div>
  293.             <xsl:apply-templates/>
  294.         </div>
  295.     </xsl:template>
  296.     <xsl:template match="tech">
  297.         <span style="font-style:italic">
  298.             <xsl:apply-templates/>
  299.         </span>
  300.     </xsl:template>
  301.     <xsl:template match="teiHeader">
  302.         <table bgcolor="#F0EEF0" width="100%">
  303.             <tbody>
  304.                 <tr>
  305.                     <td style="margin:2cm">
  306.                         <span style="font-weight:bold">Header Information:</span>
  307.                         <div style="margin:2cm">
  308.                             <xsl:apply-templates/>
  309.                         </div>
  310.                     </td>
  311.                 </tr>
  312.             </tbody>
  313.         </table>
  314.     </xsl:template>
  315.     <xsl:template match="term">
  316.         <span style="font-style:italic">
  317.             <xsl:apply-templates/>
  318.         </span>
  319.     </xsl:template>
  320.     <xsl:template match="title">
  321.         <span style="font-size:large">
  322.             <xsl:apply-templates/>
  323.         </span>
  324.         <br/>
  325.     </xsl:template>
  326.     <xsl:template match="titlePage">
  327.         <table width="100%">
  328.             <tbody>
  329.                 <tr>
  330.                     <td style="border-bottom-color:black; border-bottom-style:solid; border-bottom-width:thin">   </td>
  331.                 </tr>
  332.             </tbody>
  333.         </table>
  334.         <p>
  335.             <xsl:apply-templates/>
  336.         </p>
  337.         <br/>
  338.         <table width="100%">
  339.             <tbody>
  340.                 <tr>
  341.                     <td style="border-top-color:black; border-top-style:solid; border-top-width:thin">  </td>
  342.                 </tr>
  343.             </tbody>
  344.         </table>
  345.     </xsl:template>
  346.     <xsl:template match="titlePart">
  347.         <div>
  348.             <xsl:apply-templates/>
  349.         </div>
  350.     </xsl:template>
  351.     <xsl:template match="titleStmt">
  352.         <div>
  353.             <xsl:apply-templates/>
  354.         </div>
  355.     </xsl:template>
  356.     <xsl:template match="view">
  357.         <span style="font-style:italic">
  358.             <xsl:apply-templates/>
  359.         </span>
  360.     </xsl:template>
  361. </xsl:stylesheet>
  362.