Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

%XML.TextReader の使用 4

以下の例をご覧ください。

 If (reader.NodeType = "element") {
     Write reader.Name,!
 }

これは、ドキュメント・モデルの各ノードを読み取るたびに、そのタイプをチェックします。そのノードが要素の場合、その名前を現在のデバイスに記述します。

FeedbackOpens in a new tab