首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到19条相似文献,搜索用时 93 毫秒
1.
基于DTD的XML与SQL查询转换算法   总被引:1,自引:0,他引:1       下载免费PDF全文
卜莉  李军怀  张璟 《计算机工程》2007,33(16):41-43
针对如何将XML查询转换成SQL查询提出了一个XSLT查询到SQL查询的转换框架和算法,研究了文档类型定义(DTD)和关系模式的相互映射方法及基于XML DTD且不使用任何中间语言将XSLT查询转换为SQL查询的具体过程和算法:从XSLT代码中抽取指令集合,合并、简化并分割其中的XPath,最后抽取出SQL语句的各个组成部分。该算法具有较高的通用性。  相似文献   

2.
用XSLT技术实现基于XML多媒体课件系统   总被引:1,自引:0,他引:1  
主要介绍利用XSLT提供的强大的转换机制和功能实现异构的XML文档变换,这里提出利用XSLT技术实现基于XML课件文档的转换应用,并采用XML XSLT Servlets的方法设计在线远程多媒体课件系统,达到开放性的课件文档的描述和管理方式使之统一格式并具有可扩展效果。  相似文献   

3.
关辉 《福建电脑》2009,25(3):181-181
XML作为一种可扩展的标记语言,非常适用于不同应用问的数据交换。已经成为数据表示的一个开放标准,在很多应用场合中需要将XML文档转换成其他格式的文档。本文详细描述了利用XSLT转换XML文档格式的方法,深入讨论其工作原理,并结合具体应用案例,进一步阐明了利用XSLT转换XML文档格式的过程。  相似文献   

4.
陈宁  葛君伟  邓宁波 《计算机科学》2004,31(Z1):105-108
扩展标记语言(XML)的出现,使得在异构环境下数据的交换和传输成为可能.在应用过程中,对传输中文档安全性的要求就显得异常重要.与XML紧密相关的是扩展样式表语言(XSL),其文档转换组件(XSLT)具有强大的功能,能够对文档进行编码转换以便进行安全传输.本文通过在XML中的实际应用来加以验证;同时本文提出了一种将XSLT作为插件考虑的文档传输体系;并且标识出了为适应这种应用需求,要用到的XSLT的相关属性.通过利用XSLT所具有的扩展函数,可知XSLT是最适合XML数据安全应用的方案.  相似文献   

5.
设计了一种基于XSLT与SVG的动态矢量WebGIS实现方案。在该方案中,WebGIS服务器通过对客户端请求的分析,对于存储为XML/GML数据库的地理空间数据,通过XML查询进行数据抽取,接着对得到XML/GML文档进行整理,得到该文档对应的元数据,并通过查询GIS应用服务器上的XSL元数据库,得到该文档中元数据所对应的XSL元数据,然后将出现的XSL元数据进行集成,生成一个新的样式表(XSL),根据这个样式表将XML/GML文档经XSLT转换转化为SVG图像,并经过GZIP压缩将其压缩为SVGZ格式传往客户端,从而实现了地理空间数据的矢量传输和显示。由于根据用户的请求动态下载数据生成包含SVGZ的Web页面传给客户端,所以这种WebGIS不仅安全可靠也具有较高的效率。  相似文献   

6.
基于XSLT的XML文档处理   总被引:6,自引:1,他引:6  
熊丽  熊前兴 《现代计算机》2002,(3):82-84,95
随着XML在电子商务中应用的越来越广,对XML文档中的数据如何进行处理以满足不同用户的需要,成为一个非常重要的问题,利用XSLT可以很好地解决这个问题,XSLT是W3C专门为XML设计的样式表语言XSL的重要组成部分。本文简要介绍了XSL的结构和其各个组成部分,详细介绍了其中与XML文档处理密切相关的XSLT,深入探讨了其工作原理,并结合一个利用XMLSPY3.5开发的具体应用实例,进一步阐明了XSLT在XML文档处理方面的应用。  相似文献   

