How can i convert my relational database to XML

are there any tips or rules for converting or i just
convert column names to tags with body in the XML ?