I am really new at ASP.NET, and I am wondering if there is a good way to extract XML attributes from ASP.NET. The example I am reading is here: http://www.w3schools.com/aspnet/aspnet_datalist.asp
Suppose I fix the XML snippet to:
<catalog> <cd> <title>Eros</title> <artist country="EU">Eros Ramazzotti</artist> <company>BMG</company> <price>9.90</price> <year>1997</year> </cd> </catalog>
What should I change <%#Container.DataItem("artist")%> to in order to print out the country attribute?
Thanks for your help.