XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old November 15th, 2003, 03:29 PM
kylindra kylindra is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 kylindra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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..

Reply With Quote
  #2  
Old November 19th, 2003, 01:48 PM
teedee teedee is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 42 teedee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Code:
</xsl:spreadsheet>


That *can't* be right!

Reply With Quote
  #3  
Old November 19th, 2003, 04:58 PM
kylindra kylindra is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 kylindra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
*sweatdrop* stupid mistake #1

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > XSLT faillure


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway