Included in SSIS PowerPack

SSIS XML File Destination

Write simple or nested XML files from one or many Data Flow inputs, such as SQL Server, MySQL, flat files or Excel.

XML File Destination writes simple or nested XML files from single or multiple Data Flow inputs (e.g. SQL Server, MySQL, Flat File, Excel). Design the shape in a drag-and-drop layout editor with elements, attributes, document arrays and parent/child relations, then write one document for all records or one per parent record.

The trial includes XML File Destination and every other PowerPack component

XML File Destination layout editor with nested elements and parent-child relation
Define nested elements and parent/child relations in the layout editor.

Trusted by data teams worldwide

MicrosoftIBMOracleDell TechnologiesHPCiscoAT&TVerizonDHLFedExUPSWalmart

Also rated on Capterra★★★★★ , Trustpilot★★★★★ and BBBA+ — see why teams trust ZappySys

At a glance

What XML File Destination can do

XML File Destination generates simple or complex XML files from single or multiple Data Flow inputs. In a few clicks you can shape XML from one or many tables, including parent/child nested documents.

Nested XML from multiple inputs

Generate simple or complex XML files from single or multiple Data Flow inputs (e.g. SQL Server, MySQL, Flat File, Excel).

  • Parent/child nested documents from multiple tables
  • Any Data Flow source can be attached (SQL Server, MySQL, Flat File, Excel and more)

Component help

Drag & drop layout editor

Design the XML shape in an easy drag-and-drop layout editor.

  • Elements, attributes and document arrays
  • Add or edit input datasets and parent/child relations

See the layout editor

Output modes

Choose one XML document for all records or one per parent record with OutputMode.

  • One XML document for all records (batching allowed)
  • One XML document for each parent record, or a single dataset array (batching allowed)
  • ArrayBatchSize sets rows per batch for single dataset array mode

Component properties

Namespaces & declaration

Control namespaces, the root element and the XML declaration.

  • Namespaces, RootElementName and RootElementPrefix (e.g. <ns1:Root>)
  • DoNotOutputXmlDeclaration and XmlStandAlone

Component properties

NULL & empty-node handling

Leave out NULL attributes or elements and empty nested nodes.

  • DoNotOutputNullAttribute (otherwise output as xsi:nil="true")
  • DoNotOutputEmptyNestedAttribute

Component properties

Header, footer & formatting

Add document header and footer text and control indentation and culture-based formats.

  • DocumentHeader / DocumentFooter, or from an upstream column
  • IndentOutput for pretty print
  • DateTimeFormat and Culture

Component properties

File write & encoding

Overwrite or append to the target file and choose the character encoding.

  • OverwriteIfExists and Append
  • Encoding or CharacterSet (e.g. ISO-8859-1)

Component properties

SQL Server 2012–2025 & ADF

Runs in your environment on SQL Server 2012–2025 and Azure-SSIS.

  • SQL Server 2025, 2022, 2019, 2017, 2016, 2014, 2012 (32/64-bit)
  • Azure Data Factory (SSIS IR)
  • Design packages in Visual Studio 2017, 2019, 2022, or 2026
  • Windows only (64-bit OS): Windows 7–11 or Windows Server 2012–2025

Compatibility and requirements

See all features
  • Generate complex XML from single or multiple inputs
  • Easy drag & drop layout editor for nested XML (arrays, attributes, elements)
  • Parent/child nested documents from multiple tables
  • Works with any upstream Data Flow source (e.g. SQL Server, MySQL, Flat File, Excel)
  • Output modes: one document for all records, one per parent record, single dataset array
  • Namespaces, root element name and prefix
  • Optional XML declaration and standalone attribute
  • Skip NULL attributes/elements and empty nested nodes
  • Document header and footer text
  • Indent output (pretty print), date/time format and culture settings
  • Overwrite or append to the target file
  • Encoding and character set options
  • Logging modes with optional timestamp prefix
  • Support for SQL Server 2025, 2022, 2019, 2017, 2016, 2014, 2012 (32/64-bit) and Azure Data Factory

Runs in your environment ·

SQL Server 2012–2025

and Azure-SSIS · Read the FAQ

How it works

From the toolbox to your first run.

Connect inputs, pick the file and output mode, then shape the XML in the layout editor.

Connect inputs and pick the target file.

Connect one or more upstream components to XML File Destination, for example customers and orders. In the editor, select the File Connection, check Overwrite target file, set Output Mode (for example one XML document for each parent record) and check Indent Output.

  • Single or multiple inputs from any Data Flow source
  • One document for all records, per parent record, or single dataset array
  • OverwriteIfExists or Append
