?? 例9-6.html
字號:
<HTML>
<HEAD>
<TITLE>獲得節點信息 </TITLE>
</HEAD>
<BODY bgcolor=#ffffff>
<SCRIPT LANGUAGE="VBScript" >
Dim myDocument
Set myDocument = CreateObject("microsoft.xmldom")
myDocument.async = False
myDocument.load("BOOKS.XML")
set root=mydocument.DocumentElement
Set firstNode = root.firstChild
document.write "the firstnode's name is === " & firstnode.nodename & "<br>"
document.write "the fistnode's value is === " & firstnode.text & "<br>"
</SCRIPT>
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -