Can you not do this?
<cfscript>
If
(IsDefined("GetContent.XmlFeed[1].contentdata.XmlChildren[1].live.XmlText"))
{
Live=GetContent.XmlFeed[1].contentdata.XmlChildren[1].live.XmlText;
} Else {
Live="no";
}
</cfscript>
> -----Original Message-----
> From: Michael J. Sammut [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 04, 2003 5:28 PM
> To: CF-Talk
> Subject: Param a Node String?
>
>
> I am befuddled and I hope some one 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
> ________________________________________________
> 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
>
>
>
> ----- Original Message -----
> From: "CF-Talk" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, March 04, 2003 12:01 PM
> Subject: CF-Talk: Digest every 6 hours
>
>
> > CF-Talk 04-Mar-03 Issue:253
> > In this issue:
> > at commands AND coldfusion ?
> > at commands AND coldfusion ?
> > at commands AND coldfusion ?
> > at commands AND coldfusion ?
> > at commands AND coldfusion ?
> > at commands AND coldfusion ?
> > at commands AND coldfusion ?
> > at commands AND coldfusion ?
> > Check Links
> > Database Connection
> > HELP -- CFMX Very High Queued Requests/Hanging
> > HELP -- CFMX Very High Queued Requests/Hanging
> > HELP -- CFMX Very High Queued Requests/Hanging
> > HELP -- CFMX Very High Queued Requests/Hanging
> > Implementing a local 404 error handler.
> > Merant and iso-latin-1
> > ODBC Problems?
> > ODBC Problems?
> > OT: Free Mail Server
> > Overriding Default Flash Gateway in Object tag
> > Overriding Default Flash Gateway in Object tag
> > Overriding Default Flash Gateway in Object tag
> > Previous and Next in Page
> > Previous and Next in Page
> > Previous and Next in Page
> > Rich Text Editor
> > Rich Text Editor
> > Rich Text Editor
> > Rich Text Editor
> > Rich Text Editor
> > Rich Text Editor
> > Rich Text Editor
> > Rich Text Editor
> > Rich Text Editor
> > Rich Text Editor
> > Rich Text Editor
> > Rich Text Editor
> > Rich Text Editor
> > Rich Text Editor
> > Rich Text Editor
> > Rich Text Editor
> > site wide error handling
> > site wide error handling
> > site wide error handling
> > SQL Help
> > win 2000 professional for web server?
> > win 2000 professional for web server?
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4