Hello,
I am trying to get some data from a XML file into a repeater:
MyXML.ReadXml("http://www.mydomain.com/myXmlFile.xml")
MyRepeater.DataSource = MyXML
MyRepeater.DataBind()
My XML file is something like this:
<shop>
<name>...</name>
<email>...</email>
<item>
<title>...</title>
<price>...</price>
</item>
<item>
<title>...</title>
<price>...</price>
</item>
...
</shop>
My problems are as follows:
1. I need to display the <name> and <email> fields in my Repeater
HeaderTemplate.
2. In my Repeater ItemTemplate I want to display the last 4 <item>
records. 3. In my Repeater FooterTemplate I want to place my navigation
buttons "Previous", "Next".
Can someone help me?
Thank You,
Miguel