发明名称 Method for verifying context between multiple related XML tags in document object model (DOM)
摘要 A method for processing a Document Object Model (DOM) tree to verify context between multiple related XML tags. One or more of these related XML tags are custom tags. According to the invention, contextual relationships between the related XML tags are verified using the DOM itself to indicate state. In a preferred embodiment, the inventive method begins during the processing of the DOM tree with a current element being processed replacing itself with a placeholder element. The placeholder element includes attributes indicating its state. If a clean-up element does not already exist for the element being processed, the current element creates a clean-up element and adds it to the DOM, for example, as a child node to the root position. When the clean-up element is later encountered, this element scans the entire DOM for all the related tags (now placeholders) of interest. The clean-up element loads the state information from each and processes the state information accordingly. When complete, the clean-up element removes itself from the DOM.
申请公布号 US6718516(B1) 申请公布日期 2004.04.06
申请号 US19990409373 申请日期 1999.09.30
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 CLAUSSEN CHRISTOPHER SHANE;FLURRY GREGORY ALAN;MCCLAIN MATTHEW DALE;XU LIN;ZUMBRUNNEN BENJAMIN CHARLES
分类号 G06F17/22;G06F17/30;(IPC1-7):G06F15/00;G09G5/00 主分类号 G06F17/22
代理机构 代理人
主权项
地址