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 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:
http://docs.yahoo.com/info/terms/
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:admin="http://webns.net/mvcb/">
<foaf:PersonalProfileDocument rdf:about="">
<foaf:maker rdf:nodeID="me"/>
<foaf:primaryTopic rdf:nodeID="me"/>
<admin:generatorAgent rdf:resource="http://www.ldodds.com/foaf/foaf-a-matic"/>
<admin:errorReportsTo rdf:resource="mailto:[EMAIL PROTECTED]"/>
</foaf:PersonalProfileDocument>
<foaf:Person rdf:nodeID="me">
<foaf:name>Name Name</foaf:name>
<foaf:title>Mr.</foaf:title>
<foaf:givenname>Name</foaf:givenname>
<foaf:family_name>Name</foaf:family_name>
<foaf:nick>Nick</foaf:nick>
<foaf:mbox_sha1sum>[EMAIL PROTECTED]</foaf:mbox_sha1sum>
<foaf:homepage rdf:resource="http://www.google.com"/>
<foaf:phone rdf:resource="555-555-5555"/>
<foaf:workplaceHomepage resource="http://web.com"/>
<foaf:schoolHomepage resource="http://web.com"/></foaf:Person>
</rdf:RDF>