<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I am trying to create like this</span></font></p>
<p><span><font face="Arial" color="black" size="2"><span></span><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt; </span></font></span>
<span><font color="black"><span style="COLOR: windowtext"></span></font></span></p>
<p><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">&lt;BackgroundCheck xmlns=&quot;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.hirbc.com/xml/Screening/BackgroundCheck-2_0" target="_blank">
http://www.hirbc.com/xml/Screening/BackgroundCheck-2_0</a>&quot;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></p>
<p><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">xmlns:xsi=&quot;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">
http://www.w3.org/2001/XMLSchema-instance</a>&quot;&nbsp; </span></font></span></p>
<p><span><b><font face="Arial" color="red" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Arial">xsi:</span></font></b></span><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">
schemaLocation=&quot;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.hirbc.com/xml/Screening/BackgroundCheck-2_0" target="_blank">http://www.hirbc.com/xml/Screening/BackgroundCheck-2_0</a> </span>
</font></span></p>
<p><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.hirbc.com/xml/Screening/Screenings-2_0/Schemas/BackgroundCheck-2_0.xsd&quot; userId=&quot;900JHY&quot;" target="_blank">
http://www.hirbc.com/xml/Screening/Screenings-2_0/Schemas/BackgroundCheck-2_0.xsd&quot; userId=&quot;900JHY&quot;</a> password=&quot;WF040503&quot; account=&quot;900JHY&quot;&gt;</span></font></span></p>
<p><span></span><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">&lt;BackgroundSearchPackage &gt;</span></font></span></p>
<p><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">&nbsp;</span></font></span></p>
<p><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">I am using JDOM 1.0.&nbsp;</span></font></span><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">
&nbsp;</span></font></span></p>
<p><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">Here is my code.</span></font></span></p>
<p><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">&nbsp;</span></font></span></p>
<p><b><font face="Courier New" color="#7f0055" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; BACKGROUND: white; COLOR: #7f0055">public</span></font></b><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt; BACKGROUND: white">
 <font color="black"><span style="COLOR: black">Element</span></font> <font color="black"><span style="COLOR: black">root</span></font> <font color="black"><span style="COLOR: black">=</span></font> <b><font color="#7f0055">
