发明名称 Method for processing a document object model (DOM) tree using a tagbean
摘要 A method of processing a document object model (DOM) tree having at least one tag located at a given node in the tree. The tag serves as a marker that initiates the invocation of a tag handler that, in turn, performs a simple macro substitution or a more complex algorithmic reorganization and manipulation of the tree. Upon encountering the tag, given information is passed to a method. In a first embodiment, the given information is a text representation of XML in the DOM tree at the given node and any child nodes of the given node. In an alternate embodiment, the given information is the given node of the DOM tree itself. The method generates an XML string, which is then parsed into a new DOM tree having a root node. The given node and any child nodes are then replaced by the new DOM tree, with the root node of the new DOM tree being positioned at the given node in the original DOM tree. The process may then be repeated for any additional tags.
申请公布号 US6981211(B1) 申请公布日期 2005.12.27
申请号 US19990409370 申请日期 1999.09.30
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 CLAUSSEN CHRISTOPHER SHANE;MCCLAIN MATTHEW DALE;ZUMBRUNNEN BENJAMIN CHARLES
分类号 G06F15/00;G06F17/30;(IPC1-7):G06F15/00 主分类号 G06F15/00
代理机构 代理人
主权项
地址