IP Library › Granted Patent US 7,139,975
Granted Patent B2
US 7,139,975 · App. 10/291,568 · Granted Nov 21, 2006

Method and system for converting structured documents

Assignee: NTT DoCoMo, Inc.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,139,975
App. No.
10/291,568
Granted
Nov 21, 2006
Kind
B2
Abstract

A document conversion method for converting a first structured document F 1 , formed based on a first document type definition D 1 , to a second structured document F 3 , formed based on a second document type definition D 2 , the document conversion method including analyzing the document type definition D 1 and document type definition D 2 and extracting a difference document type definition, generating a conversion template T 2 described therein a conversion rule which prevents the structured document F 3 , which is the result of document conversion process, from being contradictory to the document type definition D 2 , based on the results of the analysis, and performing document conversion process using the conversion template T 2.

Claims (44)

1. A document conversion system for converting a first structured document conforming to a first document schema which defines a description method of a structured document into a second structured document conforming to a second document schema which differs from the first structured document, the first structured document having a first character string structure including a character string and a document tag adapted for sandwiching the character string, the document tag defining the character string as a prescribed element of the first structured document,

the document conversion system comprising:

a correspondence table storing unit configured to store a correspondence table including at least the document tag, a conversion condition indicating whether or not the first character string structure needs to be converted, and a conversion content for converting the first character string structure to a second character string structure conformed to the second document schema;

a conversion template generator configured to generate a conversion template corresponding to a conversion method for a conversion of the first character string structure to the second character string structure based on the correspondence table; and

a document structure converter configured to convert the first character string structure to the second character string structure using the conversion template.

2. The document conversion system according to claim 1 , further comprising a file recorder configured to store the first structured document and the second structured document as file data, wherein

the document structure converter converts the first structured document read out from the file recorder.

3. The document conversion system according to claim 1 , further comprising:

a receiver which is connected to communication network and is configured to acquire a conversion request and the first structured document from the communication network; and

a transmitter for transmitting the second structured document converted by the document structure converter to the communication network.

4. The document conversion system according to claim 1 , further comprising a shaper configured to shape the first structured document to a structure conforming to the first document schema in a case where a part of the first structured document does not correspond to the first document schema.

5. The document conversion method according to claim 1 , wherein the conversion content template generator is configured to generate the conversion template based on an XSL, and

the document structure converter in configured to convert the first character string structure to the second character string structure by an XSLT conversion engine.

6. The document conversion system according to claim 1 , wherein the conversion content includes a sandwiching of the character string by a div tag in a case where the character string cannot be correlated just after the document tag in the second structured document.

7. A document conversion method for converting a first structured document conforming to a first document schema which defines a description method of a structured method of a structured document into a second structured document conforming to a second document schema which differs from the first structured document, the first structured document having a first character string structure including a character string and a document tag adapted for sandwiching the character string, the document tag defining the character string as a prescribed element of the first structured document, the document conversion method comprising the steps of:

(A) generating a conversion template corresponding to a conversion method for a conversion of the first character string structure to the second character string structure based on the correspondence table including at least the document tag, a conversion condition indicating whether or not the first character string structure needs to be converted, and a conversion content for converting the first character string structure to a second character string structure conformed to the second document schema; and

(B) converting the first character string structure to the second character string structure using the conversion template.

8. The document conversion method according to claim 7 , wherein

the first structured document and the second structured document are stored in a file recorder as file data, and

the first structured document read from the file recorder is converted.

9. The document conversion method according to claim 7 further comprising:

a step of acquiring a conversion request and the first structured document from communication network, and

a step of transmitting a converted second structured document to the communication network.

10. The document conversion method according to claim 7 , wherein the step (B) includes a step of shaping the first structured document to a structure conforming to the first document schema in a case where a part of the first structured document does not correspond to the first document schema.

11. The document conversion method according to claim 7 , wherein

in the step (A), the conversion template is generated based on an XSL, and

in the step (B), the first character string structure is converted to the second character string structure by an XSLT conversion engine.

12. The document conversion method according to claim 7 , wherein

the conversion content includes sandwiching of the character string by a div tag in a case where the character string cannot be correlated just after the document tag in the second structured document.

13. A computer readable recording medium storing a document conversion program for converting a first structured document conforming to a first document schema defining a description method of a structured document into a second structured document conforming to a second document schema which differs from the first structured document,

the first structured document having a first character string structure including a character string and a document tag adapted for sandwiching the character string, the document tag defining the character string as a prescribed element of the first structured document, said computer program product including instructions for:

(A) generating a conversion template corresponding to a conversion method for a conversion of the first character string structure to the second character string structure based on the correspondence table including at least the document tag, a conversion condition indicating whether or not the first character string structure needs to be converted, and a conversion content for converting the first character string structure to a second character string structure conformed to the second document schema; and

(B) converting the first character string structure to the second character structure using the conversion template.

14. The computer readable recording medium storing the document conversion program according to claim 13 , wherein

the first structured document and the second structured document are stored in a file recorder as file data, and

the first structured document read from the file recorder is converted.

15. The computer readable recording medium storing the document conversion program according to claim 14 further comprising:

a step of acquiring a conversion request and the first structured document from communication network, and

a step of transmitting a converted second structured document to the communication network.

16. The computer readable recording medium storing the document conversion program according to claim 14 , wherein the step (B) includes a step of shaping the first structured document to a structure conforming to the first document schema in a case where a part of the first structured document does not correspond to the first document schema.

17. The computer readable recording medium according to claim 13 , wherein

in the step (A), the conversion template is generated based on an XSL, and

in the step (B), the first character string structure is converted to the second character string structure by an XSLT conversion engine.

18. The computer readable recording medium according to claim 13 , wherein the conversion content includes sandwiching of the character string by a div tag in a case where the character string cannot be correlated just after the document tag in the second structured document.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 22, 2003
From: SUZUKI, HIDEHARU; ISHIKAWA, NORIHIRO; UENO, HIDETOSHI; SUMINO, HIROMITSU; KATO, TAKESHI
To: NTT DOCOMO, INC.
Reel/Frame 013987/0424 →
Priority Claims (1)
JP 2001-346736 · Nov 12, 2001 · national
Continuity (1)
Related Publication 20030093760A1 · May 15, 2003