Hi all, Having not found an existing function to do this (output a query object as a nested ol or ul), I thought I'd try my own hand at it - I'm *so* close. Yet, not quite there.
Basically, my mind has given up trying to get the logic correct in when to close </li> elements. It works most of the time, but if I say have a nested list, it gets a bit confused and doesn't close the </li> - So XHTML throws a wobbly. Can anyone see where I'm going wrong? (or better still, happen to have a function which does something similar I might adapt?) Here's some dummy data and the function: http://neokoenig.pastebin.com/k7EQ8B98 Thanks in advance for any insight... T ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336573 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

