' character can be used to delimit an attribute value in an XML literal, it is converted to the " character : XML variable : XML Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » XML » XML variable »

 

' 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"/>
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo XML
» XML variable