Does anyone know of any UDFs that make up for the limited nature of
XMLSearch().

I was playing around with it and have made a UDF that 'fixes' the results of
these two XPath expressions (in CF6 at least):

xpath = '//elementname/text() - Produces an array of 'unkown type' elements
with XMLSearch()
 xpath = '//elementname/@attributename - Produces an array of 'unkown type'
elements with XMLSearch()

The UDF converts the unknown types to plain strings (the value of the
attribute in the second case).

Before I continue and figure out any other conversions that may be
neccessary, I have some questions:

Does anyone know of any UDFs that already do this?
Does anyone think it would be a useful UDF?
Does anyone know of any other kinds of XPath expressions that produce
'unkown type' elements
Am I plain wrong and need pointing in another direction?

Thanks in advance,

Dominic

-- 
Blog it up: http://blog.dominicwatson.co.uk


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283020
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to