<span style="FONT-WEIGHT: bold; COLOR: #7f0055">new</span></font></b> <font color="black"><span style="COLOR: black">Element(</span></font><font color="#2a00ff"><span style="COLOR: #2a00ff">&quot;BackgroundCheck&quot;</span>
</font><font color="black"><span style="COLOR: black">,</span></font> <font color="#2a00ff"><span style="COLOR: #2a00ff">&quot;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.hirbc.com/xml/Screening/BackgroundCheck-2_0" target="_blank">
http://www.hirbc.com/xml/Screening/BackgroundCheck-2_0</a>&quot;</span></font><font color="black"><span></span> <span style="COLOR: black">);</span></font></span></font><font face="Courier New" color="black"><span style="COLOR: black">
</span></font></p>
<p><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black">Namespace</span></font><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt; BACKGROUND: white">
 <font color="black"><span style="COLOR: black">xsi</span></font> <font color="black"><span style="COLOR: black">=</span></font> <b><font color="#7f0055"><span style="FONT-WEIGHT: bold; COLOR: #7f0055">null</span></font></b>
<font color="black"><span style="COLOR: black">;</span></font></span></font><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt"></span></font></p>
<p><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt; BACKGROUND: white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="black"><span style="COLOR: black">Namespace</span></font> <font color="black"><span style="COLOR: black">
schemaloc</span></font> <font color="black"><span style="COLOR: black">=</span></font> <b><font color="#7f0055"><span style="FONT-WEIGHT: bold; COLOR: #7f0055">null</span></font></b><font color="black"><span style="COLOR: black">
;</span></font></span></font><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt"></span></font></p>
<p><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt; BACKGROUND: white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="black"><span style="COLOR: black">xsi=</span></font> <font color="black"><span style="COLOR: black">
Namespace.getNamespace(</span></font><font color="#2a00ff"><span style="COLOR: #2a00ff">&quot;xsi&quot;</span></font><font color="black"><span style="COLOR: black">,</span></font> <font color="#2a00ff"><span style="COLOR: #2a00ff">
&quot;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot;</span></font><font color="black"><span></span>
 <span style="COLOR: black">);</span></font> </span></font><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt"></span></font></p>
<p><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt; BACKGROUND: white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="black"><span style="COLOR: black">root.addNamespaceDeclaration(xsi);</span></font></span></font><font face="Courier New" size="2">
<span style="FONT-SIZE: 10pt"></span></font></p>
<p><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt; BACKGROUND: white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="black"><span style="COLOR: black">schemaloc</span></font> <font color="black"><span style="COLOR: black">
=</span></font> <font color="black"><span style="COLOR: black">Namespace.getNamespace(</span></font><font color="#2a00ff"><span style="COLOR: #2a00ff">&quot;schemaLocation&quot;</span></font><font color="black"><span style="COLOR: black">
,</span></font> <font color="#2a00ff"><span style="COLOR: #2a00ff">&quot;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.hirbc.com/xml/Screening/BackgroundCheck-2_0" target="_blank">http://www.hirbc.com/xml/Screening/BackgroundCheck-2_0
</a> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.hirbc.com/xml/Screening/Screenings-2_0/Schemas/BackgroundCheck-2_0.xsd" target="_blank">http://www.hirbc.com/xml/Screening/Screenings-2_0/Schemas/BackgroundCheck-2_0.xsd
</a>&quot;</span></font><font color="black"><span style="COLOR: black">);</span></font></span></font><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt"></span></font></p>
<p><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt; BACKGROUND: white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="black"><span style="COLOR: black">root.addNamespaceDeclaration(schemaloc);</span></font></span></font>
<font face="Courier New" size="2"><span style="FONT-SIZE: 10pt"></span></font></p>
<p><span></span><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt; BACKGROUND: white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="black"><span style="COLOR: black">root.setAttribute(</span></font><font color="#2a00ff">
<span style="COLOR: #2a00ff">&quot;userId&quot;</span></font><font color="black"><span style="COLOR: black">,</span></font><font color="#2a00ff"><span style="COLOR: #2a00ff">&quot;900JHY&quot;</span></font><font color="black">
<span style="COLOR: black">);</span></font></span></font><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt"></span></font></p>
<p><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt; BACKGROUND: white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="black"><span style="COLOR: black">root.setAttribute(</span></font><font color="#2a00ff"><span style="COLOR: #2a00ff">
&quot;password&quot;</span></font><font color="black"><span style="COLOR: black">,</span></font><font color="#2a00ff"><span style="COLOR: #2a00ff">&quot;WF040503&quot;</span></font><font color="black"><span style="COLOR: black">
);</span></font></span></font><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt"></span></font></p>
<p><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt; BACKGROUND: white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="black"><span style="COLOR: black">root.setAttribute(</span></font><font color="#2a00ff"><span style="COLOR: #2a00ff">
&quot;account&quot;</span></font><font color="black"><span style="COLOR: black">,</span></font> <font color="#2a00ff"><span style="COLOR: #2a00ff">&quot;900JHY&quot;</span></font><font color="black"><span style="COLOR: black">
);</span></font></span></font><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black"></span></font></p>
<p><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black">&nbsp;</span></font></p>
<p><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black">this code giving me result like this</span></font></p><span></span>
<p><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black">&nbsp;</span></font></p>
<p><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt; </span></font></span><span><font face="Arial" color="black">
<span style="COLOR: windowtext; FONT-FAMILY: Arial"></span></font></span></p>
<p><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">&lt;BackgroundCheck xmlns=&quot;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.hirbc.com/xml/Screening/BackgroundCheck-2_0" target="_blank">
http://www.hirbc.com/xml/Screening/BackgroundCheck-2_0</a>&quot;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></p>
<p><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">xmlns:xsi=&quot;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">
http://www.w3.org/2001/XMLSchema-instance</a>&quot;&nbsp; </span></font></span></p>
<p><span><b><font face="Arial" color="red" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Arial">xmlns:</span></font></b></span><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">
schemaLocation=&quot;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.hirbc.com/xml/Screening/BackgroundCheck-2_0" target="_blank">http://www.hirbc.com/xml/Screening/BackgroundCheck-2_0</a> </span>
</font></span></p>
<p><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.hirbc.com/xml /Screening/Screenings-2_0/Schemas/BackgroundCheck-2_0.xsd&quot; userId=&quot;900JHY&quot;" target="_blank">
http://www.hirbc.com/xml<span></span> /Screening/Screenings-2_0/Schemas/BackgroundCheck-2_0.xsd&quot; userId=&quot;900JHY&quot;</a> password=&quot;WF040503&quot; account=&quot;900JHY&quot;&gt;</span></font></span></p>
<p><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">&lt;BackgroundSearchPackage &nbsp;</span></font></span><span><b><font face="Arial" color="red" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Arial">
xmlns="</span></font></b></span><span><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">"&gt;</span></font></span></p>
<div>how to fix it special I want xsi:schemaLocation not xmlns:schemaLocation, and why&nbsp;&nbsp;<font size="2">BackgroundSearchPackage has xmlns=&quot;&quot;</font></div>
<div><font size="2">thank you</font><br clear="all"><br>-- <br>Ashar Siddiqui </div>