home *** CD-ROM | disk | FTP | other *** search
/ Dynamic HTML in Action / Dynamicke-HTML-v-akci-covermount.bin / XML / XSL / DOWNLOADS / VIEWDEMO.ZIP / summary.xsl < prev    next >
Encoding:
Text File  |  1997-12-20  |  3.2 KB  |  135 lines

  1. <xsl>
  2.  
  3.     <rule>
  4.         <root/>
  5.         <DIV padding=".3in .1in .3in .3in" font-family="Arial Black" background-image="URL(swallows.jpg)">
  6.             <children/>
  7.         </DIV>
  8.     </rule>
  9.  
  10.     <rule>
  11.         <target-element type="ITEM"/>
  12.         <TABLE>
  13.             <TR>
  14.                 <TD COLSPAN="2">
  15.                     <select-elements>
  16.                         <target-element type="PREVIEW-SMALL"/>
  17.                     </select-elements>
  18.                 </TD>
  19.                 <TD padding-left="1em">
  20.                     <select-elements>
  21.                         <target-element type="TITLE"/>
  22.                     </select-elements>
  23.                     <select-elements>
  24.                         <target-element type="ARTIST"/>
  25.                     </select-elements>
  26.                 </TD>
  27.             </TR>
  28.             <TR>
  29.                 <TD>
  30.                     <select-elements>
  31.                         <target-element type="DIMENSIONS"/>
  32.                     </select-elements>
  33.                 </TD>
  34.                 <TD>
  35.                     <DIV text-align="right" color="white" font="10pt. Verdana" font-style="italic" font-weight="normal">
  36.                         <select-elements>
  37.                             <target-element type="MATERIALS"/>
  38.                         </select-elements>, <select-elements>
  39.                             <target-element type="YEAR"/>
  40.                         </select-elements>
  41.                     </DIV>
  42.                 </TD>
  43.                 <TD>
  44.                 </TD>
  45.             </TR>
  46.             <TR>
  47.                 <TD COLSPAN="2">
  48.                     <select-elements>
  49.                         <target-element type="BIDS"/>
  50.                     </select-elements>
  51.                 </TD>
  52.                 <TD        text-align="right"
  53.                         font="10pt Verdana"
  54.                         font-style="italic"
  55.                         color="yellow">
  56.                     <DIV margin-top=".5em">Copyright © 1997 Linda Mann, all rights reserved.</DIV>
  57.                     <DIV font-weight="bold">
  58.                         <a href="http://home.navisoft.com/lindamann/" target="_top">Linda Mann Art Gallery</a>
  59.                     </DIV>
  60.                 </TD>
  61.             </TR>
  62.         </TABLE>
  63.     </rule>
  64.  
  65.     <rule>
  66.         <target-element type="TITLE"/>
  67.         <DIV    margin-left="2em" text-indent="-1.5em" line-height="80%"
  68.                 font-size="18pt" color="yellow">
  69.             <children/>
  70.         </DIV>
  71.     </rule>
  72.  
  73.     <rule>
  74.         <target-element type="ARTIST"/>
  75.         <DIV    margin-left="2em" text-indent="-1.5em" line-height="80%"
  76.                 margin-top="1em" 
  77.                 font-style="italic" font-size="18pt" color="yellow">
  78.             <children/>
  79.         </DIV>
  80.     </rule>
  81.  
  82.     <rule>
  83.         <target-element type="PREVIEW-SMALL"/>
  84.         <IMG src='=getAttribute("src")'
  85.              width='=getAttribute("width")'
  86.              height='=getAttribute("height")'
  87.              alt='=getAttribute("alt")'
  88.              border="1px solid black"/>
  89.     </rule>
  90.  
  91.     <rule>
  92.         <target-element type="MATERIALS"/>
  93.         <target-element type="YEAR"/>
  94.         <children/>
  95.     </rule>
  96.     
  97.     <rule>
  98.         <target-element type="DIMENSIONS"/>
  99.         <DIV color="white" font="10pt. Verdana" font-style="italic" font-weight="normal">
  100.             Size: <children/>
  101.         </DIV>
  102.     </rule>
  103.  
  104.     <rule>
  105.         <target-element type="BID" position="first-of-type"/>
  106.         <DIV margin="2px" padding="0em .5em" background-color="orange" color="white">
  107.             High bid: <children/>
  108.         </DIV>
  109.     </rule>
  110.  
  111.     <rule>
  112.         <target-element type="BID" position="last-of-type"/>
  113.         <DIV margin="2px" padding="0em .5em" background-color="orange" color="white">
  114.             Opening bid: <select-elements><target-element type="PRICE"/></select-elements>
  115.         </DIV>
  116.     </rule>
  117.  
  118.     <rule>
  119.         <target-element type="BIDDER"/>
  120.         <SPAN color="yellow"> (<children/>)</SPAN>
  121.     </rule>
  122.  
  123.     <rule>
  124.         <target-element type="PRICE"/>
  125.         $<children/>
  126.     </rule>
  127.  
  128.     <rule>
  129.         <target-element type="BID"/>
  130.         <target-element type="TIMESTAMP"/>
  131.         <target-element type="TIME"/>
  132.         <empty/>
  133.     </rule>
  134. </xsl>
  135.