apoc.load.xml

Procedure

apoc.load.xml('http://example.com/test.xml', 'xPath',config, false) YIELD value as doc CREATE (p:Person) SET p.name = doc.name load from XML URL (e.g. web-api) to import XML as single nested map with attributes and _type, _text and _childrenx fields.

Signature

apoc.load.xml(url :: STRING?, path = / :: STRING?, config = {} :: MAP?, simple = false :: BOOLEAN?) :: (value :: MAP?)

Input parameters

Name Type Default

url

STRING?

null

path

STRING?

/

config

MAP?

{}

simple

BOOLEAN?

false

Output parameters