Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.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 help >> XML Management > xmlDump

xmlDump

XMLオブジェクトをダンプする

呼び出し手順

str = xmlDump(xmlObj [, indent])

引数

xmlObj

xmlObj, XML mlist

indent

indent, 論理値

str

str, 文字列の行列

説明

XMLオブジェクトをダンプします. ダンプ可能なオブジェクトは XMLDoc, XMLElement または XMLListです. indentがfalseの場合(デフォルトではtrue),インデント及び復改記号は 追加されません.

doc = xmlReadStr("<root><a att=""foo"" rib=""bar""><b>Hello</b></a></root>");
// 文書をダンプ
xmlDump(doc)

// インデントなしに文書をダンプ
xmlDump(doc, %f)

// ノードリストをダンプ
xmlDump(doc.root.children)

//要素をダンプ
xmlDump(doc.root.children(1))

xmlDelete(doc);

参照

  • xmlWrite — XML文書をファイルに書き込む

履歴

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

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:
Tue Apr 02 17:37:33 CEST 2013