Remote document updating system using XML and DOM
    1.
    发明授权
    Remote document updating system using XML and DOM 失效
    使用XML和DOM的远程文档更新系统

    公开(公告)号:US06826726B2

    公开(公告)日:2004-11-30

    申请号:US09932209

    申请日:2001-08-17

    IPC分类号: G06F1700

    摘要: In a system comprising a local processing device, a transmission link to a remote processing device, and a remote processing device, a method for updating a remote document in accordance with mutations made to a portion of the remote document maintained on the local processing device comprising the steps of loading at least a portion of the remote document into the local processing device as a local XML document, creating a logical document object model (DOM) having a plurality of nodes arranged in a logical hierarchical structure such that each node corresponds to an XML tag and data element in the XML document, mutating the XML document by adding, deleting, or modifying one or more of its data elements, updating the DOM to conform to the mutations to the XML document, creating a first event table that contains events corresponding to each mutation to the XML document where each entry comprises a path to a node in the DOM affected by the mutation and an event type, processing the first event table to create a second event table that contains the smallest number of events necessary to update the remote document to conform to the local XML document, transmitting the second event table and related data from the local device to the remote device, and mutating the remote document in accordance with events in said second event table and related data such that said remote document will have corresponding data elements of the same value as mutated data elements in the modified local XML document.

    摘要翻译: 在包括本地处理设备,到远程处理设备的传输链路和远程处理设备的系统中,根据对本地处理设备上维护的远程文档的一部分的突变来更新远程文档的方法,包括: 将远程文档的至少一部分加载到本地处理设备中作为本地XML文档的步骤,创建具有以逻辑分层结构布置的多个节点的逻辑文档对象模型(DOM),使得每个节点对应于 XML文档中的XML标签和数据元素,通过添加,删除或修改其一个或多个数据元素来更新XML文档,更新DOM以符合XML文档的突变,创建包含事件的第一个事件表 对应于XML文档的每个变体,其中每个条目包含到由突变影响的DOM中的节点的路径和事件类型,处理冷杉 t事件表,以创建第二个事件表,其中包含更新远程文档以符合本地XML文档所需的最小事件数,将第二个事件表和相关数据从本地设备传输到远程设备,并将 根据所述第二事件表中的事件和相关数据的远程文档,使得所述远程文档将具有与修改的本地XML文档中的突变数据元素具有相同值的对应数据元素。