Hi I have a XML RSS Feed file and is using the XSLT style. I want to pull data from a table for the Feed and when I run the XML file it has no information just the RSS Feed style. What am I doing wrong?
Here are my codes:
myData.xml< ?xml version="1.0" encoding="utf-8" ?>
< ?xml-stylesheet type="text/xsl" href="rss.xslt"?>
< rss version="2.0" xmlns:atom="
http://www.w3.org/2005/Atom">
< channel>
Gee Web Solutions < link>http://www.sigar.mil/rss/
< description>Watch articles from C# Corner
© 1999 - 2011 Mindcracker LLC. All Rights Reserved
< Title>Deon
< Author>Gee
< Description>Washington
< Link>http://www.sigar.mil/rss/
< /FeedSpeeches>
< /rss>
rss.xslt
< xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
< xsl:template match="/">
< html>
< head>
Gee Web Solutions < /head>
< body>
< xsl:for-each select="FeedSpeeches">
< xsl:for-each select="rss/channel/item">
< tr style="color:#0080FF;">
< td style="text-align:left;font-weight:bold;">
< xsl:value-of select ="Title">
< /td>
< td style="text-align:right;font-weight:bold;">
< i>
< xsl:value-of select ="Author">
< /i>,
< /td>
< /tr>
< tr>
< td colspan="2" style="text-align:left;padding-top:10px;">
< xsl:value-of select="Description"/>
< /td>
< /tr>
< tr>
< td colspan="2" style="text-align:right;">
< a href="{link}" rel="bookmark">
More...
< /a>
< /td> < /xsl:for-each>
< /xsl:for-each>
< /table>
< /body>