Programmatic creation of dynamically configured, hierarchically organized hyperlinked XML documents for presenting data and domain knowledge from diverse sources
View Patent ↗The invention relates to jCode programs which perform programmatic creation of strings comprising hyperlinked data and references thereto, and to the programmatic creation of documents, including XML documents and other format documents, referencing internal and external data sources. JSON can be used to express jCode programs, as can other custom designed languages, or XML or YAML.
1. A method for programmatically assembling a hierarchically organized document comprising:
a) providing a document configuration prescribing: the sequencing of document sections, and the mapping of DataStatements and KnowledgeStatements to sections; and
b) assembling the document by providing DataStatement templates and KnowledgeStatement templates and executing a code for instantiating substitution variables within said templates with data or domain knowledge acquired from designated internal or external data and knowledge sources; and thereby generating the DataStatements and KnowledgeStatements each having status attributes; and optionally also examining the status attribute of DataStatements and KnowledgeStatements, the status attribute indicating whether a particular DataStatement and/or a particular KnowledgeStatement is to be selected for inclusion in the document; and
c) placing selected DataStatements and KnowledgeStatements into document sections in accordance with the document configuration, whereby the selected DataStatements and KnowledgeStatements are mapped to said document sections.
2. The method of claim 1 wherein the document configuration is a document configuration table.
3. The method of claim 1 wherein the sequencing is nested.
4. The method of claim 1 wherein DataStatements and KnowledgeStatements are created by a code which uses parametrized instructions for acquiring and transforming items of data or items of domain knowledge.
5. The method of claim 4 wherein the code is jCode.
6. The method of claim 1 wherein the assembly proceeds interactively, step by step, so as to create a review workflow.
7. The method of claim 1 wherein DataStatements and KnowledgeStatements are XML or cXML documents.
8. The method of claim 7 wherein XML or cXML documents are translated into HTML.