Parsing FOAF in perl?

Dougal Campbell dougal at g...
Thu Dec 5 21:16:59 UTC 2002


Does anyone have any suggestions for parsing FOAF in Perl?

I was looking at RDF::Core::Parser, but when I tried to use it on my
FOAF, it died with:

Element 'mbox' can not contain a literal value at line 9 at
D:/Misc/Perl/site/lib/RDF/Core/Parser.pm line 863

Should I be looking at a more generic XML parser? XML::Simple? XML::SAX?
XML::TreeBuilder?

At some point I'll probably want to be writing FOAF (automagically
creating FOAF from scraping an HTML source), as well as parsing it.

-- 
Ernest MacDougal Campbell III, MCP+I, MCSE <dougal at g...>
http://dougal.gunters.org/ http://spam.gunters.org/
Web Design & Development: http://www.mentalcollective.com/
This message is guaranteed to be 100% eror frea!




More information about the foaf-dev mailing list