title: Is it better to use pure DOM methods or string concatenation to generate a very dynamic xml file?
body: <p>I basically have to query the database to grab all the active properties, then grab content under each property for sections such as accommodations/experiences, and based on that generate basically a site map.</p>
  
  <p>I'm wondering if I should go with using purely DOM methods ( would have me doing a hundred or so <code>createElement</code>s, inside of loops, <code>appendChild</code>, etc ) or just do a giant string concatenation and validate that then render it as xml?</p>