tailieunhanh - Web Page Design and Creation

Most sites on the Web consist of a series of pages. Some of these pages are “static,” created ahead of time (like a word document or a text file) and stored at the site. Anyone who accesses a static Web page is going to see the same thing. Other pages delivered by a Web site are “dynamic.” This means that the contents of the page are created by a computer program that is run every time the page is accessed. Thus, the contents can vary from one user to the next or from one time to the next. Regardless of whether a Web page. | ) was to be used in defining how the contents of an XML document were to be displayed. The vision has been sidetracked. Currently, version of the XSL standard is still under review by the W3C. Because it has taken so long to agree on the standard, the W3C has divided it into two components: XSLT (for XSL Transformations) and XSL-FO (for XSL Formatting Objects). XSLT has been formalized, while XSL-FO has not. This means that in order to use an XSL file to display an XML document in something like a browser, one has to specify a series of XSL Transformations that detail how the various XML structures will appear in the browser. Because of the technical nature of XSLT, no attempt will be made to illustrate this method. Instead, you are referred to Castro (2001) or Dietel et. al. (2001). In the case of Microsoft’s IE browser (version and above), there’s a simpler method. Here, an HTML page can be used to display the XML structure and values. The method is illustrated in Figure . As the figure shows, the XML structures and values are placed between tags. The contents between the tags are also given an ID (. “xmlData”). The ID is then referenced as a data source (DATASRC) by the HTML TABLE used to display the XML contents. tags are employed to associate particular (DATAFLD) elements in the XML structure (. TICKER) with particular cells in the table. The resulting HTML page is shown in Figure .

TỪ KHÓA LIÊN QUAN