# SimpleMap.xsd Sample

This topic inludes the source code for the SimpleMap.xsd Sample.

## Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/Schemas/

## Sample Source Code

`01 <?xml version="1.0" encoding="UTF-8"?> 02 <xs:schema targetNamespace="http://openuri.org/bea/samples/workshop/xmlmap/simpleMap" 03 xmlns:xm="http://openuri.org/bea/samples/workshop/xmlmap/simpleMap" 04 xmlns:xs="http://www.w3.org/2001/XMLSchema" 05 elementFormDefault="qualified" 06 attributeFormDefault="unqualified"> 07 <xs:element name="person" type="xm:personType"/> 08 <xs:complexType name="personType"> 09 <xs:sequence> 10 <xs:element name="firstname" type="xs:string"/> 11 <xs:element name="lastname" type="xs:string"/> 12 </xs:sequence> 13 </xs:complexType> 14 </xs:schema>`