Data flow with multiple inputs writing an XML file through XML File Destination

Inside the UI

Key settings, as they appear in SSDT.

Real screens from the XML File Destination product page. Step through them, or open any shot at full size.

Create XML File from multiple input sources

Connect several upstream inputs to one XML File Destination and join them into nested XML.

Compatibility and requirements

Designed to stay inside your SSIS runtime.

  • SQL Server 2012 through 2025, 32-bit and 64-bit
  • Windows only, 64-bit OS required. SQL Server Express and Web editions do not include SSIS
  • Azure Data Factory SSIS Integration Runtime
  • Self-hosted: credentials and data stay in your environment (external API calls still reach that service)
  • Fully functional 30-day trial of SSIS PowerPack

FAQ

Questions teams ask before they drop XML File Destination on the canvas.

What is XML File Destination?

A Data Flow destination in SSIS PowerPack that writes simple or nested XML files from single or multiple inputs (e.g. SQL Server, MySQL, Flat File, Excel). A drag-and-drop layout editor defines elements, attributes, document arrays and parent/child relations, and the output goes to a File Connection.

How is it different from XML Generator Transform?

The layout editor and concepts are almost identical. XML Generator Transform outputs XML in a column for downstream components, while XML File Destination writes the XML to a file through a File Connection.

Which output modes are available?

OutputMode offers Output One XML Document for all records, Output One XML Document for each parent record, and Single Dataset Array, where ArrayBatchSize sets how many rows go in each batch (0 = all in one).

Can I control namespaces, NULLs and encoding?

Yes. Set Namespaces, RootElementName and RootElementPrefix, turn off the XML declaration, and use DoNotOutputNullAttribute to skip NULL values instead of writing xsi:nil="true". Choose an Encoding with or without BOM, or a CharacterSet such as ISO-8859-1.

Which SQL Server versions can I run it on?

SQL Server 2025, 2022, 2019, 2017, 2016, 2014, and 2012 (32- and 64-bit), plus Azure Data Factory with an SSIS Integration Runtime (packages must target SQL Server 2017). See Compatibility and requirements.

Independent ratings

Trusted by data teams, recognized by the industry

See why teams trust ZappySys (opens in new tab)

What customers say

  • Customer story

    ZappySys has been a fantastic way to bring our small company into the world of APIs, automation, and systems integration by providing tools within an easy-to-use framework.

    Ben KingeryOxspring Paul
  • Customer story

    At Synchronous Customers, we need to connect various types of data quickly. The super handy ZappySys connectors and great documentation let us do it without writing a lot of code.

    Joel ConnerSynchronous Customers
  • Customer story

    I looked everywhere for a product that could integrate to a web portal backend API via JSON. After many attempts, ZappySys was the only solution that gave me all the options I needed in a quick & clean interface within SSIS.

    Maz DunicSave the Children Australia
  • Customer story

    We have worked with the ZappySys support team for over a year and have consistently found them extremely helpful — resourceful and creative in offering multiple solutions to our challenges.

    Senthil SekarPublicis Groupe
  • Trustpilot

    I’ve been using ZappySys for over 6 years — it makes development faster, and I introduced it to my current company.

    Anna JohnsonTrustpilot review
  • Trustpilot

    I’m integrating data from APIs into database tables with SSIS/ZappySys — very easy to use, fast, and highly efficient without writing complex code.

    Carolyn S.Trustpilot review
  • Customer quote

    I submitted a support request and had someone logged in and fixing things within 2 hours.

    Barry Wilson
  • Customer quote

    The REST source is very powerful — the only thing I found I could use after trying components from major vendors.

    Jes KirkupKTC
  • Customer quote

    Whenever we run into an obstacle, ZappySys has a solution for us. We are so glad that we chose ZappySys PowerPack.

    Kevin ChenBerricle

Start your free trial today

Install SSIS PowerPack and drag XML File Destination onto the Data Flow.

Shape nested XML from any Data Flow source in a visual editor and write it straight to a file.

  • Data Flow Destination in SSISXML File Destination appears in the toolbox after you install PowerPack.
  • Fully functional 30-day trialSSIS PowerPack, running in your environment.
  • Live supportHelp during your trial and after purchase.

New purchases may be eligible for refund review within 30 days. See the refund policy.

Talk to an engineer before or during your trial.

1 / 6