首页> 外国专利> EVENT GENERATION FOR XML SCHEMA COMPONENTS DURING XML PROCESSING IN A STREAMING EVENT MODEL

EVENT GENERATION FOR XML SCHEMA COMPONENTS DURING XML PROCESSING IN A STREAMING EVENT MODEL

机译:流事件模型中XML处理过程中XML模式元素的事件生成

摘要

A method and computer program for processing structured documents follows a processing framework that enables generation of events corresponding to instance document elements and events corresponding to definition components in a single serial process. The process comprises creating a graph data structure in which nodes of the graph represent components of a document definition. The process further involves reading an instance document conforming to the document definition, identifying elements of the document that correspond to nodes of the graph, identifying a path between nodes of the graph that correspond to elements of the document, and traversing the path to generate a start event when moving from a parent node to a child node and an end event when moving from a child node to a parent node.
机译:用于处理结构化文档的方法和计算机程序遵循处理框架,该处理框架使得能够在单个串行过程中生成与实例文档元素相对应的事件和与定义组件相对应的事件。该过程包括创建图形数据结构,其中图形的节点表示文档定义的组件。该过程还包括读取符合文档定义的实例文档,标识与图的节点相对应的文档元素,标识与文档的元素相对应的图的节点之间的路径以及遍历该路径以生成从父节点移动到子节点时开始事件,从子节点移动到父节点时结束事件。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号