Thanks guys

> <cfsavecontent variable="myXML">
> <pages>
>       <page id="myPage">
>               <title>Blah</title>
>       </page>
> </pages>
> </cfsavecontent>
> <cfset myXML = XMLParse(myXML)>
> <cfset xmlNode = XMLSearch(myXML,'/pages/[EMAIL PROTECTED]"myPage"]/title')>
> <cfdump var="#xmlNode[1].xmlText#">

That is pretty much what I ended up going with, So text() hasn't been
implemented in CF - no big deal. I guess it like doing:

<cfquery name="q">
SELECT *
FROM user
</cfquery>
<cfoutput>#q.userName#</cfoutput>

instead of:

<cfquery name="q">
SELECT userName
FROM user
</cfquery>
<cfoutput>#q.userName#</cfoutput>

at the end of the day they both work, one is just hungrier than the other.


Cheers

Mark


------------------
Mark Stanton
Technical Director
Gruden Pty Ltd
Tel: 9956 6388
Mob: 0410 458 201
Fax: 9956 8433
http://www.gruden.com


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to