当前位置: 首页 > news >正文

自己怎么建网站书籍扉页页面设计模板

自己怎么建网站,书籍扉页页面设计模板,一键建站哪家信誉好,北京市网站备案查询实验四 XML 目的#xff1a; 1、安装和使用XML的开发环境 2、认识XML的不同类型 3、掌握XML文档的基本语法 4、了解DTD的作用 5、掌握DTD的语法 6、掌握Schema的语法 实验过程#xff1a; 1、安装XML的编辑器#xff0c;可以选择以下之一 a)XMLSpy b)VScode#xff0c;Vs…实验四 XML 目的 1、安装和使用XML的开发环境 2、认识XML的不同类型 3、掌握XML文档的基本语法 4、了解DTD的作用 5、掌握DTD的语法 6、掌握Schema的语法 实验过程 1、安装XML的编辑器可以选择以下之一 a)XMLSpy b)VScodeVscode中安装XML插件 2、给定一个XML文档test.xml ?xml version1.0? studentsstudent id001nametom/nameage24/agemajorcourse cidc1Python/course/majorphone18611111111/phonephone18622222222/phone/studentstudent id002namesammy/nameage25/agemajorcourse cidc2C/coursecourse cidc3computer principle/course/majorphone18633333333/phone/student /studentsa)为test.xml定义一个内部的DTD写出完整的xml文档 如下为进行DTD约束后的完整xml代码: ?xml version1.0? !DOCTYPE students [!ELEMENT students (student*)!ELEMENT student (name,age,major,phone)!ELEMENT major (course)!ELEMENT name (#PCDATA)!ELEMENT age (#PCDATA)!ELEMENT phone (#PCDATA)!ELEMENT course (#PCDATA)!ATTLIST student id ID #REQUIRED!ATTLIST course cid ID #REQUIRED] studentsstudent ids001nametom/nameage24/agemajorcourse cidc1Python/course/majorphone18611111111/phonephone18622222222/phone/studentstudent ids002namesammy/nameage25/agemajorcourse cidc2C/coursecourse cidc3computer principle/course/majorphone18633333333/phone/student /studentsb)为test.xml定义一个外部的Schema文档写出schema文档和使用schema文档后的test.xml 如下是Schema文档代码和导入外部Schema约束的xml完整代码 Schema文档代码(test.xsd): ?xml version1.0 encodingUTF-8? xs:schema attributeFormDefaultunqualified elementFormDefaultqualified targetNamespacehttp://www.zhjTest.cn xmlns:xshttp://www.w3.org/2001/XMLSchemaxs:element namestudents typezhj:studentsType xmlns:zhjhttp://www.zhjTest.cn/xs:complexType namecourseTypexs:simpleContentxs:extension basexs:stringxs:attribute typexs:string namecid useoptional//xs:extension/xs:simpleContent/xs:complexTypexs:complexType namemajorTypexs:sequencexs:element typezhj:courseType namecourse maxOccursunbounded minOccurs0 xmlns:zhjhttp://www.zhjTest.cn//xs:sequence/xs:complexTypexs:complexType namestudentTypexs:sequencexs:element namenamexs:simpleTypexs:restriction basexs:stringxs:enumeration valuetom/xs:enumeration valuesammy//xs:restriction/xs:simpleType/xs:elementxs:element nameagexs:simpleTypexs:restriction basexs:stringxs:enumeration value24/xs:enumeration value25//xs:restriction/xs:simpleType/xs:elementxs:element typezhj:majorType namemajor xmlns:zhjhttp://www.zhjTest.cn/xs:element namephone maxOccursunbounded minOccurs0xs:simpleTypexs:restriction basexs:stringxs:enumeration value18611111111/xs:enumeration value18622222222/xs:enumeration value18633333333//xs:restriction/xs:simpleType/xs:element/xs:sequencexs:attribute typexs:string nameid useoptional//xs:complexTypexs:complexType namestudentsTypexs:sequencexs:element typezhj:studentType namestudent maxOccursunbounded minOccurs0 xmlns:zhjhttp://www.zhjTest.cn//xs:sequence/xs:complexType /xs:schemaxml完整代码: ?xml version1.0? !DOCTYPE students [!ELEMENT students (student*)!ELEMENT student (name,age,major,phone)!ELEMENT major (course)!ELEMENT name (#PCDATA)!ELEMENT age (#PCDATA)!ELEMENT phone (#PCDATA)!ELEMENT course (#PCDATA)!ATTLIST student id ID #REQUIRED!ATTLIST course cid ID #REQUIRED] students xmlns:xshttp://www.w3.org/2001/XMLSchema-instancexmlnshttp://www.zhjTest.cnxs:schemaLocationhttp://www.zhjTest.cn test.xsd student ids001nametom/nameage24/agemajorcourse cidc1Python/course/majorphone18611111111/phonephone18622222222/phone/studentstudent ids002namesammy/nameage25/agemajorcourse cidc2C/coursecourse cidc3computer principle/course/majorphone18633333333/phone/student /students3、编写实验报告并提交至超星。
http://www.hkea.cn/news/14269852/

相关文章:

  • 网站开发运营服务合同广州户外拓展训练基地
  • 怎么做网站访问被拒绝上海公司注册核名官网
  • 网站搜索框lnmp新手 wordpress
  • 网站建设的四个步骤wordpress微信授权访问
  • 我要看一集片做网站广东东莞房价2022最新价格
  • 高新区免费网站建设什么是网络工程师
  • 西安北郊做网站做app需要多少钱
  • 网站建设价格女淄博网络宣传
  • 网站建设怎么改栏目名称wordpress站内计费搜索
  • 西安网站建设 翼驰小网站下载渠道有哪些
  • 中国采购与招标网官方网站WordPress恶意扫描
  • 13572074638网站建设程序员都需要学什么
  • seo优化网站二维码制作网站有哪些
  • 上海网站建设方案服务百度信息流开户多少钱
  • 做h5的网站页面学技术网站
  • 抓取网站访客数据原理张家港百度网站制作
  • 做网站怎么优化网站推广任务 ip点击
  • 网站错误列表刷seo排名
  • 外贸建站推广哪家好网站首页分类怎么做的
  • 开源网站有哪些网站建设对接流程图
  • 3d云打印网站开发深圳住房建设局官方网站
  • 网站网站制作400多少钱城乡建设部注册建筑师网站
  • 男孩子怎么做网站推广wordpress上传图片x
  • 成都个人网站做网站思想
  • 城市建设模拟游戏登陆网站视频制作哪里可以学
  • 贵阳白云区城乡建设局网站土特产网站模板 织梦
  • 做网站一定要备案吗如何建设网站和app
  • 建个人网站要多少钱个人网站建设方案书用备案的
  • 黄页网站推广app咋做广告thinkphp做网站教程
  • WordPress下如何用页面做侧边栏seo服务公司深圳