I am befuddled and I hope someone can lend some advise.
I am going after a node in xml:
<cfscript>
Live=GetContent.XmlFeed[1].contentdata.XmlChildren[1].live.XmlText; </cfscript> Then I am testing on it: <cfif Live eq "yes"> #attributes.Data# <cfelse> Sorry this page is currently not available. </cfif> My problem is that the node does not always exist and every way I try to param it I get an error. Does anyone know if I can param out GetContent.XmlFeed[1].contentdata.XmlChildren[1].live.XmlText? Am I missing the obvious?
Thanks!! Regards, Michael J. Sammut, Partner ________________________________________________ F O U R E Y E S P R O D U C T I O N S think | plan | create :: web site design & development http://www.foureyes.com |
- RE: [cf-xml] Param a Node String? Michael J. Sammut
- RE: [cf-xml] Param a Node String? Jon Trow
- Re: [cf-xml] Param a Node String? Michael J. Sammut
- [cf-xml] Getting a Random Element Michael J. Sammut