Computers, Technology and Information Systems


XML - eXtensible Markup Language - COIN 78


Writing a simple XML document - The basics of writing XML documents, grammar, rules, well formed and valid XML.

Microsoft Sample Validator - A page where you can test whether your documents are valid and well formed.


Part 1: XML

Chapter 1, Writing XML

The files from this chapter are in the writing folder.

Page Section Code
23 Rules for Writing XML (note)
24 Declaring the XML Version version.xml
25 Creating the Root Element root.xml
26 Writing Non-Empty Elements nonempty.xml
27 Nesting Elements

nesting.xml

28 Adding Attributes

attributes.xml 

29 Using Empty Elements empty.xml
30 Writing Comments comments.xml
31 Writing Five Special Symbols specialsymbols.xml
32 Displaying Elements as Text cdata.xml

 


Click here to return to the course outline.

Last revision September 10, 2001

http://www.informaticus.org/COIN78/week2/index.htm