---
schema_version: "1"
id: e3d261d4a7141dfd3702925f1ebebe9db28bd6dfd138a130b5af7aee9d55f707
title: Dtd (dw::xml::Dtd)
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.7/dw-dtd.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.7/dw-dtd
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 54541f9db20d56682f2a9cf9c81a642f1936153d1ac7e7cd9be18b623fd4c33c
description: MuleSoft Documentation Site
release: "2.7"
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.7/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.7/dw-dtd-types)