lately i have did a nice idea , that i have a lot of course programs inside my XML file

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Training Programs</title>
<link></link>
<description>NA</description>
<language>en</language>
<copyright>NA</copyright>
<lastBuildDate>Wed, 19 Apr 2006 16:26:12 -0800</lastBuildDate>
<generator>text</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>

<item>
<title>HR</title>
<link>data/feed1/article_1.html</link>
<pubDate>Wed, 19 Apr 2006 16:26:12 -0800</pubDate>
</item>

<item>
<title>Marketing</title>
<link>data/feed1/article_1.html</link>
<pubDate>Wed, 18 Apr 2006 16:26:12 -0800</pubDate>
</item>
</channel>
</rss>

in the html page when i click on HR then will open new page (register) and showing me the {title} which is HR , and here's my problem :S
when i click on marketing and open this register page it will again show me the first {title} HR :(

in the register page :
<script src="SpryAssets/xpath.js" type="text/javascript"></script>
<script src="SpryAssets/SpryData.js" type="text/javascript"></script>
<script type="text/javascript">
var ds2 = new Spry.Data.XMLDataSet("../feed1.xml", "rss/channel/item");
</script>

and in the body :
<div spry:region="ds2">{title}</div>

so what I'm missing here guys ?!

and this xml file is inside html home page < where i put in <body>

<div spry:when="{ds_RowNumber}%2 != 0" class="EvenRow RSSItemListRow" onclick="document.getElementById('RSSItemContentIFrame').src='{link}';" spry:selectgroup="itemsList" spry:select="SelectedListBoxItem" spry:hover="ListBoxItemHover">
		              <div id="Cell1" class="SubjectColumn"><a href="#RSSItemContentIFrame"><a href="#RSSItemContentIFrame"><a href="#RSSItemContentIFrame">{title}</a></div>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.