
November 15th, 2003, 03:29 PM
|
|
Junior Member
|
|
Join Date: Nov 2003
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
XSLT faillure
Error loading stylesheet: Parsing an XSLT stylesheet failed. - Mozilla error
IEdoesn't load it at all
The spreadsheet is :
Quote: <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title><xsl:value-of select="page/ptitle"/></title>
</head>
<body bgcolor="black">
<!-- As a side note here, this is for layout only, why so little infromation is stored in this file..
but you SHOULD have guessed that from the extension, ne? -->
<!-- <img src="image/sbanner.jpg" align="center" /> -->
<p>
<xsl:value-of select="page/quote"/> <xsl:text
disable-output-escaping="yes|no"> - </xsl:text> <xsl:value-of select="page/author"/>
</p>
<img src="s_header.gif" alt="header" width="777" height="33" align="right" style="position: aboslute; top: 137px;"/>
<!-- this took editing - turns out you have to be rather precise making this.. I might want to ask Evan about this lol -->
<div align="left" style="position:absolute; top: 137px;">
<table summary="sidebar">
<xsl:for-each select="page/sidebar/section">
<tr>
<td><xsi:value-of select="info"></td>
</tr>
<tr>
<td><a><xsi:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsi:value-of select="title"/></a></td>
</tr>
</xsl:for-each>
</table>
<!-- I know, weird syntax. I'm new at this, okay? -->
</div>
<div align="center" style="position:absolute; top: 137px;">
<!-- the news displays in tables. -->
<xsl:for-each select="page/newsinfo">
<table summary="newsblurb">
<tr style="background-color:#99cc33">
<td width="133">News Title: <xsi:value-of select="titleb"/> </td>
<td width="133"><xsi:value-of select="e-mail"/> </td>
<td width="133"><xsi:value-of select="dateposted"/> </td>
</tr>
<tr style="background-color: green">
<td colspan="3"><xsi:value-of select="post"/> </td>
</tr>
<tr height:"100px">
<td > Song of the Day</td>
</tr>
<tr>
<td><xsi:value-of select="artist"/> </td>
<td><xsi:value-of select="title"/> </td>
<td><xsi:value-of select="album"/> </td>
</tr>
</table>
</xsi:for-each>
</div>
<!-- DIV's and Tables galore.. I know, I know, I should display it differntly lol, but you'd have to show me
how I can.. (to be fair, this doesn't display in a table, but it does in an unordered list) -->
<div align="right" style="position:absolute; top: 137px;" >
<ul>
<xsi:for-each select="page/mecha/minfo">
<li><a><xsi:attribute name="href"><xsi:value-of select="link" /></xsi:attribute><xsi:value-of select="titlec"/></a></li>
</xsi:for-each>
</ul>
</div>
</body>
</html>
</xsl:template>
</xsl:spreadsheet> |
I've checked itand it apparenlty should be correct, but it apparently isn't..
|