I don't know if this is the best answer for this, but here's how I got it to work.
I didn't use e.Item.DataItem at all. I took the XML data source for my repeater and used selectSingleNode (using the data source XPath) to return my value. If the resulting string is empty, I hide the row.
However, if anyone has a more elegant or robust answer, I'm all ears.