have any of you guys come up with a decent method / pattern / tool for parsing various XML results and formatting them into individual div tags in the page?

I'm looking for something that can take a very simple xml form (usually only 1 childelement level deep) , but I want it somewhat dynamic where it can simply parse the document and auto-write the div tags to the page, or at least to a point that it minimizes my customization for each type of request.
I'll let the positional CSS do the rest of the formatting from there.

actually, as I write this, I'm realizing I could simply do a:

div id=node.getNodeName()
followed with:
createTextNode(node.value())

perhaps that's all I need....