Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Thread Tools Rate Thread Display Modes
Old 08-15-2010, 04:20 PM   #1
Registered User
Join Date: Feb 2010
Posts: 3
Default help in Construction Flex Tree with the XML(remove namespace)

I need to construct Flex Tree with the given result I got from the service call . Below is my data.(I dont know how to remove this namespace, I tried with the removeNamespac(), That didnt work).

I have to dispaly the filename as some parent and under it versionNumber as children, when clicked it points to that link.

I need it very urgently. Someone Please advice me or provide me similar example.

Your help is very much appreciated.

<r:AttachmentList xmlns:r="://someURL.internal.local.com/cr3.0">
<Attachment isInactive="false" fileName="Ch08 - Programmation Orientee Objet.pdf" lastVersion="1">
<Version versionNumber="1" contentURL="/mocksecured/mockroot/customername/listname/Ch08 - Programmation Orientee Objet.pdf" createdBy="Joe Requestor-Approver" createdDate="2010-08-15T04:19:04.683"/>
<Attachment isInactive="false" fileName="Ch11 - Classe du document.pdf" lastVersion="1">
<Version versionNumber="1" contentURL="/mocksecured/mockroot/customername/listname/Ch11 - Classe du document.pdf" createdBy="Joe Requestor-Approver" createdDate="2010-08-15T03:53:26.967"/>
<Attachment isInactive="false" fileName="Ch13 - Chargement de contenu.pdf" lastVersion="1">
<Version versionNumber="1" contentURL="/mocksecured/mockroot/customername/listname/Ch13 - Chargement de contenu.pdf" createdBy="Joe Requestor-Approver" createdDate="2010-08-15T03:53:27.06"/>
<Attachment isInactive="false" fileName="Ch14 - Charger et envoyer des donnees.pdf" lastVersion="1">
<Version versionNumber="1" contentURL="/mocksecured/mockroot/customername/listname/Ch14 - Charger et envoyer des donnees.pdf" createdBy="Joe Requestor-Approver" createdDate="2010-08-15T03:53:27.073"/>
<Attachment isInactive="false" fileName="Ch17 - Son et Video.pdf" lastVersion="1">
<Version versionNumber="1" contentURL="/mocksecured/mockroot/customername/listname/Ch17 - Son et Video.pdf" createdBy="Joe Requestor-Approver" createdDate="2010-08-15T13:55:39.25"/>

Last edited by flex4fresher; 08-15-2010 at 04:22 PM. Reason: Http is been removed from xmlns, since i am unable to post into the forum
flex4fresher is offline   Reply With Quote
Old 08-17-2010, 01:50 AM   #2
drkstr's Avatar
Join Date: Sep 2006
Location: Seattle, WA: USA
Posts: 1,587

Not sure, I've never tried to remove a namespace before...

I've always just worked with it instead:

drkstr is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 04:38 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.