7.
以XML作为信息表现模型,以XSLT作为信息抽取规则,设计并实现了一套面向科技论文的PDF文档的信息抽取系统.首先将PDF源文档转换为一种中间XML文档,然后利用文本特征、位置特征以及显示特征对中间XML文档进行基于XSLT规则的信息抽取.测试结果表明,系统的抽取效果良好,并具有较强的扩展性.  相似文献   

8.
一个XSLT处理器的设计   总被引:1,自引:0,他引:1  
XSLT样式表语言是用来定义如何在XML文档之间进行格式转换的语言,首先介绍了XSLT,接着是一个基于Java的用于XML信息处理(特别是XSLT处理)的应用程序编程接口JAXP,最后阐述作者实现的一个XSLT处理器的设计,并给出了与其他XSLT处理器的比较。  相似文献   

9.
SVG技术在统计图表中的应用研究   总被引:1,自引:0,他引:1  
SVG是一套基于XML的二维图形描述语言,可以用来描述矢量图形、图像及文字等图形对象。这些图形对象可以被分组、加入式样、被转换或者用来构成其他的对象。XSLT是一种把一个XML文档转换为另一个XML文档的语言。该文在简要介绍了SVG及其相关的技术后,重点介绍了一种基于XML、SVG和XSLT等技术的统计图表定义方法。使用这个方法可以把统计数据及其图表布局定义为XML文档,并利用XSLT程序将它们转换为能够表示饼图、条形图和折线图等统计图表的SVG图形文档。  相似文献   

10.
随着XML应用的日益广泛,XML的数据检索、查询、转换就成为一个非常重要的应用领域,而XSLT是用于操作XML文档的完整高级语言。本文简要介绍了XML、XSL和XSLT的关系,XSLT的原理、语言特性、及其开发工具,使读者能够对XSLT有一个清晰、简洁而相对全面的了解。  相似文献   

11.
We have to deal with different data formats whenever data formats evolve or data must be integrated from heterogeneous systems. These data when implemented in XML for data exchange cannot be shared freely among applications without data transformation. A common approach to solve this problem is to convert the entire XML data from their source format to the applications’ target formats using the transformations rules specified in XSLT stylesheets. However, in many cases, not all XML data are required to be transformed except for a smaller part described by a user’s query (application). In this paper, we present an approach that optimizes the execution time of an XSLT stylesheet for answering a given XPath query by modifying the XSLT stylesheet in such a way that it would (a) capture only the parts in the XML data that are relevant to the query and (b) process only those XSLT instructions that are relevant to the query. We prove the correctness of our optimization approach, analyze its complexity and present experimental results. The experimental results show that our approach performs the best in terms of execution time, especially when many cost-intensive XSLT instructions can be excluded in the XSLT stylesheet.  相似文献   

12.
XML is the standard data interchange format and XSLT is the W3C proposed standard for transforming and restructuring XML documents. It turns out that XSLT has very powerful query capabilities as well. Hovewer, due to its complex syntax and lack of formal specification, it is not a trivial task to decide whether two XSLT stylesheets yield the same result, even if for an XSLT subset. We isolate such fragment, powerful enough for expressing several interesting queries and for manipulating XML documents and show how to translate them into queries expressed in a properly extended version of TAX, a powerful XML query algebra, for which we provide a collection of equivalence rules. It is then possible to reason about XSLT equivalences, by translating XSLT stylesheets into XTAX expressions and then statically verifying their equivalence, by means of the mentioned equivalence rules.  相似文献   

13.
We study the typechecking problem for XML (eXtensible Markup Language) transformers: given an XML transformation program and a DTD for the input XML documents, check whether every result of the program conforms to a specified output DTD. We model XML transformers using a novel device called a k-pebble transducer, that can express most queries without data-value joins in XML-QL, XSLT, and other XML query languages. Types are modeled by regular tree languages, a robust extension of DTDs. The main result of the paper is that typechecking for k-pebble transducers is decidable. Consequently, typechecking can be performed for a broad range of XML transformation languages, including XML-QL and a fragment of XSLT.  相似文献   

