首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到19条相似文献,搜索用时 93 毫秒
1.
利用XSLT转换XML文档的应用   总被引:5,自引:0,他引:5  
XML实现了数据与表示的分离,需要通过样式表来显示XML数据.目前有两种常用的样式表格式CSS和XSL.本文首先讨论了CSS的不足和XSL的优势,然后介绍了XSL和XSLT转换语言,并深入讨论了XSLT的工作原理,最后结合水调工程中的一个实例,具体说明如何利用XSLT分别实现在浏览器和服务器端XML文档的转换.  相似文献   

2.
黄国超  王衍波  黄开国 《微机发展》2011,(10):246-249,F0003
XML文档具有存储与显示分离的特性,利用XSLT可以将同一篇XML文档显示出不同的内容,这样就可以实现隐藏信息的目的。通过研究XML的样式表转换,提出了基于XSLT的内容抽取、内容比较、样式表合并的三种XML文档信息隐藏方法,每种隐藏方法利用了样式表元素的不同性质,并通过实例对进行具体介绍和分析。上述三种隐藏方法主要针对文档的显示特性,不对文档存储的格式和内容做任何改动。实验结果表明,利用样式表转换的方法在XML文档中隐藏信息具有实现简单、安全性高的特点。  相似文献   

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

4.
本文通过一个在线Web数据提取的实例,介绍了在微软的.NET框架下,使用SgmlReader将HTML文件转换为XHTML,并使用XML的XPath语言和XSLT转换技术提取在线Web数据的方法,文中还给出了核心程序的部分代码.  相似文献   

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

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

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

8.
本文介绍了使用XML技术来改进银行综合业务系统中数据驱动的报表生成子系统的解决方案,并分析了XML解析器、JDBC、XSLT处理器等关键技术。  相似文献   

9.
XSL技术介绍     
XSL样式表语言是用来定义如何在XML档之间进行格式转换及XML档显示的语言,将逐步在电子商务应用中被广泛应用。本介绍XSL相关技术,包括XPath、XSLT、FO以及XSLT处理器产品与编程技术。  相似文献   

10.
本文介绍了使用XML技术来改进银行综合业务系统中为数据驱动的报表生成子系统的解决方案,并分析了XML解析器,JDBC,XSLT处理器等关键技术。  相似文献   

11.
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.  相似文献   

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

13.
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.  相似文献   

14.
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.  相似文献   

15.
基于XML与J2EE技术的数据交换中心的设计与实现   总被引:3,自引:0,他引:3  
为实现在异质异源数据库间的数据交换,使用户可以透明地访问数据,提出一种建立数据交换中心的解决方案。在该数据交换中心的构建中,综合采用了XML,J2EE,XSLT等技术。通过使用XML作为数据的载体,运用XSLT样式表对XML进行转换,并使用反射机制调用EJB中的业务逻辑以使得数据交换节点之间方便地通信。最后,基于此思想,设计并实现了该数据交换中心,在某大学校园网中进行运用,收到了良好的效果。  相似文献   

16.
运用XML和XSLT技术实现Web页面的重用   总被引:7,自引:0,他引:7  
李伟  郑宁 《计算机应用》2004,24(3):103-105
从分析页面结构特征入手,运用XML和XSLT技术实现Web页面的重用。该方法用动态XML文件定义页面的组成,用XSLT文件定义页面布局,通过XSLT转化把二者统一起来得到最终的页面。页面布局与页面组成的分离实现了页面布局和页面组成块的重用。  相似文献   

17.
分析XML数据存在的安全隐患,提出了一个更安全的XML数据传输方案,并使用NET技术加以实现和验证.该方案在实现XML加密、XML数字签名和XKMS等核心标准来解决XML数据安全问题的基础上,利用XSLT 2.0技术对XML文档进行分解.并根据信息的保密等级,使用不同的XML签名和加密算法对分离后的XML文档进行安全处理.该方案提高了XML数据在非安全网络中传输的保密性、完整性和不可否认性,具有良好的灵活性和发展前景.  相似文献   

18.
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.  相似文献   

19.
XML因为它在可扩展性和灵活性上的优点以及W3C不遗余力的为它制定各种标准,已经成为Internet上的主要语言。如何对XML文档进行转换以满足不同用户的需要,成为一个非常重要的问题,利用XSLT可以很好的解决这个问题。本文详细描述了基于XSLT转换XML文档的方法,深入讨论其工作原理,并结合一个具体应用实例,进一步阐明了基于XSLT转换XML文档的过程。  相似文献   

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

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