首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到18条相似文献,搜索用时 46 毫秒
1.
XSLT提供了一种将XML文档转换为HTML的强有力的工具。然而,当这种转换需要涉及更多逻辑的时候,就会显现出它的不足之处。文中讲述了如何使用Java扩展XSLT,从而更好地发挥两种语言的特色。最后给出一实例来具体展示如何将XML节点传送到Java类并返回到样式表以进一步处理。  相似文献   

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

3.
基于XML和XSLT的模型驱动构架   总被引:1,自引:0,他引:1       下载免费PDF全文
针对多平台Web开发,应用XML和XSLT分别实现模型驱动构架中的模型管理和转换规则管理,使用模板技术对平台独立模型转换代码的环节进行扩展,构建高效的Web开发模式,提高软件的可维护性、可移植性和跨平台性。应用该模式实现对E-learning远程教学系统的开发。  相似文献   

4.
XML的研究与发展   总被引:1,自引:0,他引:1  
作为数据表示的一个开放标准,XML语言给Web应用乃至网络计算注入了新的活力。文中给出了XML的简介及语法规则,以及简单介绍了XML的相关技术标准,并讨论了XML的用途及应用开发技术,探讨了XML与对象技术的协作及发展趋势。  相似文献   

5.
针对流式办公文档和固定版式办公文档如何共享与交换文档信息的问题,提出了以XSL-FO作为中间格式实现流式文档到版式文档转换的方法.系统地分析了XSL-FO和“标文通”字处理部分两种文档格式标准之间的相同点及存在的差异,探讨了两种文档格式之间的转换能力,并通过XSLT实现了两种文档格式之间的转换.实验结果表明了该方法的可行性.  相似文献   

6.
随着舰艇作战系统的发展,传统的作战系统接口协议制订方法会造成协议数量众多,不同协议之间内容重复,管理维护困难等问题。文章利用XML技术,基于数据模型模板的思想设计实现了一个辅助作战系统接口协议设计的软件,提供作战系统接口协议相关信息的提交和管理功能,建立元数据注册库,并通过可扩展样式表转换技术生成接口协议文档,或者生成报文数据模型等有用的内容。该软件可以应用于作战系统接口协议的设计过程和接口信息的仿真等方面。  相似文献   

7.
XML文档对象模型研究与应用   总被引:7,自引:0,他引:7  
从XML文档的基本结构出发,详细论述了DOM树、节点树结构特征及DOM的基本接口。结合产品定单实例实现XML文档结构树的动态创建、遍历,并通过XML DOM接口实现对文档结构树的操作等核心应用。  相似文献   

8.
有多种方法可以实现对XML文档的操作,常用的方法是使用DOM和SAX。但这两种方法各有其优缺点,故应根据实际情况选择合适的方法进行操作,实现系统之间的数据交换。我们认为,在java平台中使用Jdom是一个不错的选择。  相似文献   

9.
佚名 《Internet》2002,(12):45-49
  相似文献   

10.
基于ADO技术的XML数据交换   总被引:4,自引:0,他引:4  
用XML实现Web上的数据传输已经成为一种发展趋势。ADO是一种常用的数据访问技术,带有自己的缺陷,而它与XML正可以取长补短,建立一种新型的web上数据交换模型。本文论述了这种模型的构成原理和实现的方法。  相似文献   

11.
使用Java扩展Matlab   总被引:1,自引:0,他引:1  
为了能结合Java和Matlab两者的优点,构造功能更加强大的科学计算环境,对使用Java语言扩展Matlab主开发环境自身功能的关键技术进行了研究.首先介绍了使用Java扩展Matlab的基本方法,在此基础上结合项目实践中对复杂图形用户接口的需要,提出了一种在Java对象中通过Matlab接口对象访问当前Matlab会话的方法.给出了两个短小完整实例,可用于进一步扩展与重用.  相似文献   

