Patent ID: 7707139

Claim:
A computer-implemented method for searching and displaying a structured document including performing a full-text search to the structured document and highlighted displaying of information on a position of characters meeting a search query in the structured document, the structured document comprising a plurality of elements as its basic structure, the method comprising the steps of: generating, by a processor, an original analyzed structured document to be searched; removing predefined element tags from the original analyzed structured document, and concatenating content character strings of elements made adjacent in the original analyzed structured document by removal of the predefined element tags to thereby generate a structured document for a full-text search including the concatenated content character strings omitting the removed predefined element tags, and generating information for restoring the removed predefined element tags; inputting a search query by an input unit; acquiring information on a position of a character string meeting the search query in the structured document for a full-text search; converting the information on the position of the character string meeting the search query in the structured document for the full-text search into information on the position of the character string meeting the search query in the original analyzed structured document; adding, by a processor, element information for the highlighted displaying of the information on the position of the characters meeting the search query, to the original analyzed structured document; generating a text string of the structured document from the analyzed structured document with the element information added to the structured document; and outputting for display, via an output unit, the generated text string including highlighted characters in the text string according to the added element information.