POC XML Import for Neo4j
-
Build it:
mvn clean package
-
Copy target/xml-import-1.0-SNAPSHOT.jar to the plugins/ directory of your Neo4j server.
-
Edit your Neo4j/conf/neo4j.conf file by adding this line:
dbms.security.procedures.unrestricted=com.maxdemarzi.*
-
(Re)Start Neo4j server.
-
Call the procedure:
CALL com.maxdemarzi.importXML('/Users/maxdemarzi/Projects/neo_xml/src/main/resources/data/xmlfeed.zip')
-
Check the nodes that were created:
MATCH (n:Listing) RETURN n LIMIT 25