Is there any way to get the "09-09-2009" string using xmlSearch() for the below xml?
<employee> <startDate>09-09-2009</startDate> </employee> I've been doing something like this, which is a real pain: arrDate = xmlSearch(xml, "//employee/startDate"); strDate = arrDate[1].XmlText; It seems that xmlSearch() must always return an array and is unable to return a string, which makes sense, but using the above code has gotten old, real fast. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349008 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm