Last Modified: 1/29/08
  Computer Training
Relationships among HTML, JS, XML, XSL, and Xpath

Credit: Jon A. Morse (ST Sci/NASA)

The various Web languages have their distinctive roles in managing information on the Web:

  • HTML is a language that lets you control how information is displayed and presented on the Web: place an image here, make this text large, color this background blue, etc. It is entirely concerned with appearance as opposed to content or meaning
  • JavaScript is a general purpose programming language that lets you control and program the actions, placement, and properties of almost any HTML element, and locate, add, delete, or change any XML element. JavaScript can control the appearance of information on the web as well as its content
  • XML is a user-defined hierarchical database containing elements and attributes. It stores information that may subsequently be displayed on the Web, but contains no information whatsoever on how that information is to be presented. It is all about content as opposed to appearance
  • XSL is special purpose programming language that transforms XML into displayable HTML, or to other forms of XML. It can not only create many different Web pages from an existing XML database, but can also insert, delete, or modify XML elements as well
  • Xpath is a very limited language that XSL uses to identify structures in XML to be transformed into HTML or XML. It consists largely of paths that identify portions of the tree structure for a particular XML file, along with conditional expressions that contain boolean operations, such as "and", and "or", comparison operators, and string manipulation and other functions
Previous Home Next

Course Topics

The relationships among HTML, JavaScript, XML, XSL, and XPATH

The process of converting XML to HTML or other forms of XML

Converting XML to HTML using HTML and JavaScript

Xpath

Converting XML to HTML using XSL

Major Structures in XSL

Purchase Order Program Example

 
Previous Home Next

References:   Beginning XML, David Hunter, WROX Press Ltd   |  
XML IE5 , Alex Homer, WROX Press Ltd   |  
XHTML and XML Update and Overview   |  
XSL Transformations   |  
XSL Concepts and Practical Use   |  
XML Path Language   |  

©1999 UW Technology