- 1、本文档共28页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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.
您可能关注的文档
- 2018年重点技术创新申报书及附件清单.doc
- 23 隆中对 导学案配答案.doc
- 25G型客车技术规范.doc
- 24米以下脚手架通用计算书.doc
- 260吨(t)吊车性能参数.doc
- 27米跨混凝土折线型屋架散装粮仓计算书.doc
- 350×900梁计算书.doc
- 3Dmax个人笔记.doc
- 3DMAX笔记(全).doc
- 3氧化车间操作规程.doc
- 中国国家标准 GB/T 22517.2-2024体育场地使用要求及检验方法 第2部分:游泳场地.pdf
- GB/T 22517.2-2024体育场地使用要求及检验方法 第2部分:游泳场地.pdf
- 《GB/T 22517.2-2024体育场地使用要求及检验方法 第2部分:游泳场地》.pdf
- 苏教版(2017秋)科学三年级下册1.《种子发芽了》 教案(含课堂练习和反思).docx
- 2024-2025学年小学数学六年级上册冀教版(2024)教学设计合集.docx
- 地理商务星球版七年级上册4.5形成气候的主要因素 同步教案.docx
- 2024-2025学年中职中职专业课金融类73 财经商贸大类教学设计合集.docx
- 2024-2025学年初中地理七年级上册(2024)仁爱科普版(2024)教学设计合集.docx
- 2024-2025学年小学英语二年级上册外研版(一起)教学设计合集.docx
- 2024-2025学年高中数学选择性必修 第二册北师大版(2019)教学设计合集.docx
文档评论(0)