Thanks Dave. After some continued Googling I also fund some references to a "self()" function as in [self::text()="123"]
Not sure what the difference is though. ~Brad -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 1:05 PM To: CF-Talk Subject: RE: xmlsearch and xpath > Can an xpath contain conditional logic which looks at a > node's xmltext, NOT just an attribute value? > > For instance: > > <root> > <item>hello world</item> > <item>spam</item> > </root> > > What xpath would find all "item" nodes with an xmltext of "spam"? I think this should work: //item[. = 'spam'] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264339 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4