# Employees.xml Sample

This topic inludes the source code for the Employees.xml Sample.

## Sample Location

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

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebServices/xmlBeans/xquery/

## Sample Source Code

`01 <xq:employees xmlns:xq="http://openuri.org/bea/samples/workshop/xmlBeans/xquery"> 02 <xq:employee> 03 <xq:name>Fred Jones</xq:name> 04 <xq:address location="home"> 05 <xq:street>900 Aurora Ave.</xq:street> 06 <xq:city>Seattle</xq:city> 07 <xq:state>WA</xq:state> 08 <xq:zip>98115</xq:zip> 09 </xq:address> 10 <xq:address location="work"> 11 <xq:street>2011 152nd Avenue NE</xq:street> 12 <xq:city>Redmond</xq:city> 13 <xq:state>WA</xq:state> 14 <xq:zip>98052</xq:zip> 15 </xq:address> 16 <xq:phone location="work">(425)555-5665</xq:phone> 17 <xq:phone location="home">(206)555-5555</xq:phone> 18 <xq:phone location="mobile">(206)555-4321</xq:phone> 19 </xq:employee> 20 <xq:employee> 21 <xq:name>Sally Smith</xq:name> 22 <xq:address location="home"> 23 <xq:street>1430 Oak Place</xq:street> 24 <xq:city>Salem</xq:city> 25 <xq:state>OR</xq:state> 26 <xq:zip>97125</xq:zip> 27 </xq:address> 28 <xq:address location="work"> 29 <xq:street>765 Main St.</xq:street> 30 <xq:city>Kaiser</xq:city> 31 <xq:state>OR</xq:state> 32 <xq:zip>97103</xq:zip> 33 </xq:address> 34 <xq:phone location="work">(503)555-3856</xq:phone> 35 <xq:phone location="home">(503)555-6951</xq:phone> 36 <xq:phone location="mobile">(503)555-5152</xq:phone> 37 </xq:employee> 38 <xq:employee> 39 <xq:name>Gladys Kravitz</xq:name> 40 <xq:address location="home"> 41 <xq:street>1313 Mockingbird Lane</xq:street> 42 <xq:city>Seattle</xq:city> 43 <xq:state>WA</xq:state> 44 <xq:zip>98115</xq:zip> 45 </xq:address> 46 <xq:address location="work"> 47 <xq:street>2011 152nd Avenue NE</xq:street> 48 <xq:city>Redmond</xq:city> 49 <xq:state>WA</xq:state> 50 <xq:zip>98052</xq:zip> 51 </xq:address> 52 <xq:phone location="work">(425)555-6897</xq:phone> 53 <xq:phone location="home">(206)555-6594</xq:phone> 54 <xq:phone location="mobile">(206)555-7894</xq:phone> 55 </xq:employee> 56 </xq:employees>`