Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2009, Vol. 35 ›› Issue (10): 75-77. doi: 10.3969/j.issn.1000-3428.2009.10.024

• Software Technology and Database • Previous Articles     Next Articles

Identification and Transformation of XML Function Expression Based on Unique Binary Tree

YE Xiao-tong1, DENG Yun1,2, JIAN Qing-ming1   

  1. (1. Networks Administration Center, Sichuan University of Science and Engineering, Zigong 643000;2. School of Information Science and Technology, Southwest Jiaotong University, Chengdu 610031)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-05-20 Published:2009-05-20

基于唯一二叉树的XML函数表达式标识转换

叶晓彤1,邓 云1,2,简清明1   

  1. (1. 四川理工学院网络管理中心,自贡 643000;2. 西南交通大学信息科学与技术学院,成都 610031)

Abstract: This paper proposes a resolution to resolve the complex problem of transforming function expression between different XML language products. Based on the corresponding relationship between function expression and binary tree, the resolution adopts array of pre-order traversal and in-order traversal to identify the unique binary tree in XML document properties, so that the function expression can be generally resolved by other XML language products. The relative key technologies of parsing and transforming XML function expressions are researched and described in detail. The proposed resolution can improve the universality and efficiency of transforming function expression.

Key words: XML language, function expression, binary tree, identification, transformation

摘要:

针对在不同XML语言产品间实现函数计算表达式转换比较复杂的问题,提出在构建函数表达式对应二叉树结构的基础上,通过在XML文档属性设置中用中序、前序遍历序列对二叉树结构进行唯一标识,使其他XML语言产品实现通用解析,阐述XML函数表达式的解析和转换中的关键技术。该方法能提高XML函数表达式转换的通用性,并提高转换效率。

关键词: XML语言, 函数表达式, 二叉树, 标识, 转换

CLC Number: