You are asked to create an XML schema for a Postal service that accepts an address and returns the corresponding postal code. You are given the following specific instructions as to how the XML schema should be designed:
* The XML schema requires two elements named "PostalCodeLookup" and "PostalCodeResponse".
* The "PostalCodeLookup" element must contain child elements named "address1", "address2," "city", "stateOrRegion" and "country", in that order. Each of these elements must have the type string.
* The "PostalCodeResponse" element must contain only the postal code as a string and this element must not have any child elements.
Which of the following XML schemas fulfills the requirements while also following the instructions?
Currently there are no comments in this discussion, be the first to comment!