# US 2005/0097513 A1 · Method and system for archiving and retrieving a markup language document

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2005/0097513 A1
- Document ID: US20050097513A1
- Status: Published application
- Kind: A1
- Application number: 10/696,694
- Filed: 2003-10-29
- Published: 2005-05-05
- Earliest claimed: 2003-10-29
- Assignees: International Business Machines Corporation
- Inventors: Martin Pepper; Mark Stephens
- Web page: https://patentgrep.com/patent/US20050097513A1

## CPC

- G06F 16/258: {Data format conversion from or to a database}
- Y10S 707/99933: Query processing, i.e. searching
- Y10S 707/99935: Query augmenting and refining, e.g. inexact access
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y10S: TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS

## Abstract

A method, system, and program product for the archiving of a markup language document. The method includes the steps of: identifying at least one referenced resource in the document; determining if the at least one identified referenced resource is stored in a storage device; and in response to an unsuccessful determining step, storing the at least one identified referenced resource in the storage device.

## Claims

### Claim 1

A method for archiving a markup language document comprising at least one referenced resource and a storage device for storing at least one referenced resource, the method comprising the steps of:
identifying at least one referenced resource in the document;
determining if the at least one identified referenced resource is stored in the storage device; and
in response to an unsuccessful determining step, storing the at least one identified referenced resource in the storage device.

### Claim 2 (depends on 1)

The method of claim 1, wherein the identifying step comprises:
parsing at least one tag contained within the document, wherein each tag corresponds to a referenced resource.

### Claim 3 (depends on 1)

The method of claim 1, wherein the step of determining comprises:
performing a query on the storage device to determine a match between each identified referenced resource in the document and the referenced resources stored in the storage device.

### Claim 4 (depends on 3)

The method of claim 3, wherein, if a match is found, the referenced resource is not stored again in the storage device.

### Claim 5 (depends on 1)

The method of claim 1, wherein one version of a referenced resource is stored in the data store.

### Claim 6 (depends on 1)

The method of claim 1, wherein an identified referenced resource is selected from the group consisting of a style sheet, a data type definition file, and an image.

### Claim 7 (depends on 1)

The method of claim 1, wherein the markup language document comprises an XML document.

### Claim 8 (depends on 1)

A computer program product directly loadable into the internal memory of a digital computer, comprising software code portions for performing, when said product is run on a computer, the method as claimed in claim 1.

### Claim 9

A method for retrieving an archived markup language document from a storage device, the method comprising the steps of:
receiving a search request to retrieve an archived document from the storage device;
identifying one or more referenced resources within the requested archived document;
determining if the one or more referenced resources are stored in the storage device; and
retrieving the requested archived document and the one or more referenced resources from the storage device.

### Claim 10 (depends on 9)

The method of claim 9, wherein the markup language document comprises an XML document.

### Claim 11 (depends on 9)

A computer program product directly loadable into the internal memory of a digital computer, comprising software code portions for performing, when said product is run on a computer, the method as claimed in claim 9.

### Claim 12

A system for archiving a markup language document, the system comprising:
an XML indexer for parsing the document to identify one or more referenced resources; and
a storage device for storing at least the document and the each referenced resource in a storage device.

### Claim 13 (depends on 12)

The system of claim 12, wherein the markup language document comprises an XML document.

### Claim 14 (depends on 12)

The system of claim 12, wherein the XML indexer parses at least one XML tag contained within the document.

### Claim 15

A system for retrieving an archived markup language document, comprising:
a system for receiving a request for an archived document;
an XML retriever for determining at least one referenced resource in the document, and
a load component for loading the document and the at least one referenced resource from a storage device.

### Claim 16 (depends on 15)

The system of claim 15, wherein the markup language document comprises an XML document.
