Thank you all, 

Actualy it was a very basic problem... Was a nameSpace problem. My
validator added aaa as namespace and that's why I couldn't find any node..

--- In flexcoders@yahoogroups.com, "y.mauron" <[EMAIL PROTECTED]> wrote:
>
> 
> Dear all,
> 
> Here is a fragment of xml. When I try to parse it like that :
> 
> 
>       import mx.rpc.http.HTTPService;
>       import mx.rpc.events.FaultEvent;
>         import mx.rpc.events.ResultEvent;
> 
>       public function addMzXMLSpectrum(path:String):void{
>            var service:HTTPService = new HTTPService();
>              service.url = path;
>              service.resultFormat="e4x";
>              service.addEventListener(ResultEvent.RESULT,
resultHandler);
>              service.send(); 
>       }
>       
>       public function resultHandler(event:ResultEvent):void{
>               var xml:XML = event.result as XML;
>               Alert.show(xml.msRun[0].scan[]);
>       }
> 
> 
> but I never obtain any result :-( Does someone has an idea why ?
> 
> 
> 
> 
> 
> xml file
> ________________________________________________________________
> 
> 
> <?xml version="1.0" encoding="utf-8" standalone="yes"?>
> <mzXML
> 
>  xmlns="http://sashimi.sourceforge.net/schema_revision/mzXML_2.0";
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> 
> 
xsi:schemaLocation="http://sashimi.sourceforge.net/schema_revision/mzXML_2.0
>
http://sashimi.sourceforge.net/schema_revision/mzXML_2.0/mzXML_idx_2.0.xsd";>
> 
>  <msRun scanCount="3234"
> 
>         startTime="PT5.00183S"
> 
>         endTime="PT119.977S">
> 
>   <parentFile
>
fileName="file://Rdf3/data2/search/ppatrick/sashimi_repository/LCQ/cleavableICAT_ms2x2_2.RAW"
> 
>               fileType="RAWData"
> 
>               fileSha1="15f684152f0d1cac7c9ca81bf64491b650da1dc5"/>
> 
>   <msInstrument>
> 
>       <msManufacturer category="msManufacturer" value="ThermoFinnigan"/>
> 
>       <msModel category="msModel" value="LCQ Deca"/>
> 
>       <msIonisation category="msIonisation" value="ESI"/>
> 
>       <msMassAnalyzer category="msMassAnalyzer" value="Ion Trap"/>
> 
>       <msDetector category="msDetector" value="EMT"/>
> 
>     <software type="acquisition"
> 
>               name="Xcalibur"
> 
>               version="1.3 alpha 8"/>
> 
>   </msInstrument>
> 
>   <dataProcessing centroided="1">
> 
>     <software type="conversion"
> 
>               name="Thermo2mzXML"
> 
>              version="1"/>
> 
> ...
>


Reply via email to