  | | | FOAF / XML Parser | FOAF / XML Parser 2004-03-16 - By EECOLOR
Back Whow, nice work :)
Do u know how to use these things and what they do exactly?
If yes would u mind shortly describe their function with a small example of use?
Greetz Erik
At 14:31 16-3-2004, you wrote: >Flash Player 7 finally introduced a namespace aware XML parser > >XMLNode now features: > >- namespaceURI (string) >- localName (string) >- prefix (string) >- getPrefixForNamespace (function) >- getNamespaceForPrefix (function) > >(sadly all that still is undocumented, and i got sick of trying to tell >macromedia to please document that. no, i won't post to the wishlist. this >is not a wish) > >in case you author for flash player 6, you need to manually resolve the >namespaces. there's a prototype available in the DENG source that does >exactly that: > >http://tinyurl.com/3dy4l > >check out XMLNode.prototype.resolveNamespaces there >hth, >claus. >c?deazur.com > > >Anatoly R. wrote: > >>Hello 'flashcoders, >> Has anyone tried to parse FOAF? >> I've never encountered XML like >> <foaf:knows> >> <foaf:Person> >> <foaf:nick> >> usernick >> </foaf:nick> >> <rdfs:seeAlso rdf:resource="http://friendurl/blog/foaf" /> >> <foaf:weblog rdf:resource="http://friendurl/blog" /> >> </foaf:Person> >> </foaf:knows> >> And of course .toObject doesn't work... >> I'm using AS2 right now so may be there's some good XML parser (and >> small, since .toObject is just 20 lines long!)? >> Thanks. > > >=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- >Supported by Fig Leaf Software >=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- >Be sure to check the archives and the wiki: >http://chattyfig.figleaf.com/ >=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- >http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107085 >=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- >To unsubscribe send a blank e-mail to: Normal Mode: >flashcoders-unsubscribe@(protected) >Digest Mode: flashcoders-digest-unsubscrive@(protected)
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107086 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |