---
schema_version: "1"
id: 818ea13329b131bc59e750f130b7be2fa404a87acfad8aee0aca81123848495b
title: XML Support
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexcode/apex_xml_support.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_xml_support.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0f9adacb263743e0ed53cdce0df7f7e7ede4a76a216b0987ea96b951399398e7
description: Apex provides utility classes that enable the creation and parsing of XML content using streams and the DOM.
---
# XML Support

Apex provides utility classes that enable the creation and parsing of XML content using streams and the DOM.

This section contains details about XML support.

- **[Reading and Writing XML Using Streams](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_xml_streaming.htm)**  
    Apex provides classes for reading and writing XML content using streams.
- **[Reading and Writing XML Using the DOM](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_xml_dom.htm)**  
    Apex provides classes that enable you to work with XML content using the DOM (Document Object Model).