While not my ambition to do this, my answer is that both Peter and Lasse
have probably made the (correct) assumption that Neo store data as
key-value pairs much more efficiently than many DOM-based XML native DB's.
My company, XML Global, used to have one of the first XML DB's back in
1998. To me a tree is a specialized type of graph.
I would presume (hopefully someone will correct me if I am wrong) that
querying XML is less efficient than traversing graph nodes given the
requirements to hold the entire tree in memory. A tree is also a
specialized type of graph IMO and storing elements as nodes seems to make
sense (caveat - I have not done it personally). Querying for a specific
node over multiple instances of a tree structure would probably not scale
as well either.
I would love to hear from Peter on this. It would make a good topic for a
tutorial.
Duane Nickull
***********************************
Technoracle Advanced Systems Inc.
Consulting and Contracting; Proven Results!
i. Neo4J, PDF, Java, LiveCycle ES, Flex, AIR, CQ5 & Mobile
b.
http://technoracle.blogspot.com
t. @duanechaos
"Don't fear the Graph! Embrace Neo4J"
From: Dmitriy Shabanov <
shab...@gmail.com>
Reply-To: <
ne...@googlegroups.com>
Date: Tuesday, 18 September, 2012 10:12 PM
To: <
ne...@googlegroups.com>
Subject: Re: [Neo4j] Importing XML into neo4j
--