【单选题】【消耗次数:1】
xsl文档的根元素为()。
stylesheet
xml-stylesheet
schema
xml
参考答案:
复制
纠错
相关题目
【单选题】 XSL文档本身也是xml文档,其后缀名为()。
①  xml
②  xsl
③  xsd
④  dtd
【判断题】 在XML文档中,文档类型声明放在XML声明之后和根元素之前。
①  正确
②  错误
【判断题】 XML元素与XML标记的关系是XML元素包含XML标记,即元素为标记+内容。
①  正确
②  错误
【判断题】 与该名字空间对应的schema文档的URL,这样在当前XML实例文档中凡是被该名字空间作用的元素和属性,XML解析器会到与该名字空间对应的schema文档中去查找这些元素和属性的定义,进行有效性检查。
①  正确
②  错误
【判断题】 schema元素的elementFormDefault属性的取值为"qualified"或“unqualified”,当该属性的取值为“qualified”时,指出任何XML实例文档所使用的且在此schema中声明的元素必须被名字空间限定。
①  正确
②  错误
【判断题】 如果利用DTD定义XML的约束规范,则XML解析器在进行XML有效性检查时,会到XML元素名字空间所指定的DTD文档中去查找约束规范的定义。
①  正确
②  错误
【单选题】 在利用CSS表现XML时,需要将XML文档中的preface元素的内容以独立段落的方式显示,下面正确的选项是()。
①  preface{display:list-item}
②  preface{display:block}
③  preface{display:inline}
④  preface{display:none}
【判断题】 在匹配模式中,需要事先定义模板,其语法为:xsl:templatematch=""name=""mode=""priority="",其中match属性的值为XPath表达式,表示该模板与XML文档的何种元素匹配。
①  正确
②  错误
【单选题】 在利用CSS表现XML时,如果需要将XML文档中的publisher元素的内容以小型大写字母显示,且字号大小为父元素内容显示大小的80%,则下面正确的选项为()。
①  publisher{font-style:small-caps;font-size:80%}
②  publisher{font-transform:small-caps;font-size:80%}
③  publisher{font-variant:small-caps;font-size:80%}
④  publisher{font-variant:small-caps;font-weight:80%}
【判断题】 如果需要用样式单来表现当前的XML文档,则需在XML文档第二行插入处理指令,例如:
①  正确
②  错误
随机题目
【单选题】 The Chinese ( ) paper for two thousand years.
①  have made
②  have been making
③  had made
④  are being made
【单选题】 The windows were ( ) with locks and bars.
①  sought
②  surrendered
③  secured
④  separated
【单选题】 This job is great ( ) advancement, but its too far away from my hometown.
①  in terms of
②  as a result of
③  based on
④  on behalf of
【单选题】 The gardens and history of Suzhou ( ) all who visit there.
①  captivate
②  captive
③  captivation
④  captivating
【单选题】 The government would be unwise to ( ) the complaints of its people.
①  overlook
②  ignore
③  neglect
④  disrespect
【单选题】 In high school, I was very unpopular, and I did ( ) the discrimination from my classmates.
①  encountered
②  encounter
③  had encountered
④  will encounter
【单选题】 The pavilions of each country at the World Expo can reveal the ( ) cultures of the world.
①  diversity
②  diversify
③  divert
④  diverse
【单选题】 His ( ) as a social worker brings him much thinking of the meaning of life and charity.
①  job
②  profession
③  work
④  career
【单选题】 He denied that his country wants to () Europe.
①  dominate
②  control
③  document
④  domestic
【单选题】 It may also () morale and mutual trust.
①  undermine
②  unique
③  under
④  use