12.
Class inheritance and dynamic binding are the key features of object-oriented programming and they permit designing and developing complex systems. However, standard class inheritance is essentially static and cannot be directly employed for modeling dynamic object behaviors. In this paper we propose a linguistic extension of Java, called Dec-Java, that is partially inspired by the decorator design pattern. This extension permits easily separating the basic features of objects (that are likely not to change during the application) from their behaviors (that, instead, can be composed dynamically at run-time). Thus, Dec-Java enables a dynamic extension and specialization of object responsibilities.  相似文献   

13.
Programmers can no longer rely solely on micro‐architectural and technology improvements to have their programs running faster. In today's multicore chips, parallel code needs to be explicitly written to extract any benefits from the extra available processing power. A recently proposed technique to parallelize general‐purpose programs' loops at the binary level, called decoupled software pipeline (DSWP), has shown good performance numbers only under the assumption of a fast hardware intercore communication queue. In this paper, we propose Java‐DSWP, a source‐level DSWP‐based parallelization technique that is much simpler than original DSWP and can be used to effectively parallelize Java applications. In addition, we propose and evaluate a software intercore communication scheme that enables code parallelized through Java‐DSWP to be executed in commodity machines, thus not requiring a hardware intercore communication queue to be efficient, as DSWP does. We analyze three memory communication queue implementations and show experimental results that reveal an average 48% speedup on some SPCjvm2008 benchmarks. Copyright © 2012 John Wiley & Sons, Ltd.  相似文献   

14.
诠释(annotation)是JavaSE5引入的一种新的编程语言成分,目前得到广泛关注。但从可视化建模来看,已有的Java元模型和UML2元模型并不支持诠释规范,这导致诠释的语义特征在高层抽象中难以体现,也不能实现诠释的可视化、规范化建模。本文扩展已有的Java元模型,以支持诠释的可视化建模。文章提出了诠释的4个重要特征,添加了3个元类以扩展Java元模型,使其能反映诠释特征,并给出2个图符以支持诠释的可视化建模。新的Java元模型符合MOF规范,设计简单,方便实现以支持MDA及相关工具的开发。  相似文献   

15.
Java has gained great popularity in embedded appliances such as set-top boxes, smart phones and other hand held devices. In this paper we propose a translation based hw/sw codesigned Java virtual machine architecture, which extends a typical embedded RISC processor. The architectural extensions we propose include special instructions that accelerate translated blocks dispatch and security checks for arrays and objects. The extensions are done in a way that operating systems support is maintained, something that makes their adoption more attractive. Benchmarking using Embedded Caffeine Mark (ECM) benchmarks, showed significant speedups, especially when high performance RISC processors are employed.  相似文献   

16.
We explore the issues involved in converting graph data stored in GXL or GraphML into each other. It turns out that XSLT provides a simple, portable, and effective mechanism for format conversion in either direction. As a by-product, some subtle differences between the formats become apparent.  相似文献   

17.
利用XSLT转换XML文档的应用   总被引:5,自引:0,他引:5  
XML实现了数据与表示的分离,需要通过样式表来显示XML数据.目前有两种常用的样式表格式CSS和XSL.本文首先讨论了CSS的不足和XSL的优势,然后介绍了XSL和XSLT转换语言,并深入讨论了XSLT的工作原理,最后结合水调工程中的一个实例,具体说明如何利用XSLT分别实现在浏览器和服务器端XML文档的转换.  相似文献   

18.
We present recent work on the development of Java PathExplorer (JPaX), a tool for monitoring the execution of Java programs. JPaX can be used during program testing to gain increased information about program executions, and can potentially furthermore be applied during operation to survey safety critical systems. The tool facilitates automated instrumentation of a program's byte code, which will then emit events to an observer during its execution. The observer checks the events against user provided high level requirement specifications, for example temporal logic formulae, and against lower level error detection procedures, usually concurrency related such as deadlock and data race algorithms. High level requirement specifications together with their underlying logics are defined in rewriting logic using Maude, and then can either be directly checked using Maude rewriting engine, or be first translated to efficient data structures and then checked in Java.  相似文献   

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

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