thanks Dave! Thats a good thing too know!

what would the proper cfm code be?
<message><![CDATA["("#message#")"]]></message>

or

<message><![CDATA[#message#]]></message>

would that be ok?

thanks!



>> im trying to convert an asp site to cfm and im going through
>> an xml output and i come across this code
>>
>> Response.Write "<reply><![CDATA["
>> Response.Write rs("reply")
>> Response.Write "]]></reply>"
>>
>> not sure what the CDATA is??????
>>
>> what do i do with it?
>>
>> is it ok to just do this?
>>
>> <reply>
>>   <![CDATA[#recordset.reply#]]>
>> </reply>
>>
>> or can i take it out?
>
> The CDATA is an XML type that allows you to tell the XML parser not to
> try to parse its contents. This allows you to safely include XML
> metacharacters (<,> and so on) in your data. So, you probably don't want
> to take it out of the code.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> voice: (202) 797-5496
> fax: (202) 797-5444
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to