XML编程与应用教程第二版上机答案.doc

  1. 1、本文档共28页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
XML编程与应用教程第二版上机答案

上机题 1、 ?xml version=1.0 encoding=gb2312? book titleXML 指南/title chapterXML入门简介 para什么是HTML/para para什么是XML/para /chapter chapterXML语法 paraXML元素必须有结束标签/para paraXML元素必须正确的嵌套/para /chapter /book 2、 ?xml version=1.0 encoding=gb2312? employees employee id1/id name张三/name age32/age sex男/sex address上海/address /employee employee id2/id name李四/name age22/age sex男/sex address北京/address /employee /employees 3、 ?xml version=1.0 encoding=gb2312? students student number1/number nametom/name score100/score /student student number2/number namemary/name score98/score /student /students 第三章 上机题 1、 ?xml version=1.0 encoding=GB2312? !ELEMENT学生名册(学生+) !ELEMENT学生(姓名,性别, 年龄) !ELEMENT姓名(#PCDATA) !ELEMENT性别(#PCDATA) !ELEMENT年龄(#PCDATA) !ATTLIST学生 学号 ID #REQUIRED 2、 ?xml version=1.0 encoding=UTF-8? NEWSPAPER ARTICLE AUTHOR=”NEWSPAPER;” EDITOR=”PUBLISHER;” DATE=”2009-6-1” EDITION =”COPYRIGHT;” HEADLINEEnvironment Protection/ HEADLINE BYLINE Material waste /BYLINE LEADPUBLISHER;/LEAD BODY it means the waste of substance or things from which something else can be made. For example, people throw away the used metal products and buy a new one, so the old metal waste accumulates. At last, they become waste. For example, when people finish reading newspaper, the paper will become waste. When the glass is broken, it also becomes waste. Nobody wants to use a broken window or drink with a broken glass or wear a pair of broken glasses. Once it is broken, it becomes waste. The rate of using plastics is increasing day by day. People use plastic bags because they are convenient. When they get home, they throw the plastics way, paying no attention to the environment. The more convenience plastics brings to us, the more plastic waste is produced. This is called “white pollution” as most plastics are white. Some of our products we use every day are made of rubber, just like the tyres and the bottom part of our shoes. It’s true that rubber plays an important role in our life.

文档评论(0)

docman126 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档