《高级Web技术》参考资料:Native-XML Database

Native-XML Database Xindice 廖逸
Native-XML Database --Xindice 廖逸

为什么需要Xm数据库? Xm已经得到广泛应用。 在数据库领域,许多关系数据库系统提供 了存储Xm文件的功能。 ·但是
为什么需要Xml数据库? • Xml 已经得到广泛应用。 • 在数据库领域,许多关系数据库系统提供 了存储Xml文件的功能。 • 但是……

为什么需要Xm数据库? ·关系数据库仅提供对Ⅹm文件本身进行存储 或者读取的功能,并不能从DOM树检索部 分文档或节点。 °为了扩展功能(如 Query和 Update),我 们可以考虑 Native-xm数据库,而 Xindice 是一个不错的开源 Native-xm数据库系统
为什么需要Xml数据库? • 关系数据库仅提供对Xml文件本身进行存储 或者读取的功能,并不能从 DOM 树检索部 分文档或节点。 • 为了扩展功能(如 Query 和 Update),我 们可以考虑 Native-xml数据库,而Xindice 是一个不错的开源Native-xml数据库系统

Xindice简介 Xindice是由 Apache公司建立的一个开源项 目,是一个设计用来存储和查询XML数据 的数据库服务器,进出 Xindice服务器的所 有数据都XML。 Xindice使用的査询语言是 XPath,使用的 更新语言是 XML: DB XUpdate
Xindice简介 • Xindice是由Apache公司建立的一个开源项 目,是一个设计用来存储和查询XML数据 的数据库服务器,进出Xindice服务器的所 有数据都XML。 • Xindice使用的查询语言是XPath,使用的 更新语言是XML:DB XUpdate

Xindice安装 ·安装 Tomcat 下载xml- xindice-1.1- oIn. ZIp,解压到任意目 录,将解压出来的 xindice-1.1war文件拷贝 到 Tomcat E中 Webapps目录下,并重命名为 xindice, war。 下载站点:htp:/ ml apache. org/xindice/download cqi
Xindice安装 • 安装Tomcat。 • 下载xml-xindice-1.1-bin.zip,解压到任意目 录,将解压出来的xindice-1.1.war文件拷贝 到Tomcat中webapps目录下,并重命名为 xindice.war。 下载站点:http://xml.apache.org/xindice/download.cgi

Xindice命令(1)- add collection ·创建一个集合,相当于关系数据库中的 database。 xindice add collection -c-n EXample: Xindice ac-C xmldb xindice /localhost: 8080/db-n books
Xindice命令(1)--add_collection • 创建一个集合,相当于关系数据库中的 database。 • xindice add_collection -c -n • Example: xindice ac -c xmldb:xindice://localhost:8080/db -n booksdb

Xindice命令(2)- ist collections ·查询所有集合 xindice list collections-c EXample: xindice Ic-C xmldb xindice /localhost: 8080/db
Xindice命令(2)--list_collections • 查询所有集合 • xindice list_collections -c • Example: xindice lc -c xmldb:xindice://localhost:8080/db

Xindice命令(3)- add document ·添加一个 Document,相当于关系数据库中 的数据表。 xindice add document-C-f-n EXample: xindice ad-C xmldb xindice /localhost: 8080/db/booksdb f D: xmI-xindice-1xml\books xml-n books
Xindice命令(3)--add_document • 添加一个Document,相当于关系数据库中 的数据表。 • xindice add_document -c -f -n • Example: xindice ad -c xmldb:xindice://localhost:8080/db/booksdb -f D:\xml-xindice-1.1\xml\books.xml -n books

Xindice命令(4)- st documents ·查询一个集合中所有的 Documents xindice list documents-c EXample: xindice Id-c xmldb xindice /localhost: 8080/db/booksdb
Xindice命令(4)--list_documents • 查询一个集合中所有的Documents。 • xindice list_documents -c • Example: xindice ld -c xmldb:xindice://localhost:8080/db/booksdb

