You want getTextContent() rather than getNodeValue() - the latter always returns null for element nodes.
getTextContent()
getNodeValue()
Instead of
rows[i].getNodeValue()
use
rows[i].getNodeValue().getChildNodes().item(0).getNodeValue()