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.TextReaderOpens in a new tab クラスはノード一式を含むドキュメント・モデル構造を構築します。

各ノードは XML ドキュメントの異なる “コンポーネント” (要素など) を意味します。(例えば Read メソッドを呼び出して) ノード間を移動する際、%XML.TextReaderOpens in a new tab オブジェクトの NodeType プロパティは現在のノード・タイプに設定されます。

NodeType は文字列で、以下の値のうちいずれか 1 つを持つことができます。

ノード・タイプ
タイプ 説明
“attribute” XML 属性
“cdata” CDATA セクション
“chars” 文字一式 (要素のコンテンツなど)
“comment” XML コメント
“element” XML 要素の先頭
“endelement” XML 要素の終了
“entity” XML エンティティ
“processinginstruction” XML 処理命令
“ignorablewhitespace” 混在するコンテンツ・モデルのマークアップ間にある空白
FeedbackOpens in a new tab