Arrangement for reversibly converting extensible markup language documents to hypertext markup language documents
First Claim
1. A method in an executable system for generating a new hypertext markup language (HTML) document representing an extensible markup language (XML) document, the method comprising:
- copying into the new HTML document text from the XML document;
resolving shared symbols of XML tags from within the text in the new HTML document;
first inserting into the HTML document HTML-compliant formatting information for selected XML objects within the text of the HTML document based on formatting characteristics determined during runtime execution of the XML document; and
second inserting into the HTML document an HTML-compliant reference tag for each corresponding XML reference object in the text within the HTML document based on context information determined during runtime execution of the XML document.
1 Assignment
0 Petitions
Accused Products
Abstract
An application server executes voice-enabled web applications by runtime execution of extensible markup language (XML) documents that define the voice-enabled web application to be executed. The application server includes a hypertext markup language (HTML) conversion module configured for translating information present during runtime execution of an XML document into an HTML document. The system converts the XML document into an HTML document in a manner that is reversible, where all the information from the original XML document is preserved such that the HTML document can be converted back to the original XML document. In addition, the system supplies HTML-compliant formatting information to specifically identify formatting specifications for XML tags having implied formatting characteristics during runtime execution of the XML document. Moreover, the system generates HTML-compliant reference tags for each XML tag that refers to another XML object, based on the context of the XML tag during the runtime execution of the XML document. Hence, the generated HTML document includes all information used during runtime execution of the XML document, enabling the use of web analysis tools to analyze XML-defined applications by analyzing the HTML document for the structure of the XML document relative to other XML documents used to define the XML-defined application.
181 Citations
27 Claims
-
1. A method in an executable system for generating a new hypertext markup language (HTML) document representing an extensible markup language (XML) document, the method comprising:
-
copying into the new HTML document text from the XML document;
resolving shared symbols of XML tags from within the text in the new HTML document;
first inserting into the HTML document HTML-compliant formatting information for selected XML objects within the text of the HTML document based on formatting characteristics determined during runtime execution of the XML document; and
second inserting into the HTML document an HTML-compliant reference tag for each corresponding XML reference object in the text within the HTML document based on context information determined during runtime execution of the XML document. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
determining the formatting characteristics of each of the selected XML objects to have a corresponding prescribed Multipurpose Internet Mail Extension (MIME) type; and
adding to each of the selected XML objects the corresponding HTML-compliant formatting information based on the corresponding prescribed MIME type.
-
-
7. The method of claim 6, wherein the adding step includes adding the corresponding prescribed MIME type to specify a corresponding media type.
-
8. The method of claim 1, wherein the first inserting step includes inserting for at least one of the selected XML objects a corresponding prescribed HTML tag that specifies the corresponding HTML-compliant formatting information based on the formatting characteristics being at least one of a document type descriptor for the at least one selected XML object, a schema of the at least one selected XML object, and application-specific characteristics generated by the runtime execution of the XML document.
-
9. The method of claim 1, wherein the second inserting step includes:
-
identifying the context information for each corresponding XML reference object as having a corresponding location within the executable system; and
generating the HTML-compliant reference tag to specify the corresponding location.
-
-
10. The method of claim 9, wherein the identifying step includes determining an XML document name and stored location for the corresponding location of the XML reference object.
-
11. The method of claim 9, wherein the identifying step includes determining for the corresponding location a document name and corresponding stored location of a document that specifies a presence of the XML reference object during the runtime execution.
-
12. The method of claim 11, wherein the step of determining for the corresponding location a document name includes determining that the document specifies the presence of a callable procedure as the XML reference object.
-
13. A system configured for executing an application defined by XML documents, the system comprising:
-
a storage medium for storing the XML documents; and
an application server configured for executing the XML documents in an application runtime environment, the application server having a conversion module configured for generating a new hypertext markup language (HTML) document representing a corresponding one of the XML documents by copying text from the one XML document into the new HTML document, adding to the HTML document formatting information for selected XML objects within the one XML document and parsed by the application server within the application runtime environment, and adding to the HTML document an HTML-compliant reference tag for each XML object referenced by the one XML document according to the application runtime environment. - View Dependent Claims (14, 15)
-
-
16. A computer readable medium having stored thereon sequences of instructions for generating a new hypertext markup language (HTML) document representing an extensible markup language (XML) document, the sequences of instructions including instructions for performing the steps of:
-
copying into the new HTML document text from the XML document;
resolving shared symbols of XML tags from within the text in the new HTML document;
first inserting into the HTML document HTML-compliant formatting information for selected XML objects within the text of the HTML document based on formatting characteristics determined during runtime execution of the XML document; and
second inserting into the HTML document a HTML-compliant reference tag for each corresponding XML reference object in the text within the HTML document based on context information determined during runtime execution of the XML document. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27)
determining the formatting characteristics of each of the selected XML objects to have a corresponding prescribed Multipurpose Internet Mail Extension (MIME) type; and
adding to each of the selected XML objects the corresponding HTML-compliant formatting information based on the corresponding prescribed MIME type.
-
-
22. The medium of claim 21, wherein the adding step includes adding the corresponding prescribed MIME type to specify a corresponding media type.
-
23. The medium of claim 16, wherein the first inserting step includes inserting for at least one of the selected XML objects a corresponding prescribed HTML tag that specifies the corresponding HTML-compliant formatting information based on the formatting characteristics being at least one of a document type descriptor for the at least one selected XML object, a schema of the at least one selected XML object, and application-specific characteristics generated by the runtime execution of the XML document.
-
24. The medium of claim 16, wherein the second inserting step includes:
-
identifying the context information for each corresponding XML reference object as having a corresponding location within the executable system; and
generating the HTML-compliant reference tag to specify the corresponding location.
-
-
25. The medium of claim 24, wherein the identifying step includes determining an XML document name and stored location for the corresponding location of the XML reference object.
-
26. The medium of claim 24, wherein the identifying step includes determining for the corresponding location a document name and corresponding stored location of a document that specifies a presence of the XML reference object during the runtime execution.
-
27. The medium of claim 26, wherein the step of determining for the corresponding location a document name includes determining that the document specifies the presence of a callable procedure as the XML reference object.
Specification