Patent Document ID: 10127208
Application ID: 14590275

Base Claim:
1. A non-transitory computer-readable recording medium having stored therein a document conversion program converting a first document into a second document that causes a computer to execute a process comprising: detecting a first document item in the first document that corresponds to a second document item in the second document that has a child document item in the second document based on a hierarchical document that includes a hierarchical relationship information among document items in the second document, and dividing a content of the first document item in accordance with a data type, restriction information, and nil-value allowance information of the child document item of the second document item that corresponds to the first document item and that is in the second document; relating the divided content of the first document item to the child document item; and converting the first document into the second document by using the related divided content and the child document item, wherein the dividing includes dividing the content of the first document item in accordance with a data type of a child document item of a document item that corresponds to the first document item and that is in the second document, wherein the dividing includes, if it is determined that the data type is a string type, determining whether a document item value includes a string that matches an arbitrary string that is defined in the auxiliary information, and, if it is determined that the data type is not the string type, extracting, from the document item value, a string that matches the data type, and the arbitrary string means a candidate of an expected value that needs to be extracted from the document item value on the basis of an eXtensible Business Reporting Language (XBRL) element.

---

Claim 3:
3. The non-transitory computer-readable recording medium according to claim 1 , wherein the dividing includes, when a data type of a child document item of a document item that corresponds to the first document item and that is in the second document is a string type and, when a content of the first document item includes a string that is identical with a specific string that is previously defined and that corresponds to a child document item, extracting the identical string from the content of the first document item and determining that the extracted string is a divided content.