Good Afternoon,
I have a page (category-list.apsx) that uses the Repeater Control method to display the xml details on the page. I used the example shown here:
http://www.w3schools.com/aspnet/aspnet_repeater.asp
This works fine but I also need the page to display the title of the category and the company name. These will be shown at different places on the page.
How can this be done?
The XML would be called categories.xml and would be set up like:
<PageDetails>
<CategoryName>Example A</CategoryName>
<CompanyName>Company A</CompanyName>
</PageDetails>
For single pieces of data, would it use a asp label instead? Like
<asp:Label name="CategoryName" Text="Category Name" runat="server"/>
Or am I way off?
Thank you for your Time
You canno’t use directly your asp:label instead, because < or & are not accepted,
But you can use
CDATAsection if you want inject