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 > htmlDump

htmlDump

HTML文書をダンプ

呼び出し手順

str = htmlDump(xmlDoc [, indent])

引数

xmlDoc

xmlDoc, XML文書

indent

indent, 論理値

str

str, 文字列の行列

説明

HTML文書をダンプします. indentがfalseの場合 (デフォルト値: true), インデントは行われず, 復改が追加されます.

doc = htmlReadStr(["<!DOCTYPE html PUBLIC ""-//W3C//DTD HTML 4.01//EN""";
                   """http://www.w3.org/TR/html4/strict.dtd"">";
                   "<html lang=""en"">";
                   "  <head>";
                   "    <meta http-equiv=""content-type"" content=""text/html; charset=utf-8"">";
                   "    <title>title</title>";
                   "    <link rel=""stylesheet"" type=""text/css"" href=""style.css"">";
                   "    <script type=""text/javascript"" src=""script.js""></script>";
                   "  </head>";
                   "  <body>";
                   "  </body>";
                   "</html>"]);
// HTML文書をダンプ
htmlDump(doc)
// インデントせずにHTML文書をダンプ
htmlDump(doc, %f)
// 文書に関連するリソースを開放
xmlDelete(doc);

参照

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

履歴

VersionDescription
5.5.0 HTML機能追加.
Report an issue
<< XML Management XML Management htmlRead >>

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