>- see footer for list info -<
> One more question, the array returns the XmlAttributes
> of the Child is there a quick and simple way to grab the
> contents of the XmlText Attribute.
You can treat the returned information as an array of structures, so
something like this will do the job:
<cfxml variable="xmldoc">
<myroot>
<status plink="1">Joy!</status>
</myroot>
</cfxml>
<cfscript>
node = xmlsearch(xmldoc, "//status");
text = node[1].XmlText; // text => "Joy!"
attr = node[1].XmlAttributes['plink']; // attr => 1
</cfscript>
Any good?
Tim.
--
-------------------------------------------------------
Badpen Tech - CF and web-tech: http://tech.badpen.com/
-------------------------------------------------------
RAWNET LTD - independent digital media agency
"We are big, we are funny and we are clever!"
New site launched at http://www.rawnet.com/
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential. If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of rawnet limited,
unless otherwise explicitly and independently indicated
by an authorised representative of rawnet limited.
-------------------------------------------------------
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<