Convert Neo4j DB to XML?

前端 未结 4 510
粉色の甜心
粉色の甜心 2020-12-28 07:54

Can I convert Neo4J Database files to XML?

4条回答
  •  眼角桃花
    2020-12-28 08:30

    I don't believe anything exists out there for this, not as of few months ago when messing with it. From what I saw, there are 2 main roadblocks:

    1. XML is hierarchical, you can't represent graph data readily in this format.
    2. Lack of explicit IDs for nodes. Even though implicit IDs exist it'd be like using ROWID in oracle for import/export...not guaranteed to be the same.

    Some people have suggested that GraphML would be the proper format for this, I'm inclined to agree. If you don't have graphical structures and you would be fine represented in an XML/hierarchical format...well then that's just bad luck. Since the majority of users who would tackle this sort of enhancement task are using data that wouldn't store that way, I don't see an XML solution coming out...more likely to see a format supporting all uses first.

提交回复
热议问题