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
click here


Yahoo! Groups Links

Reply via email to