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

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

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

Scilabヘルプ >> XML Management > xmlAppend

xmlAppend

子要素を親に追加する

呼出し手順

xmlAppend(parent, child)

引数

parent

XMLElem型のmlist

child

XMLElem型のmlist

説明

他の要素の子として要素を追加します.

doc = xmlDocument();
root = xmlElement(doc, "root");
doc.root = root;
for i=1:5
    xmlAppend(doc.root, xmlElement(doc, "child_" + string(i)));
end;
xmlDump(doc)
xmlDelete(doc);

参照

  • XML Objects — 異なるのXMLオブジェクトのプロパティを記述する
  • xmlElement — XML要素を新規に作成する

履歴

VersionDescription
5.4.1 XMLモジュールが更新されました.
Report an issue
<< xmlAddNs XML Management xmlAsNumber >>

Copyright (c) 2022-2024 (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:
Tue Feb 25 08:53:22 CET 2020