Skip to main content
This gem runs in .

Overview

Use the XMLParse gem to extract and convert XML data stored within a column of your table into a structured format. This gem lets you define how Prophecy parses the XML, either by using a sample record or a user-provided schema.
The gem has a corresponding interactive gem example. See Interactive gem examples to learn how to run sample pipelines for this and other gems.

Parameters

ParameterDescription
Select column to parseSpecifies the input column containing the XML data to be parsed.
Parsing methodDetermines how Prophecy derives the schema used to parse the XML structure.
  • Parse from sample record. Prophecy uses the schema from the sample record you provide.
  • Parse from schema. Prophecy uses the schema you provide in the form of a schema struct.

Output

The output schema of the XMLParse gem includes all of the input columns and the parsed content as a struct data type. XMLParse