XML DOM implementation 屬性


Document 對象參考手冊 Document 對象

定義和用法

implementation 屬性返回處理該文檔的 DOMImplementation 對象。

語法

documentObject.implementation


實例

下麵的代碼片段使用 loadXMLDoc() 把 "books.xml" 載入 xmlDoc 中,並返回處理該文檔的 DOMImplementation 對象:

實例

xmlDoc=loadXMLDoc("books.xml");

document.write(xmlDoc.implementation);

Output:

[object DOMImplementation]


Document 對象參考手冊 Document 對象