Hello,
I'm sorry if this is such a vague and unlearned question, but I don't understand xml/rss feeds at all. I am trying to display the rss feed located HERE on my website in html, looking similar to THIS.
I've searched around the web and have been unable to come across any well written tutorials or guides that help me completely. So far, I have written basic XSLT code to use with the XML file:
I am at a loss as to what to do now. How do I "link" my XSLT code to the XML file? (Note: The XML file is a remote file and I do not have access to edit it). I want the data to be displayed in normal HTML for usage on my website (probably through an iframe or whatever i can conjur up). I've heard from others that I must use java to do this, could someone point me in the right direction of a Java file/tutorial/whatever?
Thanks in advance for the help,
-NiVRaM
(I often find live chat easier and quicker than forums, so if you are availible to help me, you can reach me at AIM- FaSTBaLL1459 or MSN- marvinslayer@hotmail.com)
I'm sorry if this is such a vague and unlearned question, but I don't understand xml/rss feeds at all. I am trying to display the rss feed located HERE on my website in html, looking similar to THIS.
I've searched around the web and have been unable to come across any well written tutorials or guides that help me completely. So far, I have written basic XSLT code to use with the XML file:
Code:
<?xml version="1.0"?>
<!-- XML Headers -->
<xsl:stylesheet xmlns:xsl="[URL unfurl="true"]http://www.w3.org/1999/XSL/Transform"[/URL] version="1.0">
<!-- How to Process CHANNEL -->
<xsl:template match="channel">
<!-- Begin Table and Headers -->
<html>
<head>
<title>Lee's Movie Info</title>
</head>
<table>
<tr>
<td>Rank</td>
<td>Title</td>
<td>Daily</td>
<td>Theatres</td>
<td>Average</td>
<td>Total</td>
</tr>
<!-- Process ITEM -->
<xsl:apply-templates select="item"/>
</table>
</html>
</xsl:template>
<!-- How to Process ITEM -->
<xsl:template match="item">
<tr>
<td><xsl:value-of select="rank"/></td>
<!--error? <td><a href="<xsl:value-of select="link"/>"><xsl:value-of select="title"/></a></td> -->
<td><xsl:value-of select="daily"/></td>
<td><xsl:value-of select="theaters"/></td>
<td><xsl:value-of select="average"/></td>
<td><xsl:value-of select="total"/></td>
</tr>
</xsl:template>
<!-- End XML -->
</xsl:stylesheet>
I am at a loss as to what to do now. How do I "link" my XSLT code to the XML file? (Note: The XML file is a remote file and I do not have access to edit it). I want the data to be displayed in normal HTML for usage on my website (probably through an iframe or whatever i can conjur up). I've heard from others that I must use java to do this, could someone point me in the right direction of a Java file/tutorial/whatever?
Thanks in advance for the help,
-NiVRaM
(I often find live chat easier and quicker than forums, so if you are availible to help me, you can reach me at AIM- FaSTBaLL1459 or MSN- marvinslayer@hotmail.com)