Setting Options for the XML Class : Comments and Processing Instructions : XML Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » XML » Comments and Processing Instructions »

 

Setting Options for the XML Class


 

//ignoreWhitespace 
//ignoreComments 
//ignoreProcessingInstructions 
//prettyPrinting 
//prettyIndent 
//ignoreWhitespace


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

        trace(XML.settings().ignoreProcessingInstructions)// Displays: true
        XML.ignoreProcessingInstructions = false;
        trace(XML.settings().ignoreProcessingInstructions)// Displays: false

    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo XML
» Comments and Processing Instructions