您好,欢迎访问三七文档
当前位置:首页 > 高等教育 > 习题/试题 > XML技术》期末考试课程设计
《XML技术》期末考试课程设计报告系(部、中心)计算机科学与工程学院姓名学号专业计算机科学与技术班级一班课程名称《XML技术》起止时间2013年5月21日—2013年6月10日成绩教师签名1目录1.射洪县部门系统数据结构图......................................................................................................................................22.DTD和Schema结构描述..........................................................................................................................................22.1DTD........................................................................................................................................22.2Schema....................................................................................................................................33.XML实例....................................................................................................................................................................34.建立XSLT文档..........................................................................................................................................................54.1程序代码.................................................................................................................................54.2运行界面.................................................................................................................................65.XMLDSO数据源绑定................................................................................................................................................65.1程序代码.................................................................................................................................65.2运行界面.................................................................................................................................86.DOM编程访问XML..................................................................................................................................................86.1程序代码.................................................................................................................................86.2运行界面.................................................................................................................................97.JAVA程序访问XML文档(选做).........................................................................................................................97.1程序代码.................................................................................................................................97.2运行界面...............................................................................................................................108.结束语...........................................................................................................................................错误!未定义书签。参考文献.............................................................................................................................................................................1021.临江市系统数据结构图2.DTD和Schema结构描述2.1DTD?xmlversion=1.0encoding=UTF-8?!ELEMENT临江市(四道沟,五道沟,六道沟,七道沟)!ELEMENT四道沟(村长)!ELEMENT五道沟(村长)!ELEMENT六道沟(村长)!ELEMENT七道沟(村长)!ELEMENT村长(姓名,性别,学历)!ELEMENT姓名(#PCDATA)!ELEMENT性别(#PCDATA)!ELEMENT学历(#PCDATA)临江市四道沟五道沟六道沟七道沟村长姓名性别学历村长村长村长姓名姓名姓名性别学历性别性别学历学历张三男本科李四王五赵六男男男本科本科本科32.2Schema?xmlversion=1.0encoding=UTF-8?!--编辑使用XMLSpyv2006U()由any(any)--xs:schemaxmlns:xs==qualifiedattributeFormDefault=unqualifiedxs:elementname=临江市xs:complexTypexs:allxs:elementref=四道沟/xs:elementname=五道沟xs:complexTypexs:allxs:elementname=村长type=村长//xs:all/xs:complexType/xs:elementxs:elementname=六道沟type=六道沟/xs:elementname=七道沟type=七道沟//xs:all/xs:complexType/xs:elementxs:elementname=四道沟xs:annotationxs:documentationCommentdescribingyourrootelement/xs:documentation/xs:annotationxs:complexTypexs:choicexs:elementname=村长type=村长//xs:choice/xs:complexType/xs:elementxs:complexTypename=五道沟xs:allxs:elementname=村长type=村长//xs:all/xs:complexTypexs:complexTypename=六道沟xs:allxs:elementname=村长type=村长/4/xs:all/xs:complexTypexs:complexTypename=七道沟xs:allxs:elementname=村长type=村长//xs:all/xs:complexTypexs:complexTypename=村长xs:attributename=姓名/xs:attributename=性别/xs:attributename=学历//xs:complexType/xs:schema3.XML实例?xmlversion=1.0encoding=gb2312?!--编辑使用XMLSpyv2006U()由any(any)--!--编辑使用XMLSpyv2006U()由any(any)--!--编辑使用XMLSpyv2006U()由any(any)--临江市临江市村子四道沟/村子村长姓名张三/村长姓名性别男/性别学历本科/学历/临江市临江市村子五道沟/村子村长姓名李四/村长姓名性别男/性别学历本科/学历/临江市临江市村子六道沟/村子村长姓名王五/村长姓名性别男/性别学历本科/学历/临江市临江市5村子七道沟/村子村长姓名赵六/村长姓名性别男/性别学历本科/学历/临江市/临江市4.建立XSLT文档4.1程序代码?xmlversion=1.0encoding=gb2312?!--编辑使用XMLSpyv2006U()由any(any)--!--被2011rel.2sp1(TeaMDJiNN)使用XMLSpyvTeaMDJiNN编辑的()by--xsl:stylesheetxmlns:xsl==1
本文标题:XML技术》期末考试课程设计
链接地址:https://www.777doc.com/doc-2857464 .html