Method and apparatus for declarative updating of self-describing, structured documents
First Claim
Patent Images
1. A method of preparing a response to a selected XML document, the method including:
- transmitting to a server a selection of an XML document, wherein the selected XML document has a selected incoming document type;
receiving and causing display of a list of available reply document types to select and generate in draft, responsive to the selected incoming document type;
transmitting to the server a selection of a selected reply document type;
applying a first style sheet to generate the selected draft reply document and building an in-memory tree-based representation of the selected draft reply document;
applying a second style sheet to generate an interface that supports editing of the in-memory draft reply document;
accepting edits, updating the in-memory draft reply document, marshalling it into XML format, and either persisting it for later use or sending it as a reply to the XML document.
0 Assignments
0 Petitions
Accused Products
Abstract
The present invention includes a method and device for updating a self-describing, structured document. A further aspect of the present invention is enabling client-based modification of the document. Additional aspects of the present invention are described in the claims, specification and drawings.
-
Citations
17 Claims
-
1. A method of preparing a response to a selected XML document, the method including:
-
transmitting to a server a selection of an XML document, wherein the selected XML document has a selected incoming document type; receiving and causing display of a list of available reply document types to select and generate in draft, responsive to the selected incoming document type; transmitting to the server a selection of a selected reply document type; applying a first style sheet to generate the selected draft reply document and building an in-memory tree-based representation of the selected draft reply document; applying a second style sheet to generate an interface that supports editing of the in-memory draft reply document; accepting edits, updating the in-memory draft reply document, marshalling it into XML format, and either persisting it for later use or sending it as a reply to the XML document. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of editing draft XML documents, the method including:
-
receiving a draft XML document, wherein the draft XML document has a document type; receiving and causing display of an interface that supports editing of an in-memory tree-based representation of the draft XML document, wherein the interface has been generated by applying a first style sheet to the in-memory draft document; accepting and transmitting to a server edits to update the in-memory draft XML document; error checking the updated draft XML document and generating an error report of any errors detected either as an in-memory tree-based representation of the errors detected or an XML error report document; and applying a second style sheet to merge the updated draft document and the error report and generate an interface that juxtaposes the error messages with parts of the draft document containing errors. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A method of drafting XML documents, the method including:
-
receiving a specification of a document type for an XML document to draft; receiving and causing display of an interface that supports editing of an in-memory tree-based representation of the XML document to draft, wherein the interface has been generated by applying a first style sheet to the in-memory XML document to draft; and accepting and transmitting to the server edits to update the in-memory XML document to draft; error checking the updated XML document to draft and generating an error report of any errors detected either as an in-memory tree-based representation of the errors detected or an XML error report document; and applying a second style sheet to merge the updated XML document to draft and the error report and generate an interface that juxtaposes the error messages with parts of the XML document to draft containing errors. - View Dependent Claims (14, 15, 16)
-
-
17. A system for composing and editing generic XML documents, the system including:
-
at least first and second processors coupled in communication; a schema repository of schemas for XML documents of various document types couple in communication with at least one of the processors; a style sheet repository of style sheets applicable to the document types adapted to generate an interface that supports editing of the in-memory draft document, the style sheet repository coupled in communication with at least one of the processors; a user interaction module running on a first processor that receives a request from a user to compose or edit an XML document of a particular document type; a document tree module that builds an in-memory tree-based representation of the selected XML document, responsive to the user interaction module and compliant with a schema from the schema repository; and a transformation module coupled to the user interaction model that selects a style sheet from the style sheet repository, responsive to the request and to the document type requested, and applies the style sheet to the in-memory XML document, to generate an editing interface that supports editing of the in-memory XML document; wherein the user interaction module is further adapted to cause display of the editing interface to the user and to accept edits from the user; wherein the document tree module is further adapted to update the in-memory XML document, marshal it into a generalized XML format, and persist it for later use.
-
Specification