---
schema_version: "1"
id: cf3d488da298a1e2e3204da8cc72faee2174bc1be70542ace155fec60ac20beb
title: Dtd Types (dw::xml::Dtd)
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.11/dw-dtd-types.md
canonical_url: https://docs.mulesoft.com/dataweave/2.11/dw-dtd-types
source_site: docs.mulesoft.com
content_type: documentation
content_hash: f9872ad7480432c9e12a70c9f70882cb82d0c16f07ef8c81e52e64ea1cbc0602
description: MuleSoft Documentation Site
release: "2.11"
latest: false
---
---
product: DataWeave
version: 2.11
---

# Dtd Types (dw::xml::Dtd)

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

<table><colgroup><col> <col> <col></colgroup><thead><tr><th>Type</th><th>Definition</th><th>Description</th></tr></thead><tbody><tr><td><p>DocType</p></td><td><div><div><p><code>type DocType = { rootName: String, publicId?: String, systemId?: String, internalSubset?: String }</code></p></div></div></td><td><div><div><p>DataWeave type for representing a doctype declaration that is part of an XML file. Supports the following fields:</p></div><div><ul><li><p><code>rootName</code>: Root element of the declaration.</p></li><li><p><code>publicId</code>: Publicly available standard (optional).</p></li><li><p><code>systemId</code>: Local URL (optional).</p></li><li><p><code>internalSubset</code>: Internal DTD subset (optional).</p></li></ul></div><div><p><em>Introduced in DataWeave version 2.5.0.</em></p></div></div></td></tr></tbody></table>
