Xschema notation
Monday, March 29, 2010
1:28 PM
XSchema example:
Simple XML document
contents of [file]...
<?xml version="1.0"?>
<fullName>Alva Couch</fullName>
...end of [file]
Schema for that document:
contents of [file]...
<?xml version="1.0"?>
<xs:schema xmlns:xs="[link]">
 <xs:element name="fullName" type="xs:string"/>
</xs:schema>
This says that the element "fullName" should contain text. 
Pasted from <[link]> 
Apologies in advance for self-plagiarism: I'm picking the important points from the old Comp150WEB. 