以下选项中,正确的XML代码是(51)。A.<!--xml示例--> <?xml version="1.0" encoding="gb2312"> <?xml stylesssheet type="text/css" herf="mycss.css"?> <mytag>hellow world!</mytag>B.<?XML version="1.0" encoding="gb2312"> <?XML stylesssheet type="text/css" herf="mycss.css"?> <!--xml示例--> <mytag>hellow world!</mytag>C.<?XML encoding="gb2312" version="1.0"> <?xml stylesssheet type="text/CSS" herf="mycss.css"?> <!--xml示例--> <xmltag>hellow world!</xmltag>D.<!--xml示例--> <?xml version="1.0" encoding="gb2312"> <?xml stylesssheet type="text/css" herf="mycss.css"?> <xmltag>hellow world!</xmltag>
以下选项中,正确的XML代码是(51)。
A.<!--xml示例--> <?xml version="1.0" encoding="gb2312"> <?xml stylesssheet type="text/css" herf="mycss.css"?> <mytag>hellow world!</mytag>
B.<?XML version="1.0" encoding="gb2312"> <?XML stylesssheet type="text/css" herf="mycss.css"?> <!--xml示例--> <mytag>hellow world!</mytag>
C.<?XML encoding="gb2312" version="1.0"> <?xml stylesssheet type="text/CSS" herf="mycss.css"?> <!--xml示例--> <xmltag>hellow world!</xmltag>
D.<!--xml示例--> <?xml version="1.0" encoding="gb2312"> <?xml stylesssheet type="text/css" herf="mycss.css"?> <xmltag>hellow world!</xmltag>
相关考题:
在如下所示的一段XML代码中,根元素名为(41)。<?xml version="1.0" encoding="GB2312",standalone="yes"><state coursename="课程"><courseid id="0900"></courseid></state>A.xmlB.stateC.coursenameD.courseid
你正在创建一个生成 XML 文档的 ASP.NET Web 应用。你需要为文档增加一个 XML 声明。下面那个代码能够生成如下的 XML 声明?() A.XmlDocument 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);
以下选项中,正确的XML代码是(44)。A.<!--xml 示例--> <?xml version="1.0" encoding="gb2312"> <?xml stylesssheet type="text/css" heft="myess.css" ?> <mytag>hello world!</mytag>B.<?XML version="1.0" encoding="gb2312"> <?XML stylesssheet type="text/css" herf="mycss.css" ?> <!--xml示例--> <mytag>hello world! </mytag>C.<?XML encoding="gb2312" version="1.0"> <?xml stylesssheet type="text/css" heft="mycss.css" ?> <!--xml示例--> <xmltag>hello world!</xmltag>D.<!--xml示例--> <?xml version="1.0" encoding="gb2312"> <?xml stylesssheet type="text/ess" heft="mycss.css" ?> <xmltag> hello world! </xmltag>
某段XML代码如下所示。 某段XML代码如下所示。 <?xml version="1.0" encoding="GB2312" standalone="yes"> <state coursename="成绩"> <courseid id="090"></courseid> </state> 其中,根元素名为(65)。A.xmlB.stateC.coursenameD.courseid
某段XML代码如下所示。其中,根元素名为(57)。 <?xml version="1.0" encoding="GB2312" standalone="yes"> <state coursename="成绩"> <courseid id="090"></courseid> </state>A.xmlB.stateC.coursenameD.courseid
XML代码段是正确的。A.<!-xml示例-!> <?xml version="1.0" encoding="gb2312"> <?xml stylessheet type="text/css" href="mycss.css"?> <mytag> hello world! </mytag>B.<?xml version="1.0" encoding="gb2312"> <?xml stylessheet type="text/ess"href="mycss.css"?> <!-xml示例-!> <mytag> hello world! </mytag>C.<?xml version="1.0" encoding="gb2312"> <?xml stylessheet type="text/css"href="mycss.css"?> <!-xml示例-!> <xmltag> hello world! </xmltag>D.<!-xml示例-!> <?xml version="1.0" encoding="gb2312"> <?xml stylessheet type="text/css" href="mycss.css"?> <xmltag> hello world! </xmltag>
●下面的XML代码段中,语法正确的是__(44) 。(44)A. !-xml示例-1?xml version="1.0" encoding="gb2312"?xml stylessheet type="text/css" href ="mycss.css"?mytaghello world!/mytagB.?xml version="1.0"encoding="gb2312"?Xml stylessheet type="text/css" href="mycss.css"?! -xml示例-!mytaghello world!/mytagC.?xml version="1.0"encoding="gb2312"?Xml stylessheet type="text/css"href="mycss.css"?! -xml示例-!xmltaghello world!/xmltagD.!-xml示例-!?xml version="1.0" encoding="gb2312"?xml styessheet type=“text/css”href=“mycss.css”?xmltaghello world!/xmltag
( )XML代码段是正确的。A.<!-xml示例-!><?xml version="1.0"encoding="gb2312"><?xml stylessheet type="text/css"href="mycss.css"?><mytag>hello world!</mytag>B.<?xml version="1.0"encoding="gb2312"><?xml stylessheet type="text/ess"href="mycss.css"?><!-xml示例-!><mytag>hello world!</mytag>C.<?xml version="1.0"encoding="gb2312"><?xml stylessheet type="text/css"href="mycss.css"?><!-xml示例-!><xmltag>hello world!</xmltag>D.<!-xml示例-!><?xml version="1.0"encoding="gb2312"><?xml stylessheet type="text/css"href="mycss.css"?><xmltag>hello world!</xmltag>
( ) XML代码段是正确的。A.<!-xml示例-!> <?xml version="1.0" encoding="gb2312"> <?xml stylessheet type="text/css" href="mycss.css"?> <mytag> hello world! </mytag>B.<?xml version="1.0" encoding="gb2312"> <?xml stylessheet type="text/ess"href="mycss.css"?> <!-xml示例-!> <mytag> hello world! </mytag>C.<?xml version="1.0" encoding="gb2312"> <?xml stylessheet type="text/css"href="mycss.css"?> <!-xml示例-!> <xmltag> hello world! </xmltag>D.<!-xml示例-!> <?xml version="1.0" encoding="gb2312"> <?xml stylessheet type="text/css" href="mycss.css"?> <xmltag> hello world! </xmltag>