摘要 |
<P>PROBLEM TO BE SOLVED: To stop processing in response to a processing condition, in a midway of the processing of converting a document for describing a plurality of elements hierarchically into tree structure, before an object of the tree structure after conversion is not able to be stored because of a deficient storage capacity to generate an error. <P>SOLUTION: An XML document is input. The input XML document is analyzed, a partial tree using analyzed elements as nodes is prepared based on an analyzed result therein, and the prepared partial trees are repeatedly processed to be stored in the first storage part 14. A DOM three constituted of the plurality of partial trees is prepared thereby. When a predetermined stopping condition is judged to be satisfied during the repetition, the processing is stopped once, the nodes of the DOM tree stored already in the first storage part 14 are deleted to satisfy a deletion condition, and the processing is started again thereafter. <P>COPYRIGHT: (C)2005,JPO&NCIPI |