Method for Transforming the Source Documents to Corresponding Web Pages
First Claim
1. A method for transforming source documents which are interactive and organized in a hierarchy of nested cells to web pages, including:
- directly mapping the elements of static cells in source documents to web pages so as to enable the transformation of the elements of static cells in source documents to web page elements;
selecting the dynamic cells which are to be transformed from the source documents;
adding the cell level tags or comments for the selected dynamic cells, and then adding the cell element level tags or comments for the selected dynamic cells, so as to construct a one-to-one mapping relationship between the elements of dynamic cells and the corresponding elements of web pages; and
transforming the elements of dynamic cells to corresponding elements of web pages according to the constructed mapping relationship.
0 Assignments
0 Petitions
Accused Products
Abstract
The invention has disclosed a method for transforming interactive source documents organized in a hierarchy of nested cells to web pages. The method includes: directly mapping the elements of static cells in source documents to web pages so as to enable the transformation of the elements of static cells in source documents to web page elements; selecting the dynamic cells which are to be transformed from the source documents; adding the cell level tags or comments for the selected dynamic cells, and then adding the element level tags or comments for the selected dynamic cells, so as to construct the mapping relationship between the elements of dynamic cells and the corresponding elements of web pages; transforming the elements of dynamic cells to corresponding elements of web pages according to the constructed mapping relationship. By the two-layer-tagging process which is to add cell level tags and cell element level tags to the dynamic cells, the invention can further differentiate the elements of dynamic cells in source documents and construct the mapping relationship between the dynamic elements in source documents and corresponding elements of targeted web pages thus avoid the trouble of writing codes by professionals.
-
Citations
13 Claims
-
1. A method for transforming source documents which are interactive and organized in a hierarchy of nested cells to web pages, including:
-
directly mapping the elements of static cells in source documents to web pages so as to enable the transformation of the elements of static cells in source documents to web page elements; selecting the dynamic cells which are to be transformed from the source documents; adding the cell level tags or comments for the selected dynamic cells, and then adding the cell element level tags or comments for the selected dynamic cells, so as to construct a one-to-one mapping relationship between the elements of dynamic cells and the corresponding elements of web pages; and transforming the elements of dynamic cells to corresponding elements of web pages according to the constructed mapping relationship. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for transforming Mathematica notebook source document to webMathematica pages, including:
-
that the translator directly map the elements of the static cells in the source documents to the elements of the targeted web pages according to the one-to-one mapping relationship between the static elements in the source documents and the elements in the web pages;
selecting a dynamic cell which is to be transformed from the source Mathematica Notebook;
adding cell level tags for the type of the selected dynamic cell by the selection on the control panel of the translator;for the dynamic cells that need to be processed at the cell element level, add the cell element level tags by the control panel to construct the mapping relationship between the elements of the dynamic cells and the corresponding elements of the web pages, in which Adding cell element level tags to the dynamic cells includes;
adding a tag before or after the content of said dynamic cell and copying the selected cell element of the dynamic cell in the tag; andthe translator transforming the elements of the dynamic cells to corresponding elements of targeted web pages by calling the transformation functions matched with the patterns according to the vary combinations of the cell level tags and the cell element level tags. - View Dependent Claims (10)
-
-
11. A method for constructing the overall mapping relationship between the elements of source documents which are interactive and organized in a hierarchy of nested cells and the elements of targeted web pages, including:
-
constructing the definite mapping relationship between every element in static cells of source documents and every corresponding element in targeted web pages in the area of mapping table; selecting the dynamic cells that need to be mapped from the source documents; adding the cell level tags which represent the cell type information to the selected dynamic cells, then adding the cell element level tags to the selected dynamic cells, wherein the cell element level tags include the copy of the selected element of the dynamic cell; constructing the area which is related with the cell level tags in the mapping table, then constructing the definite mapping relationship between the every element copy in the cell element level tags and every corresponding element in the targeted web pages in the area, so as to construct the definite mapping relationship between every element of dynamic cells and every corresponding element of targeted web pages. - View Dependent Claims (12, 13)
-
Specification