---
schema_version: "1"
id: a16fa5d072f7c72189e6111969d6d66118e93476e0de8f18beba3dc0451f0021
title: Dtd (dw::xml::Dtd)
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.5/dw-dtd.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.5/dw-dtd
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 1367d178bc63b8c9febf7ec515870eea7304b08ade05b784c0784c4d14cce8af
description: MuleSoft Documentation Site
release: "2.5"
latest: false
---
# Dtd (dw::xml::Dtd)

このモジュールには XML 文書型宣言を処理するためのヘルパー関数が含まれます。

このモジュールを使用するには、DataWeave コードにインポートする必要があります。その方法として、たとえば、行 ​`import * from dw::xml::Dtd`​ を DataWeave スクリプトのヘッダーに追加します。

_DataWeave バージョン 2.5.0 で導入されました。_

## [](#関数)関数

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.5/dw-dtd-functions-doctypeasstring" class="xref page">docTypeAsString</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>DocType</code>​ 値を文字列表現に変換します。</p></td>
</tr>
</tbody>
</table>

## [](#型)型

- [Dtd 型](https://docs.mulesoft.com/jp/dataweave/2.5/dw-dtd-types)