Why not do... ><cfset TransIDStart = "TransactionID>"> ><cfset TransIDEnd = "</TransactionID">
...? Note the addition of > and < to your string definitions... Otherwise, you could just do <cfset TID = Replace(TID, ">", "", "ALL")> <cfset TID = Replace(TID, "<", "", "ALL")> to just remove any occurances of < and >. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

