I've updated the UDF on my blog to deal with the closing-tag-on-same-line issue, as well as submitted it to cflib.org.
cheers, banreyb On Sat, Mar 6, 2010 at 3:13 PM, Scott McAllister <stmcallis...@gmail.com> wrote: > > Got it! Thanks to all that replied and helped! > > Barney, I used your UDF and it worked as a fantastic starting point. The XML > displayed to the screen and was formatted almost perfectly. The one issue > that I had, which I think you mention in your blog post, was that it was > increasing the indent on every line until it came across a closing tag at the > start of a line. > > I added a fix that worked for my use case and would be more than willing to > share. As you mentioned in your blog post the Googles didn't really help when > I looked around for things. Have you ever thought of posting the UDF up on > Riaforge.org or cflib.org? I found it highly useful. > > Thanks again! > > -Scott > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331547 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm