将Neo4j DB转换为XML? [英] Convert Neo4j DB to XML?
本文介绍了将Neo4j DB转换为XML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以将Neo4J数据库文件转换为XML吗?
Can I convert Neo4J Database files to XML?
推荐答案
我同意,如果您对XML的详细程度没有任何疑问,GraphML是必经之路.一种简单的方法是从克里姆林宫中打开Neo4j图,其中GraphML是默认的导入/导出格式,像
I agree, GraphML is the way to go, if you don't have problems with the verbosity of XML. A simple way to do it is to open the Neo4j graph from Gremlin, where GraphML is the default import/export format, something like
peters: ./gremlin.sh
gremlin> $_g := neo4j:open('/tmp/neo4j')
==>neograph[/tmp/neo4j, vertices:2, edges:1]
gremlin> g:save('graphml-export.xml')
能解决您的问题吗?
这篇关于将Neo4j DB转换为XML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文