Hi Friends
am beginer in flex. please help me . i think here all are exports. my
problem is am reading xml file in flex program. am reading xml file is
node only. if its attribute how i can read?
i will show example xml file with node
<TrustedCatreres>
<Contact>
<FirstName >The Corner Deli</FirstName>
<Email>[EMAIL PROTECTED]</Email>
<PhoneNumber >(650) 000-1212</PhoneNumber>
<PostalAddress >1234 Stevens Creek Blvd, Cupertino, CA
</PostalAddress>
<LastName ></LastName>
</Contact>
<Contact>
<FirstName >Good Earth</FirstName>
<Email>[EMAIL PROTECTED]</Email>
<PhoneNumber >(408) 555-0000</PhoneNumber>
<PostalAddress >567 Homestead Ave, Cupertino, CA
</PostalAddress>
<LastName ></LastName>
</Contact>
</TrustedCatreres>
this file i can read in flex program.
if xml has attribute below shown example
<folderList>
<folder state="" label="Today todo list" isBranch="true" >
<folder cat="Travel" state="High" duedate="3/09/2008"
isBranch="false" label="book tickets" />
<folder cat="Social" state="Low" duedate="4/09/2008"
isBranch="false" label="Meeting at 7pm" />
<folder state="" isBranch="true" label="Home " >
<folder cat="Home" state="High" duedate="3/09/2008"
isBranch="false" label="Pay power bill" />
<folder cat="Home" state="High" duedate="3/09/2008"
isBranch="false" label="Pay rent" />
<folder cat="Home" state="Low" duedate="3/09/2008"
isBranch="false" label="Call parents" />
<folder cat="Home" state="Low" duedate="3/09/2008"
isBranch="false" label="Attend John birthday party" />
<folder cat="Home" state="Medium" duedate="3/09/2008"
isBranch="false" label="Special Updates" />
<folder cat="Home" state="high" isBranch="false"
label="get
Dr. appointment" />
</folder>
<folder state="" isBranch="true" label="Office " >
<folder cat="Off" state="High" isBranch="false"
label="Meeting at 5pm" />
<folder cat="Off" state="Low" isBranch="false"
label="Complete document and send to client" />
<folder cat="Off" state="Low" isBranch="false"
label="Interviews and Transcripts" />
<folder cat="Off" state="High" isBranch="false" label="Set
Deployment machine" />
<folder cat="Off" state="High" isBranch="false"
label="send
status reports" />
</folder>
</folder>
</folderList>
how can i read that xml atributes please help me.........am requsting
all of my friends...