<?xml version="1.0" ?>
<schema xmlns="http://www.w3.org/2001/10/XMLSchema"
targetNamespace="http://www.java2java.comns/"
xmlns:end="http://www.java2java.com/">
<element name = "Add">
<complexType>
<sequence>
<element name = "Namespace" minOccurs = "0" maxOccurs = "1" />
<element name = "FilePath" />
</sequence>
</complexType>
</element>
</schema>
So, both of the following would be valid instances:
<Add>
<Namespace>http://www.java2java.com/books</Namespace>
<FilePath>http://www.java2java.com/books/books.xsd</FilePath>
</Add>
<Add>
<FilePath>http://www.java2java.com/books/books.xsd</FilePath>
</Add>
|