apoc.xml.parse

Details

Syntax

apoc.xml.parse(data [, path, config, simple ])

Description

Parses the given XML STRING as a MAP.

Arguments

Name

Type

Description

data

STRING

The XML data to parse.

path

STRING

An xPath expression. The default is: /.

config

MAP

A config map describing whether or not to fail on an encountered error; { failOnError = true :: BOOLEAN } The default is: {}.

simple

BOOLEAN

Specify simple mode to make XML elements accessible via a property of the element name prefixed with an _. The default is: false.

Returns

MAP