Ramesh

wddx_packet is a string but output is a complex data
type depending on what the packet contains.

You could operate on wddx_packet before converting it.
Or would the ampersands invalidate the XML?... try it
& see.

Nick

-----Original Message-----
From: ramesh deva [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 7:06 AM
To: CF-Talk
Subject: Replace function



Hi 
Here i have wddx_packet variable, it contains text
file

So my question is can i replace whole file by using
following code.

Becos when i use this code 

<cfwddx action="WDDX2CFML" input="#wddx_packet#"
output="EZB_PO_WDDX">

<cfset EZB_PO_WDDX =
Replace(#EZB_PO_WDDX#,"~","&","ALL")> 

Getting this error:-

An error occurred while evaluating the expression: 


 EZB_PO_WDDX = Replace(#EZB_PO_WDDX#,"~","&","ALL")



Error near line 310, column 11.
----------------------------------------------------------------------------
----

Parameter 1 of function Replace must be a basic value,
i.e., a string, number, logical, or date/time value i
am here 

Thanx in advance
Ramesh


**********************************************************************
Information in this email is confidential and may be privileged.
It is intended for the addressee only. If you have received it in error,
please notify the sender immediately and delete it from your system. 
You should not otherwise copy it, retransmit it or use or disclose its
contents to anyone. 
Thank you for your co-operation.
**********************************************************************

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to