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 E.
[EMAIL PROTECTED]T: 718.254.9557 ext.
101
F: 718.254.0399
----- Original Message -----
Sent: Wednesday, March 05, 2003 4:16
AM
Subject: RE: [cf-xml] Param a Node
String?
try
<cfif isdefined("Live") and Live eq
"yes">
#attributes.Data#
<cfelse>
Sorry this page is
currently not available.
</cfif>
or
<cfparam
name="Live" default="no">
<cfif Live eq
"yes">
#attributes.Data#
<cfelse>
Sorry this page is
currently not available.
</cfif>
Jon
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