> So I don't see how XSLT can play a role here. It can play a role, because you can post-process your XML string using XSLT as "pretty printer". Try the code below (hope carriage returns will not break it):
<cfsavecontent variable="xslStr"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!--Normalize whitespace by stripping space and indenting --> <xsl:output method="xml" version="1.0" indent="yes"/> <xsl:strip-space elements="*"/> <xsl:template match="/"> <xsl:copy-of select="."/> </xsl:template> </xsl:stylesheet> </cfsavecontent> <cfsavecontent variable="xmlStr"> <channel><item><title>first item</title></item><item><title>second item</title></item></channel> </cfsavecontent> <cfoutput>#XmlTransform(xmlStr, xslStr)#</cfoutput> ---------------------------- Massimo Foti http://www.massimocorner.com/ It should be this hole in the ozone layer But I am not the coder I use to be... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207578 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

