I think the -   <dls-configuration> is the issue. There is a solution for this 
but i cannot remember where i read about it. Do some google-ing...

C




________________________________
From: "Pruitt, Byron S" <[email protected]>
To: "[email protected]" <[email protected]>
Sent: Tue, November 17, 2009 8:29:22 PM
Subject: [flexcoders] quick XML question

   
I
have a variable named report set to an xml document.
 
var report : XML = <dls-configuration><system></system>………</dls-configuration>
var n1 : XML = report.system as XML;
var n2 : XML = report.children( )[0];
 
n1 = null
n2 = the system node
 
I have accessed nodes many times like I do
for n1 and not a problem with it evaluating to null.  I can’t figure
out what I am doing differently with the above.
Any help showing me the obvious is
appreciated.
 
 
-Steve
 
 


      

Reply via email to