XML Comments : Comments « Language « Flash / Flex / ActionScript






XML Comments

 


package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){

        var xml:XML = <people>
           <!--A list of developers-->
           <person name=" Corey"/>
           <person name=" Brian"/>
           <person name=" Mark"/>
           </people>;
         
        trace(xml);
    }
  }
}

        








Related examples in the same category

1.This is a single-line comment
2.This is a multiline comment