QuickStart Java                                  

by Lauren Pisciotta and Zackary Zweber

Step-by-step instructions for learning XML!


 About the language                                                    

Name:  XML
Year created: 1998
Created by: An 11 member group led by Jon Bosak, James Clark, Tim Bray, Michael Sperberg-McQueen, Jean Paoli and was supported by Microsoft.
Paradigm: Object-oriented
Platform: Platform-independent
Advantages:
  • Its simultaneously human- and machine-readable format
  • It is platform-independent
  • It and its predecessor, SGML, have been in use since 1986, so there is extensive information and software available
  • Self-Documenting - Require users to have little or no previous knowledge of its specification, purpose and behavior to use it effectively
Disadvantages:
  • Its syntax is fairly verbose and partially redundant
  • Mapping XML to the relational or object oriented paradigms is difficult
Specification: World Wide Web Consortium XML homepage
Grammar: The XML 1.0 grammar

The XML 1.1 grammar


Step 1. Download and install the latest Editor

 

 

Step 2. Download and install the latest version of Eclipse

 

Step 3. Write a "hello world" program

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="HelloWorld.xsl" ?>
<!-- Hello World in XML -->
<text><string>Hello, World</string></text>
 

 

Step 4. Run the "hello world" program

 

 

 Learning more                                                        

There is a vast amount of information available on the Internet.  Some of the best sources are: