分析以下DTD文档: <!--ELEMENT doc(title?,chap*)--> <!-- ELEMENT title(#PCDATA)--> <!-- ELEMENT chap(sect+)--> <!-- ELEMENT sect(para+)--> <!-- ELEMENT para(#PCDATA)--> 下面的XML实例能够通过DTD的校验。() A、<doc><chap><para>Text</para></chap></doc>B、<doc><chap><sect><para>Text</para></chap></doc>C、<doc><title>Text</title></doc>(*红色)D、<doc><title>Text</title><sect><para>Text</para></sect></doc>
分析以下DTD文档: <!--ELEMENT doc(title?,chap*)--> <!-- ELEMENT title(#PCDATA)--> <!-- ELEMENT chap(sect+)--> <!-- ELEMENT sect(para+)--> <!-- ELEMENT para(#PCDATA)--> 下面的XML实例能够通过DTD的校验。()
- A、<doc><chap><para>Text</para></chap></doc>
- B、<doc><chap><sect><para>Text</para></chap></doc>
- C、<doc><title>Text</title></doc>(*红色)
- D、<doc><title>Text</title><sect><para>Text</para></sect></doc>
相关考题:
Using the situation stated in the Special window, which WBS element has a favorable cost variance of $150?A . Element PB . Element QC . Element RD . Element SE . None of the above.
Using the situation stated in the Special window, which WBS element is behind schedule but under budget?A . Element PB . Element QC . Element RD . Element SE None of the above.
在J2EE中,假设sample.xml文档有一个元素是,它有个子元素是。我们已经获得了Document对象doc,取出第一个的第一个资源的值的代码是()。 A.((Element)doc.getElementsByTagName(“PERSON”).item(0)).getNodeValue()B.((Element)doc.getElementsByTagName(“PERSON”).item(0)).getElementsByTagName(“NAME”).item(0).getFirstChild().getNodeValue()C.((Element)doc.getElementsByTagName(“PERSON”).item(0)).getElementsByTagName(“NAME”).item(0).getNodeValue()D.((Element)doc.getElementsByTagName(“PERSON”).item(0)).item(0).getNodeValue()
Which profile configurations allows either PAP or CHAP to be used for authentication?() A.ppp authentication chap papB.pppoe authentication chap papC.ppp authentication chap ppp authentication papD.pppoe authentication chap pppoe authentication pap
Which two statements about using the CHAP authentication mechanism in a PPP link are true?() A.CHAP uses a two-way handshakeB.CHAP authentication periodically occurs after link establishmentC.CHAP has no protection from playback attacksD.CHAP authentication is performed only upon link establishmentE.CHAP uses a three-way handshakeF.CHAP authentication passwords are sent in plaintext
在J2EE中,使用()选项中的代码,可以生成如下XML文档: Tony Blair A、Element people = doc.createElement("PEOPLE"); Element person = doc.createElement("PERSON"); Element name = doc.createElement("NAME"); name.appendChild(doc.createTextNode("Tony Blair")); people.appendChild(person); person.appendChild(name); doc.appendChild(people);B、Element people = doc.createElement("PEOPLE"); Element person = doc.createElement("PERSON"); people.appendChild(person); Element name = doc.createElement("NAME"); name.appendChild(doc.createTextNode("Tony Blair")); person.appendChild(name); doc.appendChild(people);C、Element people = doc.createElement("PEOPLE"); Element person = doc.createElement("PERSON"); people.appendChild(person); Element name = doc.createElement("NAME"); name.appendText(doc.createTextNode("Tony Blair")); person.appendChild(name); doc.appendChild(people);D、Element people = doc.createElement("PEOPLE"); Element person = doc.createElement("PERSON");Element name = doc.createElement("NAME"); name.createTextNode("Tony Blair"); people.appendChild(person); person.appendChild(name); doc.appendChild(people);
分析以下在DTD文档: <!ELEMENT doc(title?,chap*)> <!ELEMENT title(#PCDATA)> <!ELEMENT chap(sect+)> <!ELEMENT sect(para+)> <!ELEMENT para(#PCDATA)> 下面的XML实例()能够通过DTD的校验。 A、<doc><chap><para>Text</para></chap></doc>B、<doc><title>Text</title></doc>C、<doc><chap><sect><para>Text</para></sect></chap></doc>D、<doc><title>Text</title><sect><para>Text</para></sect></doc>
以下关于PAP和CHAP的描述,正确的是()。A、pap传递密码,chap不传递密码B、pap不能加密,chap可以加密C、pap两次交互,chap三次交互D、pap认证由client端发起,chap由server端发起
which command is used to enable CHAP authentication whit PAP as the fallback method on a serial interface?()A、(config-if)#authentication ppp chap fallback pppB、(config-if)#authentication ppp chap papC、(config-if)#ppp authentication chap papD、(config-if)#ppp authentication chap fallback ppp
考虑如下的XML.Schema示例 <xs:element name=”Price”><xs:complexType><xs:attribute name=”currency”type=”xs:string”/></xs:complexType></xs:element> 属性currency声明等同于下面选项()的DTD声明。A、<!ATTLISTPricecurrencyCDATA#REQUIRED>B、<!ATTLISTPricecurrencyCDATA#FIXED>C、<!ATTLISTPricecurrencyCDATA#IMPLIED>D、<!ATTLISTPricecurrencyPCDATA#IMPLIED>
下面的文件正确吗?为什么?用IE和本章中的解析器验证你的结论。 mes.dtd <!ELEMENT message ANY> <!ELEMENT persion (name,age?,lxfs)> <!ELEMENT lxfs (#PCDATA,tel|email)*> <!ELEMENT name (first,last)> <!ATTLIST name sex (male|female) "male"> <!ELEMENT first %pc; > <!ELEMENT last %pc;> <!ELEMENT age %pc;> <!ELEMENT tel %pc;> <!ELEMENT email %pc;> <!ENTITY % pc “(#PCDATA)”> <!ELEMENT emergency EMPTY> <!ATTLIST emergency fire CDATA #FIXED "119" police CDATA #FIXED "110" hospital CDATA #FIXED "120" > mes.xml <?xml version="1.0" encoding="gb2312"?> <!DOCTYPE SYSTEM "mes.dtd"> <message> <persion> <name sex="男"> <first>li</first> <last>xiao</last> </name> <age>25</age> <lxfs> <tel>123456</tel> </lxfs> </persion> <persion> <name> <first>wang</first> <last>xiao</last> </name> <lxfs></lxfs> </persion> <emergency fire="120" police="110" /> </message>
下列关于PAP和CHAP认证的正确说法是()A、由于CHAP不以明文发送的密码,所以CHAP比PAP更安全B、接收来自多点的呼叫必须配置PAP或CHAP验证才能拨通C、PAP和CHAP都是PPP的验证方式D、配置PAP或CHAP的目的是为了区分呼叫点和安全方面的考虑
在jQuery的层次选择器中,要选取紧接在element1元素后的一个element2元素,正确的是()。A、$(element1空格element2)B、$(element1element2)C、$(element1+element2)D、$(element1~element2)
Which two statements about using the CHAP authentication mechanism in a PPP link are true?()A、CHAP uses a two-way handshakeB、CHAP authentication periodically occurs after link establishmentC、CHAP has no protection from playback attacksD、CHAP authentication is performed only upon link establishmentE、CHAP uses a three-way handshakeF、CHAP authentication passwords are sent in plaintext
which command is used to enable CHAP authentication whit PAP as the fallback method on a serialinterface?()A、(config-if)#authentication ppp chap fallback pppB、(config-if)#authentication ppp chap papC、(config-if)#ppp authentication chap papD、(config-if)#ppp authentication chap fallback ppp
在J2EE中,假设sample.xml文档有一个元素是,它有个子元素是。我们已经获得了Document对象doc,取出第一个的第一个子元素的值的代码是()。 A、((Element).doc.getElementsByTagName(“PERSON”).item(0)).getNodeValue;B、 ((Element).doc.getElementsByTagName(“PERSON”).item(0)).getFristChild().getNodeValue();C、 ((Element).doc.getElementsByTagName(“PERSON”).item(0)).getElementsByTagName(“NAME”).item(0).getNodeValue();D、 ((Element).doc.getElementsByTagName(“PERSON”).item(0)).item(0).getNodeValue();
Which profile configurations allows either PAP or CHAP to be used for authentication?()A、ppp authentication chap papB、pppoe authentication chap papC、ppp authentication chap ppp authentication papD、pppoe authentication chap pppoe authentication pap
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)
Your Web site processes book orders. One of the application methods contains the following code segment. XmlDocument doc = newXmlDocument( ); doc.LoadXml(“10”+” Dictionary”); You need to remove the discount element from XmlDocument. Which two code segments can you use to achieve this goal? (Each correct answer presents a complete solution. ()A、XmlNode root = doc.DocumentElement;root.RemoveChild(root.FirstChild);B、XmlNode root = dec.DocumentElement;root.RemoveChild(root.SelectSingleNode(“discount”));C、doc.RemoveChild(doc.FirstChild);D、doc.DocumentElement.RemoveChild(doc.FirstChild);
多选题Your Web site processes book orders. One of the application methods contains the following code segment. XmlDocument doc = newXmlDocument( ); doc.LoadXml(“10”+” Dictionary”); You need to remove the discount element from XmlDocument. Which two code segments can you use to achieve this goal? (Each correct answer presents a complete solution. ()AXmlNode root = doc.DocumentElement;root.RemoveChild(root.FirstChild);BXmlNode root = dec.DocumentElement;root.RemoveChild(root.SelectSingleNode(“discount”));Cdoc.RemoveChild(doc.FirstChild);Ddoc.DocumentElement.RemoveChild(doc.FirstChild);
多选题以下关于PAP和CHAP的描述,正确的是()。Apap传递密码,chap不传递密码Bpap不能加密,chap可以加密Cpap两次交互,chap三次交互Dpap认证由client端发起,chap由server端发起
多选题在J2EE中,使用()选项中的代码,可以生成如下XML文档: Tony BlairAElement people = doc.createElement(PEOPLE); Element person = doc.createElement(PERSON); Element name = doc.createElement(NAME); name.appendChild(doc.createTextNode(Tony Blair)); people.appendChild(person); person.appendChild(name); doc.appendChild(people);BElement people = doc.createElement(PEOPLE); Element person = doc.createElement(PERSON); people.appendChild(person); Element name = doc.createElement(NAME); name.appendChild(doc.createTextNode(Tony Blair)); person.appendChild(name); doc.appendChild(people);CElement people = doc.createElement(PEOPLE); Element person = doc.createElement(PERSON); people.appendChild(person); Element name = doc.createElement(NAME); name.appendText(doc.createTextNode(Tony Blair)); person.appendChild(name); doc.appendChild(people);DElement people = doc.createElement(PEOPLE); Element person = doc.createElement(PERSON);Element name = doc.createElement(NAME); name.createTextNode(Tony Blair); people.appendChild(person); person.appendChild(name); doc.appendChild(people);
多选题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? ()ADim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.FirstChild)BDim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.SelectSingleNode(discount))Cdoc.RemoveChild(doc.FirstChild)Ddoc.DocumentElement.RemoveChild(doc.FirstChild)
单选题在jQuery的层次选择器中,要选取紧接在element1元素后的一个element2元素,正确的是()。A$(element1空格element2)B$(element1element2)C$(element1+element2)D$(element1~element2)