搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

你正在创建一个装载大 XML 文档的 ASP.NET Web 应用并且使用 Xpath 去查询和过滤 XML 文档。由于文档比较大,所以性能是一个关键因素。已知,用户不需要修改文档内容。请问,你应该使用那个类?()

A、XpathNavigator

B、XmlReader

C、XpathDocument

D、XmlDocument

更多“你正在创建一个装载大 XML 文档的 ASP.NET Web 应用并且使用 Xpath 去查询和过滤 XML 文档。由于文档比较大,所以性能是一个关键因素。已知,用户不需要修改文档内容。请问,你应该使用那个类?()”相关的问题
第1题

A、通过使用带有XmlReaderSettings 参数XmlReader Create方法创建一个XmlReader 实例。  B、使用XmlTextReader 参数创建一个XmlReader 实例。  C、创建一个XmlDocument 实例并且指定架构位置。  D、使用XmlNodeReader参数创建一个XmlReader 实例。  

点击查看答案
第2题

AA.使用XmlDocument对象读取XML数据,同时指定相应架构文件。  B、B.为XmlReader对象XmlReaderSettings设置ValidationEventHandler;  C、C.使用DataSet对象读取XML文件,并且设置EnforceConstraints属性为True;  D、D.使用DataSet对象读取XML文件,并且在DataSet.MergeFailed事件中分析数据看是否符合XML架构。  

点击查看答案
第3题

A、subscriber.DocumentElement.Attributes("phone").Value  B、subscriber.DocumentElement.ChildNodes[2].Value  C、subscriber.FirstChild.Attributes("phone").Value  D、subscriber.GetElementById("phone").Value  E、subscriber.DocumentElement.GetAttributeNode("phone").Value  

点击查看答案
第6题

AXmlDocument doc = new XmlDocument();doc.Load("subscribers.xml");XmlDeclaration xmldecl = doc.CreateXmlDeclaration("encoding", "Unicode");  B、XmlDocument doc = new XmlDocument();doc.Load("subscribers.xml"); XmlDeclaration xmldecl = doc.CreateXmlDeclaration("1.0", null, "yes");  C、XmlDocument doc = new XmlDocument(); doc.Load("subscribers.xml"); XmlDeclaration xmldecl = doc.CreateXmlDeclaration("1.0", "Unicode", "yes");  D、XmlDocument doc = new XmlDocument(); doc.Load("subscribers.xml"); XmlDeclaration xmldecl = doc.CreateXmlDeclaration("1.0", "Unicode");  

点击查看答案
第7题

A、使用SELECT语句包含FORXMLAUTO子句把数据从XML文档拷贝到适当表中。  B、使用SELECT语句包含FORXMLEXPLICIT子句把数据从XML文档拷贝到适当表中。  C、使用OPENXML功能来访问数据并把它插入适当表中。  D、在SalesXML表中创建一个视图来显示XML文档内容。使用SELECTINTO语句来把视图中数据插入适当表中。  

点击查看答案
第8题

A、将XML文档存于以nvarchar(max)为数据类型一列中  B、分割此XML文档并将其存储于在一个关系结构中  C、将XML文档存于以XML为数据类型一列中  D、将XML文档存于以varchar(8000)为数据类型一列中  

点击查看答案
第9题

AXmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“.”);  B、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“book”);  C、XmlElement root = doc.DocumentElement; XmlNodeList nodes =root.SelectNodes(“bookstore//book”);  D、XmlElement root = doc.DocumentElement; XmlNodeList nodes =root.SelectNodes(“books/book”);  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服