Thanks everyone for the input! It seems not to be an obvious consensus - not sure how to proceed here. But anyway, good to see I am not alone with this problem!
Cheers, /peter neubauer COO and Sales, Neo Technology GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Relationships count. http://www.linkedprocess.org - Distributed computing on LinkedData scale On Wed, Dec 2, 2009 at 7:07 AM, David Montag <da...@montag.se> wrote: > Hi Peter, > > I may be jumping in on this prematurely, but as I've understood it, the > graph in Neo4j should be centered around your domain model. And generic XML > nodes don't really map to any such model, unless you're specifically writing > an XML database. So my gut feeling tells me that some utils making #2 easier > would be more useful than #1. But ymmv, as always. > > -David > > On Tue, Dec 1, 2009 at 6:13 PM, Peter Neubauer < > peter.neuba...@neotechnology.com> wrote: > >> Hi folks, >> I have come over the problem of importing data form XML files a lot >> lately. There are 2 approaches that emerged after discussions with >> Craig Taverner: >> >> 1. Write a generic utility: take the XML DOM tree and directly put it >> as-is into Neo4j, then later write code to connect the interesting >> nodes to your domain, maybe discard the DOM tree after that. >> >> 2. Write a specific domain parser: Filter out interesting info with >> e.g. XPath, then create only the relevant information as a graph in >> Neo4j. >> >> Now, 1) sounds like a generic import utility that would be very handy. >> OTOH, I wonder how common the problem is and what you guys would >> prefer, 1) or 2)? >> >> -- >> >> Cheers, >> >> /peter neubauer >> >> COO and Sales, Neo Technology >> >> GTalk: neubauer.peter >> Skype peter.neubauer >> Phone +46 704 106975 >> LinkedIn http://www.linkedin.com/in/neubauer >> Twitter http://twitter.com/peterneubauer >> >> http://www.neo4j.org - Relationships count. >> http://www.linkedprocess.org - Distributed computing on LinkedData scale >> _______________________________________________ >> Neo mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user >> > _______________________________________________ > Neo mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user