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.
I'm wondering if I should go with using purely DOM methods ( would have me doing a hundred or so createElements, inside of loops, appendChild, etc ) or just do a giant string concatenation and validate that then render it as xml?