WO2002082326A2 - Extensible stylesheet designs using meta-tag information - Google Patents
Extensible stylesheet designs using meta-tag information Download PDFInfo
- Publication number
- WO2002082326A2 WO2002082326A2 PCT/US2002/011247 US0211247W WO02082326A2 WO 2002082326 A2 WO2002082326 A2 WO 2002082326A2 US 0211247 W US0211247 W US 0211247W WO 02082326 A2 WO02082326 A2 WO 02082326A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- markup language
- file
- meta
- target file
- dynamic objects
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
- G06F40/154—Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/117—Tagging; Marking up; Designating a block; Setting of attributes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/14—Tree-structured documents
- G06F40/143—Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Definitions
- the present invention generally relates to the area of document processing and electronic publishing system, and more particularly, relates to techniques for designing extensible stylesheets. Description of the Related Art
- the Internet is a rapidly growing communication network of interconnected computers around the world. Together, these millions of connected computers form a vast repository of hyperlinked information that is readily accessible by any of the connected computers from anywhere and anytime. With millions of web pages being created and added to this vast repository each day or year, there is a tremendous need to quickly and easily convert documents, such as presentations, data sheets or brochures, into a format presentable to and accessible by other applications or devices on the Internet.
- a preferable format that is presentable to a web browsing application is in a markup language, such as Hypertext Markup Language (HTML), Extensible Markup Language (XML), Standard Generalized Markup Language (SGML) or Wireless Markup Language (WML).
- HTML Hypertext Markup Language
- XML Extensible Markup Language
- SGML Standard Generalized Markup Language
- WML Wireless Markup Language
- Files or documents that are so composed, edited or managed for web browsing applications are commonly referred to as structured files or documents.
- a content-oriented structured document like XML or SGML is capable of supporting any markup tags from document type definitions (DTD) or schema while a presentation document in HTML or WML can only support a fixed set of markup tags.
- DTD document type definitions
- the present invention pertains to the use of meta-tag information to design extensible stylesheets (XSL) for transferring a source XML file into a target file.
- XSL extensible stylesheets
- the output presentation includes a number of objects, such as a picture or a sentence or a group of words.
- Some of the objects are dynamic in a sense that these objects are respectively linked with source elements or objects in the source file so that any changes to the source objects will be dynamically reflected in the target file.
- Each of the meta-tags inserted specifies a relationship to the corresponding source object in the source file.
- unique ways to place the meta-tags are provided depending on implementation and application.
- the present invention may be implemented as a method, a system, a software product or other forms.
- the present invention is a method.
- the method receives a definition file including document type definitions (DTD) for the source XML and exports meta-tag information from the definition file through clipboard, drag-and-drop mechanisms, or OLE data transfer mechanisms to an authoring tool for the target file.
- the target file embedded with the source meta-tag information is further converted into an XSL file.
- the meta-tag information is exported from a schema file or a source XML file.
- the meta-tag information is created by directly typing in the authoring tool of the target file.
- the XSL file is created from a target file containing at least one meta-tag indicating an association relationship to the source file.
- FIG. 1 A shows a basic system configuration in which the present invention may be implemented in accordance with a preferred embodiment
- FIG. 1B illustrates internal construction blocks of a system in which the present invention may be implemented and executed to achieve desired results contemplated in the present invention
- FIG. 2A is an example of document type definitions (DTD) for recipe-type documents
- FIG. 2B shows an extensible markup language (XML) file based on the document type definitions (DTD) in FIG. 2A;
- XML extensible markup language
- FIG. 3A shows an extensible stylesheet language (XSL) file, which transfers the XML file in FIG. 2B into an HTML file;
- XSL extensible stylesheet language
- FIG. 3B shows a screenshot of the transferred HTML file of FIG. 3A
- FIG. 3C shows an XSL file, which transfers the XML file in FIG. 2B into a WML file
- FIG. 3D shows an XSL file, which transfers the XML file in FIG. 2B into another XML file
- FIG. 4A shows a screenshot of a target HTML with inserted meta-tag information
- FIG. 4B shows a screenshot of a target XML with inserted meta-tag information
- FIG. 5A shows an output representation of a target file along with an XML/DTD/Schema Editor (XDTD), which exports the meta-tag information through a drag-and-drop mechanism;
- XDTD XML/DTD/Schema Editor
- FIG. 5B shows an example of creating a DTD of an XML file for an HTML file using the XDTD Editor and includes of an expanded view of the created DTD, an example of creating XML elements based on the created DTD and an expanded view of an XML Tree with data nodes for elements, and attribute nodes for elements;
- FIG. 5C shows a corresponding XML file
- FIG. 5D shows data nodes (for corresponding meta-tags) in a tree structure for an XML file
- FIG. 6A shows an example of a target HTML file with inserted meta-tag information in FrontPage, in particular, this HTML file is a combination of the static texts, such as "Title:”, “From:”, “Ingredient:”..., and the dynamic information or objects from the source XML file;
- FIG. 6B shows an example of a target HTML file with inserted meta-tag and associated meta-tag information in FrontPage
- FIG. 6C shows a meta-tag association file containing dynamic objects, respectively, represented by the meta-tags, each starting with ⁇ xc_xsl for-each ⁇ , to specify the associated XSL actions and/or the source XML tags;
- FIG. 7A illustrates a block diagram of a data processing apparatus in which the target files with meta-tag information are created by authoring tools and converted into XSL files through a converter;
- FIG. 7B shows a flowchart of generating an extensible stylesheet according to one embodiment of the present invention
- FIG. 8A shows a file in XML with ⁇ root/> as the root element
- FIG. 8B shows a corresponding HTML document in reference to the file of FIG. 8A;
- FIG. 8C shows an example of HTML document that contains an element with broken XML text data
- FIG. 9 shows a flowchart of processing dynamic objects that refer to a same element in a source file and may be understood in conjunction with FIGS. 8A-8C.
- FIG. 1A shows a basic system configuration in which the present invention may be implemented in accordance with a preferred embodiment.
- Content-oriented documents containing information may be created using an authoring tool executed on a computer 100.
- these documents may be in XML (Extensible Markup Language).
- XML Extensible Markup Language
- XML is a flexible way to create common information formats and share both the format and the data on the World Wide Web, intranets, and elsewhere.
- XML is "extensible" because, unlike HTML, the markup symbols are unlimited and self-defining.
- XML is actually a simpler and easier-to-use subset of the Standard Generalized Markup Language, the standard for how to create a document structure.
- the extensible stylesheets (or XSL) to transfer these documents into various presentations may be created in a computing device 102, which may be a server station or a desktop computer loaded with an executable version of one embodiment implementing the present invention.
- computer 100 and computing device 102 are inseparable and perform document conversion process that ultimately represents contents in a format of markup language such as WML or HTML.
- the content-oriented documents represented in XML and transformations in XSL become available through a private network 110 to a service server 104 that hosts what is generally referred to as a www (world wide web) site.
- a user uses a desk computer 106 that operates a browsing application and is coupled to data network 108 to access files on service server 104. These requested XML files will be converted into HTML files by proper XSL files and be sent back to the desktop computer.
- a user uses a PDA 110 that operates a WAP browsing application and is coupled to data network 108 (perhaps via a wireless network) to access files on service server 104. These requested XML files will be converted into WML files by the proper XSL files and be sent back to the PDA.
- the present invention is not limited to the
- FIG. 1 B shows internal construction blocks of a system 118 in which the present invention may be implemented and executed.
- System 118 may correspond to a client device (e.g. computer 100, 102 or 106) or a server device (e.g. server 104).
- system 108 includes a central processing unit (CPU) 122 interfaced to a data bus 120 and a device interface 124.
- CPU 122 executes certain instructions to manage all devices and interfaces coupled to data bus 120 for synchronized operations and device interface 124 may be coupled to an external device such as computer 102 hence documents therefrom are received into memory or storage through data bus 120.
- CPU central processing unit
- a display interface 126 Also interfaced to data bus 120 is a display interface 126, a network interface 128, a printer interface 130 and a floppy disk drive interface 138.
- an executable version of one embodiment of the present invention is loaded into memory (e.g. 132, 134 or 136) through floppy disk drive interface 138, network interface 128, device interface 124 or other interfaces coupled to data bus 120.
- Main memory 132 such as random access memory (RAM) is also interfaced to data bus 120 to provide CPU 122 with the instructions and access to memory storage 136 for data and other instructions.
- RAM random access memory
- ROM read only memory
- ROM 134 is provided for storing invariant instruction sequences such as a basic input/output operation system (BIOS) for operation of keyboard 140, display 126 and pointing device 142 if there are any.
- BIOS basic input/output operation system
- a content-oriented document such as XML starts with document type definitions (DTD) or schema to define document elements.
- DTD document type definitions
- FIG. 2A illustrates an example of DTD 200 for "recipe-type" documents, in which a document is to be broken down into structures of document elements.
- a particular document element 202 may contain other document elements and attributes.
- Another example of the document element 204 contains only the parsed character data.
- FIG. 2B shows an example of an XML file, where information is represented in parsed data elements defined in document type definitions (DTD) as given in FIG. 2A.
- DTD document type definitions
- An XML file can be transferred into various presentations using extensible stylesheets (XSL).
- XSL extensible stylesheets
- An example of an XSL file which converts the XML file 206 into an HTML file is given in FIG. 3A.
- block 302 shows that the top level ⁇ html> tag is created when the XSL file matches the tag "document" and block 304 shows how to assign the value from the source XML file to the target HTML file.
- a corresponding screenshot of the resulted HTML from a browser application e.g. Microsoft Internet Explorer
- WML file is given in FIG. 3C.
- block 314 shows that the top level ⁇ wml> tag is created when the XSL file matches the root element
- block 312 shows how to assign the "title” value from the source XML file to the target WML file
- block 316 shows how to assign the "name” attribute of the "originate” element from the source XML file to the target WML file.
- FIG. 3D shows an example of an XSL file, which converts the XML file 206 into another XML file of a list of the recipe titles.
- block 320 shows that the top level ⁇ recipe_title_list> tag is created when the XSL file matches the "document” element and block 322 shows how to assign each of the "title" values in the source XML file to the ⁇ recipe_title> tag in the target XML file.
- an XSL file is a combination of a target file (e.g. in HTML, WML, or XML) and ⁇ xsl:> tags to associate the information from the source XML file and/or through the source XML's DTD or schema file.
- the present invention pertains to techniques for designing XSL files.
- an authoring tool is employed.
- the authoring tool may be FrontPage for HTML, Intava Gravity Professional for WML, and XMLeditor for XML.
- a user can design the look-and-feel of a target file or an output presentation with an XML editor and a user can design a target XML tree showing the hierarchical relationships among the source objects (e.g. document elements), which is described in detail in co-pending US Patent Application No.: 09/754,969. Then, the user can insert meta-tag information that specifies the corresponding source information, right in the authoring tools for the target file.
- the target file with meta-tag information will be loaded into an XSL converting module that automatically generates the resultant XSL files in reference to the target file or presentations.
- FIG. 4A shows an example of a target HTML file with inserted meta-tag information in FrontPage.
- this HTML file is a combination of static texts, such as "Title:”, “From:”, “Ingredient:”..., and the dynamic information (i.e. the respective objects) from the source XML file, wherein the dynamic objects have been represented in the meta-tags, which in this example, are contained by a declaration, ⁇ xc_xslt... ⁇ .
- a declaration there are at least two items, one is for user specified operation, such as "value-of, the other one is for path information, such as "document/recipe/title", so as to specify the associated XSL actions and/or the source object in the source XML file.
- the text decoration such as font size, color, style, around the meta-tag declaration will also be propagated into the dynamic information during conversion.
- FIG. 4B shows another example of a target XML file with inserted meta-tag information in XMLeditor, which after conversion produces the XSL file 318 for the recipe title list.
- HTML file can be shown that it includes not only the content of the HTML file but also the fixed set of tags as defined in HTML to describe the look and feel of the HTML file when viewed in a browser (i.e. Internet Explorer).
- FIG. 5B shows an example of creating a DTD of an XML file for the HTML file using the XDTD Editor and includes of an expanded view 451 of the created DTD, an example 452 of creating XML elements based on the created DTD and an expanded view of an XML Tree 453 with data nodes for elements, and attribute nodes for elements.
- the user can copy a portion of the HTML data content, such as an object 461 of FIG. 5A, and insert it to the XDTD utility as data of the title element in the XML Tree through clipboard, drag-and-drop mechanisms, or OLE data transfer mechanisms. Other portions of the HTML data can be inserted in the XML tree in the similar manner.
- an XML file As FIG. 5C, an XSL file may be created to reflect the look and feel expressed in the HTML file for the XML file as a source file, according to one aspect of the present invention.
- element names in XML have no intrinsic presentation semantics. Absent a stylesheet, a processor (i.e. Microsoft Internet Explorer) could not possibly know how to render the contents of an XML document other than as an undifferentiated string of characters. Further details of generating XML sources from an output presentation and the use of DTD and XML trees are provided in US Patent Application No.: 09/754,969.
- XSL provides a comprehensive model and a vocabulary for writing such stylesheets using XML syntax.
- an automated XSL generating module is also contemplated in the present invention.
- meta-tags are used to associate respective elements or source objects in a source file (e.g., an XML file) with certain dynamic objects in a target file (e.g., an HTML file.
- Meta-tag or meta-tag information herein means any information from a source file (e.g. an XML document) that contains information about its association with a particular element in the source file, and the relation of its element in regards to other elements of the source file.
- a meta-tag for a data node 476 as shown in FIG. 5D is ⁇ xc_xslt: document/recipe/title ⁇ where document/recipe/title shows the location of the data node and the relation to its parent node, i.e. title node with other elements of the XML document.
- Associated meta-tag information herein means any data from a file such as an HTML file or an XML file that contains or can be used to show the information about its meta-tag information of an XML document. For example, referenced by 471 of FIG.
- an XML file can be stored in computer memory and searched for meta-tags using an XML parser such as Document Object Module (DOM) Core of World Wide Web Consortium (W3), and use its API such as parentNode(), nextSibling(), childNodes(), getNodeName(), nodeName(), and nodeValue().
- DOM Document Object Module
- 476 of FIG. 5D can be used as an associated meta-tag information to obtain its meta-tag information by positioning the DOM parser pointer at the root element of the DOM Tree, using nodeName() to identify and store the name of the root element in a separate memory as ⁇ xc_xslt: document ⁇ , using NodeValue() to compare its node value with the meta-tag information 476. If they are not equal, use firstChild() to travel to its first child element, i.e.
- recipe element use nodeName() to identify and store the node name in the same memory location where ⁇ xc_xslt: document ⁇ is stored by concatenating the content of the memory location with the new node name recipe as ⁇ xc_xslt: document/recipe ⁇ , and compare its nodeValue() with the meta-tag information 476.
- the meta-tag information 476 such as ⁇ xc_xslt:document/recipe/title ⁇ while using the associated meta-tag information 471 to stop the recursive loop when the nodeValue() equals to 471 of FIG. 5D.
- the user can obtain the meta-tag information for 475, 472, and
- a user can find all the data nodes that contain associated meta-tag information, and subsequently build the meta-tag information by using parentNode() API of the DOM parser while reversely concatenating the meta-tag information such that ⁇ xc_xslt:title ⁇ to ⁇ xc_xslt:recipe/title ⁇ and ⁇ xc_xslt:recipe/title ⁇ to ⁇ xc_xslt:document/recipe/title ⁇ .
- the user can also obtain the meta-tag information 476, 472, and 473 by using the same recursive method with an added condition such that the DOM Parser pointer will skip an element node using nextSibling () from concatenating its name for its meta-tag information building if its nodeValue() is equal to an associated meta-tag information. Therefore, 475, 472, 473 in FIG. 5D are associated meta-tag information since their meta-tag information is built through association.
- a user may further design the look-and-feel of the target presentations in a
- the WYSIWYG authoring tool with inserted meta-tag information and/or associated meta-tag information.
- the target files with meta-tag information and/or associated meta-tag information will be loaded into an XSL converter, which automatically generates the resulting XSL files that match the look-and-feel of the target presentations in the WYSIWYG authoring tools.
- the associated meta-tag information can be used to find the meta-tag information of an XML document that contains corresponding associated meta-tag information of targeted file, and replace the associated meta-tag information of the targeted file with the meta-tag information of the XML document during XSL file creation process.
- a simple automatic XSL conversion can be made in the following way.
- An HTML file with meta-tag information and associated meta-tag information will be first checked and edited for its presentation formats according to the XML standard while preserving its look-and-feel of the HTML file when viewed by a web-browser.
- the changes that may be made in HTML files are such that all tags have distinct start and end components, empty elements are formatted correctly, all attribute values are quoted, and all tags are nested correctly.
- XML standard is complied with, the HTML file can then be loaded into a computer memory via an XML Parser such as the one defined by World Wide Web consortium (W3) as DOM Core.
- W3 World Wide Web consortium
- the APIs of the DOM Parser can be used to first isolate the HTML document's data node values and attribute node values. If the HTML file contains associated meta-tag associations, an XML file with/without associated DTD file that contains matching associated meta-tag information can be used to determine its meta-tag information. Once the meta-tag information is determined from an XML file, the associated meta-tag information will be replaced with the found meta-tag information.
- a user can start by importing an XML file by using Import utility of XDTD Editor of XMLCitites, and dynamically create a new HTML file by inserting the meta-tag information or the associated meta-tag information of the XML file through clipboard, drag-and-drop mechanisms, or OLE data transfer mechanisms to the WYSIWYG authoring tools.
- FIG. 6A shows an example of a target HTML file with inserted meta-tag information in FrontPage.
- this HTML file is a combination of the static texts, such as "Title:”, “From:”, “Ingredient:”..., and the dynamic information or objects from the source XML file.
- the dynamic information is represented in the meta-tags, which in this example are contained by a declaration, ⁇ xc_xslt... ⁇ , and within the declaration there are certain values, such as "value-of document/recipe/title", to specify the associated XSL actions and/or the source XML tags.
- a meta-tag can be other text string, which specifies the associated XSL actions and/or the source XML tags.
- FIG. 6B shows an example of a target HTML file with inserted meta-tag and associated meta-tag information in FrontPage.
- this HTML file is a combination of the static texts, such as "Title:”, “From:”, “Ingredient:”..., and the dynamic information from the source XML file.
- the dynamic information is represented in the meta-tag, ⁇ xc_xsl for-each ⁇ , and the associated meta-tags, which are indirectly through a meta-tag association file as given in FIG. 6C to specify the associated XSL actions and/or the source XML tags.
- the associated meta-tag can be other text string as meta-tag identifier, which uniquely specifies the associated XSL actions and/or the source XML tags.
- the associated meta-tags can preserve the look-and-feel of the final presentation, which is especially important in a WYSIWYG authoring environment such as FrontPage.
- the meta-tags are inserted by directly typing the meta-tag declarations in the authoring tools.
- the meta-tags can be inserted through clipboard, drag-and-drop mechanisms, or OLE data transfer mechanisms, from an XML/DTD/schema editor to the authoring tools.
- FIG. 7A illustrates a block diagram of a data processing apparatus 700, in which the target files with meta-tag information are created by authoring tools 704 and converted into XSL files through a converter 706. And the meta-tag information is inserted in the authoring tools by directly typing the meta-tag declarations or through clipboard, drag-and-drop mechanisms, or OLE data transfer mechanisms, from an XML/DTD/schema editor 702.
- FIG. 7B shows a flowchart 710 of generating an extensible stylesheet according to one embodiment of the present invention.
- a target file is received.
- the target file is a presentation created for display on a device (e.g., a desktop computer or a portable device).
- a target file in HTML file created using FrontPage for display in Internet Explorer running in a desktop computer.
- the corresponding one or more source files e.g. XML files
- the corresponding DTD file are loaded at 714 to facilitate the creation of the extensible stylesheet.
- dynamic objects in the displayed target file are identified at 716 and each of the dynamic objects shall correspond to a source element or object in the source files.
- the dynamic objects may be manually identified by a user or indicated at creation of the target file.
- each of meta-tags is determined with respect to one of the dynamic objects.
- each of the dynamic objects is replaced by a meta-tag or path information that is to be included in a meta-tag.
- each of the dynamic objects is dragged onto a corresponding node in an XML tree provided by the XML files and/or the DTD file (see FIG. 5D). By dragging a dynamic object onto a node, an association between the dynamic object and the corresponding element in the source file can be established.
- tag information for each of the meta-tags is determined by, for example, traversing the XML tree, it is assumed by now that each of the nodes in the XML tree has respective related information for each of the meta-tags.
- a stylesheet is generated and corresponding to the target file.
- the stylesheet is expressed in a file in another markup language.
- the file includes respective declarations, each for one of the mega-tags.
- FIG. 8A shows a file in XML with ⁇ root/> as the root element.
- ⁇ xsl:value of select "root/book[2]/name/text()/>.
- 812 is placed as data of ⁇ title/> elements in FIG. 8A.
- the content of the two uniquely identifiable elements can be placed in as data of one HTML element tag i.e. ⁇ p/> as shown in FIG. 8B.
- "C++ Programming, Visual C++ 5" 521 is shown as data of ⁇ p/> elements.
- "C++ Programming, Visual C++ 5" 521 will be represented as one text data of ⁇ p/> element.
- "C++ Programming, Visual C++ 5" will not find exact match with any of the data or attribute of the XML in FIG.
- each XML data or attributes also contains information or links to information about its meta-tag information.
- the meta-tag information contains the information about its parent element and the parent element's relationship with the root elements so that the meta-tag information will be sufficient to address its correct attribute value for select in ⁇ xsl:value of select-' ">.
- the data and the attributes of the XML document and their corresponding meta-tag information will be stored in an order such that the data or attributes can be accessed in an increasing or decreasing order.
- an HTML document that contains the data or attributes of an XML document is received.
- a method is then initiated to identify the data of the HTML document and compare the data with the set of the XML data or attribute stored in a separate memory. The method then compares and identifies the data with the data or attributes stored in the separate memory in the order of the length of the string to determine if the largest matching XML data or attribute is included in the HTML data.
- FIG. 8C shows an example of HTML document that contains an element with broken XML text data.
- FIG. 8C shows an element 530 ⁇ p/> that contains the text data "C++ Programming" 500 of FIG. 8A.
- the text data is further broken into two separate text data such that "C++" is now the child of ⁇ b/> element that is the child of ⁇ p/> element 530 and "Programming" is the child of ⁇ p/> element.
- both 531 and 532 belong to ⁇ p/> element.
- meta-tag information is a value of an attribute node in the HTML document as in 475
- Meta-tag information and the structure of the HTML document in the XML Parser can oe turtner changed so that it can support any of the XSLT Elements of user's choice.
- FIG. 9 shows a flowchart of processing dynamic objects that refer to a same element in a source file and may be understood in conjunction with FIGS. 8A-8C.
- a target file is received.
- the target file is a presentation created for display on a device (e.g., a desktop computer or a portable device).
- a target file in HTML file created using FrontPage for display in Internet Explorer running in a desktop computer.
- the corresponding one or more source files e.g. XML files
- the corresponding DTD file are loaded at 904 to facilitate the creation of the extensible stylesheet.
- dynamic objects in the displayed target file are identified at 906 and each of the dynamic objects shall correspond to a source element or object in the source files.
- the dynamic objects may be manually identified by a user or indicated at creation of the target file.
- the process 900 determines if any of the identified dynamic objects refer to the same element in the source file. If no dynamic objects refer to the same element in the source file, the process 900 goes to 912. If any two of the dynamic objects refer to the same element in the source file, the process 900 goes to 910, wherein these dynamic objects are to be labeled differently. According to one embodiment, these dynamic objects are labeled numerically according to their occurrences, identifiers used to label them can facilitate the creation of the stylesheet. After the these dynamic objects are labeled, the process 900 goes to 912.
- each of meta-tags is determined with respect to one of the dynamic objects.
- each of the dynamic objects is replaced by a meta-tag or path information that is to be included in a meta-tag.
- each of the dynamic objects is dragged onto a corresponding node in an XML tree provided by the XML files and/or the DTD file (see FIG. 5D). By dragging a dynamic object onto a node, an association between the dynamic object and the corresponding element in the source file can be established.
- tag information for each of the meta-tags is determined by, for example, traversing the XML tree, it is assumed by now that each of the nodes in the XML tree has respective related information for each of the meta-tags.
- a stylesheet is generated and corresponding to the target file.
- the stylesheet is expressed in a file in another markup language.
- the file includes respective declarations, each for one of the mega-tags.
- the present invention pertains to the use of meta-tag information to design extensible stylesheets (XSL) for transferring a source XML file into a target file.
- XSL extensible stylesheets
- One of them is the use of meta-tags to relate to the relationship or association information between dynamic objects in a target file to corresponding elements in a source file.
- Other benefits, features, and advantages can be readily appreciated by those skilled in the art.
- the present invention has been described in sufficient details with a certain degree of particularity. It is understood to those skilled in the art that the present disclosure of embodiments has been made by way of examples only and that numerous changes in the arrangement and combination of parts may be resorted without departing from the spirit and scope of the invention as claimed. Accordingly, the scope of the present invention is defined by the appended claims rather than the foregoing description of embodiments.
Abstract
Description
Claims
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002580222A JP2004529427A (en) | 2001-04-09 | 2002-04-08 | Design of extensible style sheet using meta tag information |
AU2002256150A AU2002256150A1 (en) | 2001-04-09 | 2002-04-08 | Extensible stylesheet designs using meta-tag information |
EP02725595A EP1377917A2 (en) | 2001-04-09 | 2002-04-08 | Extensible stylesheet designs using meta-tag information |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US28260901P | 2001-04-09 | 2001-04-09 | |
US60/282,609 | 2001-04-09 | ||
US30609501P | 2001-07-17 | 2001-07-17 | |
US60/306,095 | 2001-07-17 |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2002082326A2 true WO2002082326A2 (en) | 2002-10-17 |
WO2002082326A3 WO2002082326A3 (en) | 2003-08-21 |
Family
ID=26961546
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2002/011247 WO2002082326A2 (en) | 2001-04-09 | 2002-04-08 | Extensible stylesheet designs using meta-tag information |
Country Status (5)
Country | Link |
---|---|
EP (1) | EP1377917A2 (en) |
JP (1) | JP2004529427A (en) |
CN (1) | CN1471679A (en) |
AU (1) | AU2002256150A1 (en) |
WO (1) | WO2002082326A2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8484552B2 (en) | 2001-04-09 | 2013-07-09 | Parc Acquisitions LLC | Extensible stylesheet designs using meta-tag information |
US8493320B2 (en) | 2006-08-04 | 2013-07-23 | Sony Corporation | Display control device, content output system, method for controlling display of image used in retrieval operation, and program |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104462090A (en) * | 2013-09-13 | 2015-03-25 | 方正信息产业控股有限公司 | Method and device for processing data |
CN106227717A (en) * | 2016-07-15 | 2016-12-14 | 广东小天才科技有限公司 | A kind of document processing method and device, terminal unit |
JP7260244B2 (en) * | 2017-03-14 | 2023-04-18 | Phcホールディングス株式会社 | Electronic chart device and program |
CN113505567A (en) * | 2021-05-25 | 2021-10-15 | 北京北大方正电子有限公司 | Method and device for generating electronic publication file |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000054174A1 (en) * | 1999-03-12 | 2000-09-14 | Sun Microsystems, Inc. | Extending the capabilities of an xsl style sheet to include components for content transformation |
WO2001018657A1 (en) * | 1999-09-09 | 2001-03-15 | Percussion Software, Inc. | Dynamic content identifier for xml web pages |
WO2001018656A1 (en) * | 1999-09-09 | 2001-03-15 | Percussion Software, Inc. | Virtual server system for dynamic content in world wide web pages |
GB2373085A (en) * | 2001-03-08 | 2002-09-11 | Ibm | Method, computer program and system for style sheet generation. |
-
2002
- 2002-04-08 AU AU2002256150A patent/AU2002256150A1/en not_active Abandoned
- 2002-04-08 EP EP02725595A patent/EP1377917A2/en not_active Withdrawn
- 2002-04-08 WO PCT/US2002/011247 patent/WO2002082326A2/en not_active Application Discontinuation
- 2002-04-08 CN CNA028011198A patent/CN1471679A/en active Pending
- 2002-04-08 JP JP2002580222A patent/JP2004529427A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000054174A1 (en) * | 1999-03-12 | 2000-09-14 | Sun Microsystems, Inc. | Extending the capabilities of an xsl style sheet to include components for content transformation |
WO2001018657A1 (en) * | 1999-09-09 | 2001-03-15 | Percussion Software, Inc. | Dynamic content identifier for xml web pages |
WO2001018656A1 (en) * | 1999-09-09 | 2001-03-15 | Percussion Software, Inc. | Virtual server system for dynamic content in world wide web pages |
GB2373085A (en) * | 2001-03-08 | 2002-09-11 | Ibm | Method, computer program and system for style sheet generation. |
Non-Patent Citations (3)
Title |
---|
ADLER ET AL: "Extensible stylesheet language (XSL): W3C working draft" XP002196262 the whole document * |
ANONYMOUS: "Parameterized XSL Style Sheets" RESEARCH DISCLOSURE, KENNETH MASON PUBLICATIONS, HAMPSHIRE, GB, vol. 42, no. 423, 1 July 1999 (1999-07-01), page COMPLETE XP002212821 ISSN: 0374-4353 * |
W3C: "XSL Transformations (XSLT)" XP002189938 the whole document * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8484552B2 (en) | 2001-04-09 | 2013-07-09 | Parc Acquisitions LLC | Extensible stylesheet designs using meta-tag information |
US8493320B2 (en) | 2006-08-04 | 2013-07-23 | Sony Corporation | Display control device, content output system, method for controlling display of image used in retrieval operation, and program |
Also Published As
Publication number | Publication date |
---|---|
WO2002082326A3 (en) | 2003-08-21 |
AU2002256150A1 (en) | 2002-10-21 |
CN1471679A (en) | 2004-01-28 |
JP2004529427A (en) | 2004-09-24 |
EP1377917A2 (en) | 2004-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8484552B2 (en) | Extensible stylesheet designs using meta-tag information | |
US7146564B2 (en) | Extensible stylesheet designs using meta-tag and/or associated meta-tag information | |
EP1166214B1 (en) | Method and apparatus for generating structured documents for various presentations | |
US6763343B1 (en) | Preventing duplication of the data in reference resource for XML page generation | |
US6725426B1 (en) | Mechanism for translating between word processing documents and XML documents | |
US20040205592A1 (en) | Method and apparatus for extensible stylesheet designs | |
US20070136362A1 (en) | Systems and methods for report design and generation | |
US20030110442A1 (en) | Developing documents | |
US7475337B1 (en) | Generating structured documents by associating document elements in a first display with displayed document type definitions in a second display | |
Zhang et al. | Adding valid time to XPath | |
EP1377917A2 (en) | Extensible stylesheet designs using meta-tag information | |
US20040083219A1 (en) | Method and system for reducing code in an extensible markup language program | |
Vitali et al. | Hypertext functionalities with XML | |
Lehtonen | Semi-automatic document assembly with structured source data | |
Vatnal et al. | Web Content Management as a means of Exploitation of Internet Information Resources | |
Tripathi | eXtensible Markup Language: A Tutorial | |
Oikonomidis et al. | XML ASSESSMENT USAGE REPORT | |
McCracken et al. | An Introduction to XML | |
Tripathi | Metadata Crosswalks with MarcEdit using XSLT | |
Al-Feel et al. | Towards Global Semantic Web Xml On Scope As A Case Study | |
Ali | XML Technology | |
Koirala | Developing an XML-based application | |
Tilbury | TESSELLA SUPPORT SERVICES PLC |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A2 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SI SK SL TJ TM TN TR TT TZ UA UG UZ VN YU ZA ZM ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: A2 Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
WWE | Wipo information: entry into national phase |
Ref document number: 028011198 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2002580222 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2002725595 Country of ref document: EP |
|
WWP | Wipo information: published in national office |
Ref document number: 2002725595 Country of ref document: EP |
|
REG | Reference to national code |
Ref country code: DE Ref legal event code: 8642 |
|
WWW | Wipo information: withdrawn in national office |
Ref document number: 2002725595 Country of ref document: EP |