|
-
January 14th, 2009, 05:40 AM
#1
XMLDataSource and Repeater
Hello,
I'm trying to bind an xmldatasource to Repeater. The XMLDatasource contains 31 items.
When i try to display the following result (see below) and while setting the ContentType of the page to "text" I get the 31 items. But when I set to "text/xml" I only receive 6 items.
Any idea why I'm not being able to get the 31 items ?
Code:
<rss version="2.0">
<channel>
<title>Booksany</title>
<link>http://www.booksany.com</link>
<description>Special Offers</description>
<item>
<title>The Dream House</title>
<description>THE DREAM HOUSE</description>
<link>http://localhost:8449/BooksAnySite/EnglishBook_The_Dream_House_Rachel_Hore_9781416510994.aspx?productID=1748</link>
</item>
<item>
<title>Essential Scooby-Doo (Scooby Doo 2)</title>
<description>Essential Scooby-Doo (Scooby Doo 2)</description>
<link>http://localhost:8449/BooksAnySite/EnglishBook_Essential_ScoobyDoo_(Scooby_Doo_2)_Glenn_Dakin_9781405304184.aspx?productID=640</link>
</item>
<item>
<title>Bird: The Definitive Visual Guide</title>
<description>Bird: The Definitive Visual Guide</description>
<link>http://localhost:8449/BooksAnySite/EnglishBook_Bird_The_Definitive_Visual_Guide_Birdlife_International_9781405306331.aspx?productID=686</link>
</item>
...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|