Your Web site processes book orders. One of the application methods contains the following code segment.Dim doc As New XmlDocument()doc.LoadXml("10" &_"Dictionary")You need to remove the discount element from XmlDocument. Which two code segments can you use to achieve this goal? ()
A. Dim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.FirstChild)
B. Dim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.SelectSingleNode("discount"))
C. doc.RemoveChild(doc.FirstChild)
D. doc.DocumentElement.RemoveChild(doc.FirstChild)
第1题:
A.application.xml
B.weblogic.xml
C.web.xml
D.weblogic-application.xml
E.config.xml
第2题:
3、在本地站点中有如下两文件 G:\site\other\index.html G:\site\web\article\01.html index.htm要想链接到01.html这个文件,正确的链接路径应该是:
A.href=“01.html”
B.href=“web/article/01.html”
C.href=“../web/article/01.html”
D.href=“../../web/article/01.html”
第3题:
1、当有用户请求 Web页面时,会触发()事件?
A.Application_Start()
B.Session_Start()
C.Application_End()
D.Session_End()
第4题:
A、a,an
B、a,one
C、on,an
D、one,one
第5题:
下面选项中,创建Servlet类后需要在哪个配置文件中进行配置()。
A.web-config.xml
B.application.xml
C.config.xml
D.web.xml
第6题:
当有用户请求 Web页面时,会触发()事件?
A.Application_Start()
B.Session_Start()
C.Application_End()
D.Session_End()