Posted on 06/07/2008 9:24:43 PM PDT by dila813
I have this style sheet out of my text book, I put it in the browser with the xml file identically to what is described in the book. Yet it doesn't work. Anyone spot what is wrong?
The error message is that this is not a style sheet and that line number 2 is wrong. I can't see how, and it matches the book.
Title | Genre | Year |
---|---|---|
HTH
First things first...are you logged in?
but your hint that there is html gives me some ideas to check. There is something wrong with this line "", I get the error message on this line. |
<table bgcolor="white" border="2">
<tr>
<th>Title</th>
<th>Genre</th>
<th>Year</th>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>>
<td>
</td>
<td>
</td>
</tr>
</table><br clear="all" />
There is only one cell in the second row. You either have to add 2 more cells or COLSPAN=3
Which application did you use to create the style steet file?
Besides the table problem, I’d imagine that they left out the code to invoke the style sheet, since there are several you can chose from. Try looking at the code from one that you know works.
Quanta
I found the answer, apparently the book I have uses an outdated version of xsl that my editor doesn’t support.
And firefox doesn’t support it either.
Thanks everyone.
When I post it to freerepublic, it strips it out, but it is there.
don’t know how to keep freerepublic from trying to ready the code.
while (true)
printf("This is an xsl stylesheet sucka!\n");
Try using this: http://www.accessify.com/tools-and-wizards/developer-tools/quick-escape/.
<img src=\"http://homepages.roadrunner.com/andyandval/danratherelection.jpg \" >
cool tip, thanks
Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.