# US 2003/0074181 A1 · Extensibility and usability of document and data representation languages

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

- Number: US 2003/0074181 A1
- Document ID: US20030074181A1
- Status: Published application
- Kind: A1
- Application number: 09/896,140
- Filed: 2001-06-29
- Published: 2003-04-17
- Earliest claimed: 2001-06-29
- Assignees: Versata Development Group, Inc.
- Inventors: Shari Gharavy
- Web page: https://patentgrep.com/patent/US20030074181A1

## CPC

- G06F 40/154: Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets
- G06F 40/143: Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An application's XML parser requiring XML files conforming to a very simple DTD requires a user to create a verbose and very redundant XML input file. The verbose XML file is usually prone to errors if created by a novice user, or an entity not involved in the initial creation of the application and its parser. Thus, the present invention creates an input XML file conforming to the simple DTD from a grammar rich XML file provided by the user. The grammar rich XML file requires a complex DTD for transformation. The complex DTD may also be prone to error if created by the user, therefore, the complex DTD file is automatically created from a schema definition provided by the user, or an agency of the user. The user or an agent of the user defines a schema for the desired grammar level, and then through a series of XSL transformations, the complex DTD file is created. Also, a stylesheet used for transforming the user's grammar rich XML file is automatically created. The grammar rich XML file provided by the user conforms to the automatically created complex DTD file. Thus, the grammar used in defining the user interface to an application is extensible without any requirement to enrich and recompile the application's XML parser.

## Claims

### Claim 1

An extensible method for simplifying input provided to a computer program comprising:
creating a framework for a first grammar level;
performing a first transformation of said framework to generate a first set of rules relating to interpretation of said first grammar level;
performing a second transformation of said framework to generate a first presentation style for said first grammar level;
obtaining a user defined input in said first grammar, said user defined input conforming to said first set of rules;
applying said first set of rules and said first presentation style to said user defined input to generate an output in a second grammar understood by an application's parser.

### Claim 2 (depends on 1)

The method of claim 1, wherein said creating a framework comprises:
creating one or more files having grammar definitions conforming to a second set of rules; and
transforming said one or more files into said framework using a second presentation style conforming to said framework.

### Claim 3 (depends on 1)

The method of claim 1, wherein said first transformation is in accordance with a third presentation style.

### Claim 4 (depends on 1)

The method of claim 1, wherein said second transformation is in accordance with a fourth presentation style.

### Claim 5 (depends on 1)

The method of claim 1, wherein said first grammar of said user defined input is extensible.

### Claim 6 (depends on 1)

The method of claim 1, wherein said second grammar understood by said application's parser is fixed.

### Claim 7 (depends on 1)

The method of claim 1, wherein said data representation language is extensible markup language (XML).

### Claim 8

A computer readable product comprising:
a computer readable medium having a computer readable product comprising a computer readable document embodied therein, said computer readable document utilized for input into a rule engine, said computer readable document created by performing a method comprising:
creating a framework for a first grammar level;
performing a first transformation of said framework to generate a first set of rules relating to interpretation of said first grammar level;
performing a second transformation of said framework to generate a first presentation style for said first grammar level;
obtaining a user defined input in said first grammar, said user defined input conforming to said first set of rules;
applying said first set of rules and said first presentation style to said user defined input to generate an output in said document, said output conforming to a second grammar level understood by an application's parser.

### Claim 9 (depends on 8)

The computer readable product of claim 8, wherein said creating a framework comprises:
creating one or more files having grammar definitions conforming to a second set of rules; and
transforming said one or more files into said framework using a second presentation style conforming to said framework.

### Claim 10 (depends on 8)

The computer readable product of claim 8, wherein said first transformation is in accordance with a third presentation style.

### Claim 11 (depends on 8)

The computer readable product of claim 8, wherein said second transformation is in accordance with a fourth presentation style.

### Claim 12 (depends on 8)

The computer readable product of claim 8, wherein said first grammar of said user defined input is extensible.

### Claim 13 (depends on 8)

The computer readable product of claim 8, wherein said second grammar understood by said application's parser is fixed.

### Claim 14 (depends on 8)

The computer readable product of claim 8, wherein said data representation language is extensible markup language (XML).

### Claim 15

A computer program product comprising:
a computer readable medium having computer program code for extensibly simplifying input provided to a computer program embodied therein, said computer program code configured to cause a computer to:
create a framework for a first grammar level, wherein said framework comprises a schema;
perform a first transformation of said framework to generate a first set of rules relating to interpretation of said first grammar level;
perform a second transformation of said framework to generate a first presentation style for said first grammar level;
obtain a user defined input in said first grammar, said user defined input conforming to said first set of rules;
apply said first set of rules and said first presentation style to said user defined input to generate an output in said document, said output conforming to a second grammar level understood by an application's parser.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein said create a framework comprises:
creating one or more files having grammar definitions conforming to a second set of rules; and
transforming said one or more files into said framework using a second presentation style conforming to said framework.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein said first transformation is in accordance with a third presentation style.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein said second transformation is in accordance with a fourth presentation style.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein said first grammar of said user defined input is extensible.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein said second grammar understood by said application's parser is fixed.

### Claim 21 (depends on 15)

The computer program product of claim 15, wherein said data representation language is extensible markup language (XML).

### Claim 22

An extensible method for simplifying input provided to a computer program comprising:
creating a schema for a first grammar level;
performing a first transformation of said schema to generate a first set of rules relating to interpretation of said first grammar level;
performing a second transformation of said schema to generate a first presentation style for said first grammar level;
obtaining a user defined input in said first grammar, said user defined input conforming to said first set of rules;
applying said first set of rules and said first presentation style to said user defined input to generate an output in a second grammar understood by an application's parser.

### Claim 23 (depends on 22)

The method of claim 22, wherein said creating a schema comprises:
creating one or more files having grammar definitions conforming to a second set of rules; and
transforming said one or more files into said schema using a second presentation style conforming to said schema.

### Claim 24 (depends on 22)

The method of claim 22, wherein said first transformation is in accordance with a third presentation style.

### Claim 25 (depends on 22)

The method of claim 22, wherein said second transformation is in accordance with a fourth presentation style.

### Claim 26 (depends on 22)

The method of claim 22, wherein said first grammar of said user defined input is extensible.

### Claim 27 (depends on 22)

The method of claim 22, wherein said second grammar understood by said application's parser is fixed.

### Claim 28 (depends on 22)

The method of claim 22, wherein said data representation language is extensible markup language (XML).
