Skip to main content

How to extract data from XML Attachments

Parsing XML data from email attachments is simple.  All you need to do is to set the source of your parsing rule to "Attachments".

Setting attachment as data source for parsing rule in Mailparser

Then choose "Text content (Table Cells)" in the first filter.  (If your email has multiple attachments you may also need to use the option to Filter by type or Filter by name pattern)XML data in text format showing structured nodes and elementsThis will give you all the XML data in a table format with rows and columns. You can then add different cell filters to select, crop, search, and split cells. For example, you can add a filter "Only keep rows where column 1 is an integer number".

If you prefer you can also choose to parse the XML data from text format - this will show the file with the nodes and elements included.

This can then  be parsed how you would prefer, including our filter for Extract Tabular Data Parse XML Data

Using filter to extract tabular data from XMLParsed XML data displayed in a tabular format

If you have any trouble using this feature email or chat with us!

New Design

Step 1:New design - Step 1 in parsing XML attachment

Step 2:New design - Step 2 selecting text content format

Step 3:New design - Step 3 displaying parsed XML data

Step 4:New design - Step 4 applying filters to XML content

Step 5:New design - Step 5 final output of structured XML table

Was this article helpful?
0 out of 0 found this helpful

Still stuck?

Send us your inbox name and a sample email.

Submit a request