' character can be used to delimit an attribute value in an XML literal, it is converted to the " character
package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var p:XML = <p align='left'/>; trace(p.toXMLString( )); // Displays: <p align="left"/> } } }