Need to covert an xml string to text

Hi,
I need to convert an xml string to text (one line per namespace without xml tags)

How do you do that?

See ya
Tony