<< xmlGetOpenDocs XML Management xmlIsValidObject >>

Scilab Help >> XML Management > xmlGetValues

xmlGetValues

設定値を取得

呼び出し手順

xmlGetValues(xpath, attributes [, doc])

引数

xpath

文字列, 設定ファイルのノードを取得する XPathリクエストを表す.

attributes

文字列の行列, 属性名.

doc

XMLDoc型のmlist, 設定ファイルのXML文書.

説明

This page is not up-to-date. Please consider the english version.

設定ファイル(SCIHOME+'/XConfiguration.xml')の 属性の値を取得します.

docを指定した場合, 値はこの文書内で探されます. 複数のリクエストを実行する必要がある際, 同じ設定ファイルを重複してパースすることを避けるために 有用です.

有効な任意のXPathリクエストを指定できます. 例えば,proxy設定を取得するXPathリクエストは以下のように 記述できます:

xmlGetValues("//web/body/proxy", ["enabled", "host", "port"]);

参照

History

VersionDescription
6.0.2 xmlGetValues() introduced, was formerly getPreferencesValue().

Report an issue
<< xmlGetOpenDocs XML Management xmlIsValidObject >>