Xindice命令(5)- query ·罗列 Documents中符合查询条件的数据条 xindice xpath-C-q Example 1: xindice xpath-c xmldb xindice: //localhost 8080/db/booksdb -q 7/books/book Example 1: xindice xpath-c xmldb xindice: /localhost: 8080/db/booksdb -q" books/bookldate=2006-4-8]
Xindice命令(5)--query • 罗列Documents中符合查询条件的数据条 目。 • xindice xpath -c -q • Example1: xindice xpath -c xmldb:xindice://localhost:8080/db/booksdb -q "//books/book" • Example1: xindice xpath -c xmldb:xindice://localhost:8080/db/booksdb -q "//books/book[date='2006-4-8']
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《高级Web技术》参考资料:XML processing in ColdFusion MX.ppt
- 《高级Web技术》参考资料:sitepoint-state-of-web-development-2006.pdf
- 《高级Web技术》参考资料:O'reilly.Enterprise.Javabeans.3rd.pdf
- 《高级Web技术》参考资料:CORBA程序设计指南(入门).doc
- 《高级Web技术》参考资料:Architectural Styles and the design of Network-based Software Achitectures.pdf
- 《高级Web技术》参考资料:Building Social Web Applications.pdf
- 《高级Web技术》参考资料:SSH Step by Step Tutorial.doc
- 《高级Web技术》参考资料:深入Spring 2:轻量级J2EE开发框架原理与实践_第五章 面向切面的编程(AOP)及在Spring中的应用.pdf
- 《高级Web技术》参考资料:MyEclipse 6 Java 开发中文教程_第十五章 开发XFire Web Service应用.pdf
- 《高级Web技术》参考资料:MyEclipse 6 Java 开发中文教程_第十六章 开发EJB应用.pdf
- 《高级Web技术》参考资料:Spring中文教程(Spring Framework开发参考手册 version 1.1).pdf
- 《高级Web技术》参考资料:MyEclipse 6 Java 开发中文教程_第十一章 开发Spring+Struts+Hibernate应用.pdf
- 《高级Web技术》参考资料:Architectural Styles and the design of Network-based Software Achitectures.pdf
- 《高级Web技术》参考资料:MyEclipse创建基于X-File的Web service及调用实例详解.pdf
- 复旦大学:《高级Web技术》课程教学大纲(戴开宇).doc
- 厦门大学:《大数据技术原理与应用》课程教学资源(PPT课件讲稿,第3版)第6章 云数据库.ppt
- 厦门大学:《计算机应用基础》PPT讲义课件_第二章 操作系统Windows XP.ppt
- 厦门大学:《大数据技术原理与应用》课程教学资源(PPT课件讲稿,第3版)第3章 分布式文件系统HDFS.ppt
- 厦门大学:《大数据技术原理与应用》课程教学资源(PPT课件讲稿,第2版)课程介绍(主讲:林子雨).ppt
- 厦门大学:《大数据导论》课程讲义(PPT教学课件)第7章 数据处理与分析.ppt
- 《高级Web技术》参考资料:建设SSH(Struts Hibernate Spring)项目教程.docx
- 《高级Web技术》参考资料:XmsfBrochure.pdf
- 《高级Web技术》参考资料:XMSF Strategic Opportunities Symposium Contributions.pdf
- 《高级Web技术》参考资料:XMSF Technical Challenges Workshop Contributions.pdf
- 《高级Web技术》参考资料:Extensible Modeling and Simulation Framework(XMSF)Challenges for Web-Based Modeling and Simulation.pdf
- 《高级Web技术》参考资料:html5(一).doc
- 《高级Web技术》参考资料:html5(二).doc
- 《高级Web技术》参考资料:html5(三).doc
- 《高级Web技术》参考资料:MyEclipse开发基于Restful的Web Service教程.pdf
- 《Web高级开发与应用技术》参考资料:1-web核心标准与架构.pdf
- 《Web高级开发与应用技术》参考资料:2-web服务与云计算.pdf
- 《Web高级开发与应用技术》参考资料:3-web2.0相关应用与技术.pdf
- 《Web高级开发与应用技术》参考资料:Web语义与搜索.pdf
- 《高级Web技术》参考资料:Web上的数据标准XML—DTD.pdf
- 《高级Web技术》参考资料:Web上的数据标准XML—Schema.pdf
- 《高级Web技术》参考资料:Web上的数据标准XML(概述与语法).pdf
- 《IBM WebSphere Application Server》教程:L01-WASv6_Install_Config.pdf
- 《IBM WebSphere Application Server》教程:L02-WASv6_Sys_Admin.pdf
- 《IBM WebSphere Application Server》教程:L03-WASv6_AppManagement.pdf
- 《IBM WebSphere Application Server》教程:L04-WASv6_WRD.pdf