1 Reply Latest reply on Aug 28, 2009 12:01 PM by Gregory Lafrance

    problem while reading xml data

    sreeflex Level 1

       

       

      private var _xlimData:XML=

      <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

      <fo:layout-master>sample-layout</fo:layout-master>

      </fo:root>

       

       

      var fo:Namespace = new Namespace(http://www.w3.org/1999/XSL/Format);

       

       

       

       

       

      public function readXlim():void

       

      {

       

       

       

       

       

      Alert.show(_xlimData..fo::layout-master);

      }

       

      I am unable to read the data because of Hyphen(-) in 'layout-master' .But placing Hyphen(-) is must .Please solve my problem