Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> XML Management > xmlDTD

xmlDTD

XML DTDオブジェクトを作成

呼び出し手順

dtd = xmlDTD(path)

引数

path

有効なファイルのパスを指定する文字列

dtd

XMLValid型のmlist

説明

文書をDTDで検証する際に有用です.

doc = xmlRead("SCI/modules/xml/tests/unit_tests/library.xml");
dtd = xmlDTD("SCI/modules/xml/tests/unit_tests/library.dtd");
// 文書が有効かどうかを確認します
// エラーが発生しない場合は有効です
xmlValidate(doc, dtd);
xmlDelete(doc, dtd);

参照

  • xmlValidate — DTD, Relax NG または Schema により文書を検証する.

履歴

バージョン記述
5.4.0 XMLモジュールが導入されました.
Report an issue
<< xmlDocument XML Management xmlDump >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:37:52 CET 2022