MC ITI

Web Certification Programs

Front-End Certification Program

XML

{Wenwei Yao}

Session 17 Exercises

Exercise 1 - Contacts XML File

Example Top 20 Music XML File

Exercise 2 - Car File

Session 18 Exercises

Exercise 1.1 - Loading - Load and parse an XML string (II)

Exercise 1.2 - Node Information - Get the node name of an element node

Exercise 1.3 - Node List - Loop through nodes using the length property

Exercise 1.4 - Traversing Node Tree - Display the length of a node list

Exercise 1.5 - Navigating Nodes - Get the parent of a node

Exercise 1.6 - Get Node Values - Get an element's text value

Exercise 1.7 - Change Node Values - Change an elements text node

Exercise 1.8 - Replace Nodes - Replace an element node

Exercise 1.9 - Create Nodes - Create an element node

Exercise 2 - Create XML Schema {Use Your XML File}