If you have any control on the sending side (or you can call them maybe)
if they wrap the text in a cdata section it should preserve the html
correctly.

I.e.
<airport><![CDATA[[
>From Birmingham Int'l Airport: <br> Take I-20 East to Atlanta to
I-459
South. <br> Follow I-459 South to Exit 19 (Highway 280).
<br>]]>
</airport>

if they are doing that and its the XMLParse that's jacking you up, try
the xmltransform function - you'll need to use xslt, but I have done
what you are trying to do in the past that way with success.

On Wed, 2004-01-28 at 14:03, Ketan Patel wrote:
> All of HTML tags are converted. DO you think when I use xmlparse() functions
> its doing the conversion of the HTML. Not sure. Thanks anyways.
> ketan
>
>
>   -----Original Message-----
>   From: Ben Doom [mailto:[EMAIL PROTECTED]
>   Sent: Wednesday, January 28, 2004 4:51 PM
>   To: CF-Talk
>   Subject: Re: HTML getting converted problem.
>
>
>   replace() the escaped strings with the actual characters.
>
>   Of course, you have to be careful of characters that were escaped in the
>   original HTML, but this should be a quick fix.
>
>   --Ben Doom
>
>   Ketan Patel wrote:
>
>   > Hi All,
>   > I have a problem with HTML conversion. I am perfoming a XML Service call
> and
>   > when I get back the results I get all the HTML in the results converted.
>   > eg: <BR> is converted to &lt;br&gt;
>   >
>   > Following is a example of my results returned:
>   >
>   >  >From Birmingham Int'l Airport: &lt;br&gt; Take I-20 East to Atlanta to
>   > I-459
>   > South. &lt;br&gt; Follow I-459 South to Exit 19 (Highway 280).
> &lt;br&gt;
>   > Go right heading east and go down two miles.  &lt;br&gt; Hotel is
> located on
>   > the right-hand side.
>   >
>   > Any help in converting back to original HTML format will be helpfull or
> is
>   > ther any way I can say in my XML call that preserve HTML.
>   >
>   > Ketan Patel
>   >
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to