首页 | 本学科首页   官方微博 | 高级检索  
     

基于XML链式结构的研究
引用本文:谢佳,谭歆,姚斌. 基于XML链式结构的研究[J]. 现代电子技术, 2008, 31(12): 80-81
作者姓名:谢佳  谭歆  姚斌
作者单位:陕西科技大学,电信学院,陕西,西安,710021
摘    要:提出一种基于链式结构的XML文档生成方法。其解析得到的元素内容及文本内容生成的结点插入到相应的位置,以二叉链表的数据结构将树的信息存储在数据库中。服务器端将数据库中树的信息转化成XML,客户端将其加载到浏览器的(DOM)实例中,并采用深度优先搜索算法对该实例中的结点进行递归遍历,生成浏览器端树的HTML代码。

关 键 词:树形结构  XML  二叉链表  链式结构
文章编号:1004-373(2008)12-080-02
修稿时间:2007-12-26

Research of Chain - link Structure Based on XML
XIE Jia,TAN Xin,YAO Bin. Research of Chain - link Structure Based on XML[J]. Modern Electronic Technique, 2008, 31(12): 80-81
Authors:XIE Jia  TAN Xin  YAO Bin
Abstract:This paper introduces a measure of storing,showing and vindicating the tree structure.The element and text contents are inserted into the correct position,we store the tree structure information to the relational database by the data structure of binary chained list.The server translates it from database to a format of XML,then the client loads it to DOM and traverses recursively for each node of DOM by arithmetic and creates a tree which has the same structure with the XML document in the way of HTML.
Keywords:tree structure  XML  binary chained list  chain-link structure  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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