title: Convert an XML object back into a string in ColdFusion
body: <p>In ColdFusion, I can parse a string of XML formatted data into an XML Object
  using <code>xmlParse()</code>. How can I convert it back into a string? </p>
  
  <p>When I tried using <code>toString()</code> it throws an error that "it can't convert complex object to simple objects....", which is ironic because that's what it's supposed to do.</p>
  
  <p>I need to use <code>XMLTransform()</code> which <em>requires</em> the first argument to be an xml string. But I also need to use <code>xmlSearch()</code> to get a node to pass into my transform, and xmlSearch returns an xmlObject. So now I need to put that object back into xml string format to pass into xmlTransform.</p>