Hi, this seems to work (with file:/// .. i.e 3 slashed) although i assumed that the file location could be relative to the import directory and i did not get a file not found error .. anyways .. thanks !
regards koen 2017-12-13 14:45 GMT+01:00 'Michael Hunger' via Neo4j < [email protected]>: > try file://path/to/test.xml > > > > On Wed, Dec 13, 2017 at 2:27 PM, koen <[email protected]> wrote: > >> Hi, i am trying to load an xml file but keep getting an error like: >> >> Failed to invoke procedure `apoc.load.xml`: Caused by: java.lang.Exception: >> java.net.UnknownHostException: test.xml >> >> the cypher query: >> >> call apoc.load.xml('file://test.xml','',{},TRUE) YIELD value return value >> >> >> I can access apoc function and procedures and i also added the statement to >> the conf file to allow import via xml (apoc.import.file.enabled=true' >> >> It can find the xml file >> >> Any ideas ? Do i need more cypher around it to just load it (as a first step' >> >> many than ks >> >> regards koen >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Neo4j" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Neo4j" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/neo4j/nnjDhXDE-Rg/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Groeten / Best Regards, Koen -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
