CDATA elements cannot be placed inside attributes. In attributes you
can escape special characters with entities like
  > = >
  &lt; = <
  &amp; = &
  &quot; = "

But storing long texts in attributes seems to be not the best solution.
  
If you use an XML handling library for creating your XML, you don't
have to care about escaping - it is necessary only when you assemble
it "manually".

  Attila


pbn> well i tried this but it does not work either
pbn> 
pbn> <?xml version="1.0" encoding="UTF-8" ?>
pbn> <icons>
pbn> <icon image="gif/guillaume.gif" tooltip="tooltip" content="<![CDATA["  
pbn> <a href="http://www.google.com";>link</a> " ]]>" />
pbn> </icons>
pbn> 
pbn> any idea??
pbn> 
pbn> thanlks for your help
pbn> jeanphy

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to