摘要
Visio2003描述的有向计算图包含了顶点和边的各种信息。为了更加灵活地抽取Visio图中的图元信息,可以将Visio图以XML的格式存储为.vdx文件,再运用目前已经相当成熟的XML解析技术—DOM模型,设计对较大XML文件的解析应用程序提取有效信息,以实现Visio图与应用程序间的数据交互。本文详细阐述了新的基于XML文件数据转换Visio图的方法。
The Direct Calculate Graph,which has been described using Microsoft Visio2003 in software engineering, contains much important information in the vertexes and the edges.To extract the primitive information from Visio Graph more flexibly,it's feasible to save the Visio Direct Calculate Graphs as XML files,the extension name is vdx.And then,making use of a quite mature technology--Parsing XML by DOM (Document Object Model),an application program can be designed to extract the useful information from large XML files and achieve data exchanging between Visio Graphs and applications.Therefore,this article provides a way on how to develop a new extension tool of Visio2003 based on XML data conversion.
出处
《电脑学习》
2005年第6期38-40,共3页
Computer Study