XML Escape Sequences

February 6, 2007

When using XML to be loaded into a flash file, the following signs have to be “escaped”:

& (Ampersand) &
< (Left angle bracket) &lt;
> (Right angle bracket) &gt;
” (Straight quotation mark) &quot;
‘ (Apostrophe) &apos;

To “escape” means you instead of using an &, <, > ,… you just use their longer description like &amp; and you’re out of trouble.

Leave a comment