Method and Apparatus for Declarative Updating of Self-Describing, Structured Documents
First Claim
Patent Images
1. A method of preparing a response to an XML document received, the method including:
- receiving an XML document and detecting its document type;
looking up the document type and offering a user one or more available reply document types to select and generate in draft;
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
21 Claims
-
1. A method of preparing a response to an XML document received, the method including:
-
receiving an XML document and detecting its document type; looking up the document type and offering a user one or more available reply document types to select and generate in draft; 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:
-
retrieving a draft XML document and detecting its document type; building an in-memory tree-based representation of the draft document; applying a first style sheet to generate an interface that supports editing of the in-memory draft reply document; and accepting edits, updating the in-memory draft reply document, marshalling it into XML format, and either persisting it for later use or to be routed immediately. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A method of composing draft XML documents, the method including:
-
receiving a specification of a document type for an XML document to draft; building an in-memory tree-based representation of the draft document; applying a first style sheet to generate an interface that supports editing of the in-memory draft reply document; and accepting edits, updating the in-memory draft reply document, marshalling it into XML format, and either persisting it for later use or to be routed immediately. - View Dependent Claims (15, 16, 17)
-
-
18. A device for composing and editing generic XML documents, the device including:
-
a schema repository of schemas for XML documents of various document types; 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; a user interaction module that receives a request from a user to compose or edit an XML document of a particular document type; an document tree module that builds an in-memory tree-based representation of the selected draft 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 tree-based representation of the selected draft document, to generate an editing interface that supports editing of the in-memory draft reply document; wherein the user interaction module is further adapted to publish the editing interface to the user and to accept edits; wherein the document tree module is further adapted to update the in-memory draft document, marshal it into XML format, and persist it for later use.
-
-
19. A method of distributing incoming XML documents to interested users, the method including:
-
accepting at a document router a subscription request that identifies senders of interest, recipients of interest and document types of interest; screening incoming XML documents against a list of subscriptions and identifying subscribers to notify; periodically generating notification e-mail messages having a subject line indicating that new documents have been received and a link for opening the documents. - View Dependent Claims (20, 21)
-
Specification