--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> I am doing this successfully, by encoding the markup, and keeping 
it in
> an attribute(description, below).  
> 
> <dest category="Directions to Hotel" title="West to Atlanta"
> mapimage="maps/Exit249B_Map.swf" 
destimage="maps/DirectionsWest.swf" 
> 
>       description="&lt;TEXTFORMAT LEADING=&quot;2&quot;>&lt;P
> ALIGN=&quot;LEFT&quot;>&lt;FONT FACE=&quot;Helvetica&quot;
> SIZE=&quot;14&quot; COLOR=&quot;#0B333C&quot;
> LETTERSPACING=&quot;0&quot; KERNING=&quot;0&quot;>&lt;B>West to
> Atlanta&lt;/B>&lt;FONT ...

I can get it to work fine if I encode everything, as you have.  
However, my users are not going to be able to encode special 
characters and I don't want to get blamed if they make a mistake.  I 
thought this was what CDATA is supposed to be for, but it is pretty 
useless if the XML function breaks the string around the tags.  I can 
work with stripping the CDATA off before it gets to the screen, but I 
can't know what line breaks were added by the XML function and which 
were added by the user.  I'm sorry, but this seems like a huge bug to 
me!

-Amy

Reply via email to