Lab 7: The Section May Occur Only at a Specific Location

In this folder is this XML document:

   - The-Rock.xml

Open the document and inspect its content.

It is a compound document, comprised of elements
from the The-Rock.xsd and nickname.rng

nickname.rng is a very simple schema, it just
declares a <nickname> element.

Write an NVDL script, The-Rock.nvdl, which restricts
the <nickname> element to only occur within the <name>
element.

After you've got it running, try moving the <nickname> 
element to other locations in the document.  You should
get an error message.

After you have created the NVDL script, open a DOS window, change
directory (cd) to this folder, and then type: run

Remember: No News Is Good News!  If all you see after typing "run" is "Done" 
then there were no errors in your NVDL script.

Congratulations!  You have just implemented concurrent validation.