14.
Web包装器将网页内容转换为XML格式,用于系统集成。进行XML转换的XSLT技术能较好地支持包装器的信息抽取和组织。本文从包含查询接口、结果模式和映射规则的包装器描述文件(XML)出发,给出了自动生成可执行代码的技术方案。包装器的执行及其生成过程完全基于XSLT技术,系统具有较强的可移植性。提出“元数据对齐”方法进行内
容辅助定位,提高了对页面变化的容忍度。原型系统的实现验证了以上技术的可行性。  相似文献   

15.
Active rules for XML: A new paradigm for E-services   总被引:1,自引:0,他引:1  
XML is rapidly becoming one of the most widely adopted technologies for information exchange and representation. As the use of XML becomes more widespread, we foresee the development of active XML rules, i.e., rules explicitly designed for the management of XML information. In particular, we argue that active rules for XML offer a natural paradigm for the rapid development of innovative e-services. In the paper, we show how active rules can be specified in the context of XSLT, a pattern-based language for publishing XML documents (promoted by the W3C) which is receiving strong commercial support, and Lorel, a query language for XML documents that is quite popular in the research world. We demonstrate, through simple examples of active rules for XSLT and Lorel, that active rules can be effective for the implementation of e-commerce services. We also discuss the various issues that need to be considered in adapting the notion of relational triggers to the XML context. Received: 30 October 2000 / Accepted: 19 December 2000 Published online: 27 April 2001  相似文献   

16.
XSLT、XPath和DOM的应用研究   总被引:7,自引:2,他引:7  
陈奇 《计算机工程》2003,29(3):14-15,44
分析了现阶段应用XSLT、XPath和DOM查询XML数据的可行性,提出了一个应用模型,并用一个实例说明编程方法。最后指出了这种应用技术需要进一步解决的问题和应用前景。  相似文献   

17.
《Information Systems》2005,30(4):317-332
We describe a meta-querying system for databases containing queries in addition to ordinary data. In the context of such databases, a meta-query is a query about queries. Representing stored queries in XML, and using the standard XML manipulation language XSLT as a sublanguage, we show that just a few features need to be added to SQL to turn it into a fully-fledged meta-query language. The good news is that these features can be directly supported by extensible database technology.  相似文献   

18.
XML is a markup language used to describe data or documents. The main goal of XML is to facilitate the sharing of data across diverse information systems, especially via the Internet. XML Stylesheet Transformations (XSLT) is a standard approach to describing how to transform an XML document into another data format. The ever‐increasing number of Web technologies being used in our everyday lives commonly employs XSLT to support data exchange among heterogeneous environments, and the associated increasing burdens on XSLT processors have increased the demand for high‐performance XSLT processors. In this paper, we present an XSLT compiler, named Zebu, which can transform an XSLT stylesheet into the corresponding C program. The compiled program can be used to transform documents without the processing of XSLT stylesheets. The results of experimental testing using standard benchmarks show that the proposed XSLT compiler performs well in processing XML transformations. Copyright © 2011 John Wiley & Sons, Ltd.  相似文献   

19.
The capabilities of XSLT processing are widely used to transform XML documents into target XML documents. These target XML documents conform to output schemas of the used XSLT stylesheet. Output schemas of XSLT stylesheets can be used for a static analysis of the used XSLT stylesheet, to automatically detect the XSLT stylesheet of target XML documents or to reason on the output schema without access to the target XML documents. In this paper, we develop an approach to automatically determining the output schema of an XSLT stylesheet. We also describe several application scenarios of output schemas. The experimental evaluation shows that our prototype can determine the output schemas of nearly all typical XSLT stylesheets and the improvements in preciseness in several application scenarios when using output schemas in comparison to when not using output schemas.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号