I don’t have time to setup my own test but I’d assume that model.Person.phone.resource would work.  Try using a debugger to inspect the model and you can see how the object was built from the XML.

 

Matt

 


From: Jack Waknitz [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 8:49 AM
To: [email protected]
Subject: Re: [flexcoders] Namespace Problems

 

I am using a HTTPService using default settings.  Here is the rdf foaf
file.  Doing the attribute without the namespace didn't seem to work.
Any further ideas about whats wrong?


On Fri, 18 Mar 2005 21:09:20 -0800, Matt Chotin <[EMAIL PROTECTED]> wrote:
>
>
> Are you using HTTPService to get the data?  Is resultFormat object (the
> default)?  If so, there's no namespaces on the objects, we only store things
> by the local part of the qname.  If your data isn't getting de-serialized
> correctly you may need to look into using your own xmlDecode function.
>

>
> Matt
> ________________________________
>
>
> From: Jack Waknitz [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 18, 2005 2:09 PM
> To: [email protected]
> Subject: [flexcoders] Namespace Problems
>
>

>
> I'm trying to grab some FOAF data and put it into Flex.  Problem is, I
> don't know how to make the rdf:resources attribute on many of the
> elements show up.  I just tried adding it as a path from a model (.rdf
> file) to a <mx:Text> element.  I used the path
> model.Person.phone.rdf:resource.  Flex won't let me use the colon in
> the path.  I have experience with XSLT and to accomplish this you
> would just need to declare the namespace at the top and then you could
> do this.  An example is the dc:creator element found in most RSS
> feeds.  Anyone have any ideas about how to fix this?
>
> --
>   [ Jack ]
>
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
> ________________________________
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
>  
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>  
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


--
  [ Jack ]



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to