Thats exactly how I was trying to do it. Maybe I building the string
expression wrong?  The string output fine, but then in the code it would
error? 

Justin

-----Original Message-----
From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 4:30 PM
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] Kind of OT - xmlSearch()


> <CFSET myVar =
> xmlSearch(myXMLDoc,"/cfapp-config/[EMAIL PROTECTED]">
>
> I have tried many different things to get this to work, but it keeps
> erroring out?

Without looking at your code it's hard to figure out what's wrong.

Anyway, I usually built the XPath expression first as a string and store it
into a variable, then pass it to xmlSearch. I find it easier to read and
debug the code

----------------------------
Massimo Foti
Certified Dreamweaver MX Developer
Certified Advanced ColdFusion MX Developer
http://www.massimocorner.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).
----------------------------------------------------------
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).

Reply via email to