Solution: How to get the InnerText value of a node when using XmlDataSource

Lets say you have this xml:

Blog Content

And you are using an XmlDataSource to run it through a repeater.

You can easily get the attributes like so: <%#Eval(“Date”)%>

To get the innerText (the blog content) one option is to use the XPath operator like so: <%# XPath(“.”) %>