This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
re: xsl stylesheet for shares table
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: re: xsl stylesheet for shares table
- From: Kevin Byrne <Kevin dot Byrne at ebeon dot com>
- Date: Wed, 4 Oct 2000 10:44:24 +0100
- Reply-To: xsl-list at mulberrytech dot com
Hi,
I am new to xsl and I seem to be receiving an error associated with the text
editor xml spy, it tells me that it is unable to reference a schema type.
I was also curious as to the set-up of my xsl, I am trying to create a
simple table with share prices, gains and losses etc... is this a correct
format? I have duly commented out the stylesheet elements I want to use for
the time being.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match="/">
<html>
<head>
<title> <!--<span class="head">-->Irish Life Brokerage : ISEQ Share Prices
<!--</span>--></title>
<!-- <link href="share_feeds.css" rel="stylesheet" type="text/css"/>
-->
<hr width="400" height="2"/></head>
<body>
<table align="center" border="0" width="400" height="" border="1">
<tr>
<td align="center"><!--<span class="p">-->Share Name<!--</span>--></td>
<td align="center"><!--<span class="p">--> Symbol<!--</span>--></td>
<td align="center"><!--<span class="p">--> Date<!--</span>--></td>
<td align="center"><!--<span class="p">--> Current<!--</span>--></td>
<td align="center"><!--<span class="p">--> Change<!--</span>--></td>
<td align="center"><!--<span class="p">--> Previous<!--</span>--></td>
<td align="center"><!--<span class="p">--> Year High<!--</span>--></td>
<td align="center"><!--<span class="p">--> Year Low<!--</span>--></td>
</tr>
<!--<span class="p">--><xsl:apply-templates select="share"/><!--</span>-->
<tr>
<td align="center"><!--<span class="p">--> <value-of select="symbol"/>
<!--</span>--></td>
<td align="center"><!--<span class="p">--> <value-of select="date"/>
<!--</span>--></td>
<td align="center"><!--<span class="p">--> <value-of select="current"/>
<!--</span>--></td>
<td align="center"><!--<span class="p">--> <value-of select="change"/>
<!--</span>--></td>
<td align="center"><!--<span class="p">--> <value-of select="previous"/>
<!--</span>--></td>
<td align="center"><!--<span class="p">--> <value-of select="year_high"/>
<!--</span>--></td>
<td align="center"><!--<span class="p">--> <value-of select="year_low"/>
<!--</span>--></td>
</tr>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Thanxs,
K.Byrne
***********************************************************************
Private, confidential and privileged. This email and any attachments transmitted with it
are confidential and/or privileged. They are intended for the sole use of the intended
recipient. The content of this email and any file or attachment transmitted with it may
have been changed or altered without the consent of the author. If you are not the
intended recipient, please note that any review, dissemination, disclosure, alteration,
printing, circulation or transmission of this email and/or any file or attachment transmitted
with it, is prohibited and may be unlawful. If you have received this email or any attachment
transmitted with it in error, please notify postmaster@ebeon.com
************************************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list