Try this <CFSET myVar = xmlSearch(myXMLDoc,"/cfapp-config/[EMAIL PROTECTED]">
I think the issue is inside quotes you need to declare the variable... that may not work, but it is a quick guess. John Farrar ----- Original Message ----- From: "Justin Balog" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 01, 2003 6:22 PM Subject: [CFCDev] Kind of OT - xmlSearch() > > I am performing an XML search like this > > <CFSET myVar = xmlSearch(myXMLDoc, "/cfapp-config/[EMAIL PROTECTED]'COLOR']"> > > It works fine when the id static, does anybody know a way to make it > dynamic, passed on the appID being passed into my method? Basically, > something along these lines? > > <CFSET myVar = > xmlSearch(myXMLDoc,"/cfapp-config/[EMAIL PROTECTED]"> > > I have tried many different things to get this to work, but it keeps > erroring out? > > I have tired to build the string then DE() in the xmlSearch function. > > Any help would be appreciated. > > Thanks, > > Justin > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > > ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
