Is there any way to pass in an attribute name which contains a hyphen to
XMLSearch and not have that be mis-interpreted by CF as being a subtraction
operation?

So if I have an XML document which contains a child node with the name
"start-date" and use this code:

<cfset startDate =  xmlSearch(parsedXMLDoc, "//start-date") />

the value for "start-date" isn't found because CF tries to evaluate
"start-date" (start minus date).

Suggestions?

brian


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232964
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to