<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-16">

                                                <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-16">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>Xpath element returning NULL </TITLE>
</HEAD>
                                        <BODY >
                                                <DIV>
<!-- Converted from text/rtf format -->

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">Folks,</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">Can someone help please.</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">I'm trying to locate this element, code snippet&#8230;</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B> <FONT SIZE=2 FACE="Arial">Element element1 = (Element) XPath.selectSingleNode(pf.doc, &quot;SOAP-ENV:Envelope/SOAP-&nbsp;&nbsp;&nbsp; ENV:Body/getIndex:IndexServiceRequest/getIndex:EndDate&quot;);</FONT></B></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">This is the copy of the xml&#8230;.</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">&lt;?xml version = &quot;1.0&quot; encoding = &quot;UTF-8&quot;?&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=&quot;<A HREF="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</A>&quot; xmlns:xsi=&quot;<A HREF="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</A>&quot;&gt;</FONT></P>

<P><FONT SIZE=2 FACE="Arial">&lt;SOAP-ENV:Header&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;EDSI-HDR:EDSIHeader xmlns:EDSI-HDR=&quot;<A HREF="http://namespace.worldnet.com/EDSI/Standards/Headers/EDSIHeader_2_0/">http://namespace.worldnet.com/EDSI/Standards/Headers/EDSIHeader_2_0/</A>&quot;&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;EDSI-HDR:MessageType&gt;GetIndexService&lt;/EDSI-HDR:MessageType&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;EDSI-HDR:MessageTypeVersion&gt;1.0&lt;/EDSI-HDR:MessageTypeVersion&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;EDSI-HDR:TimeStamp&gt;2005-05-18T08:47:06-0400&lt;/EDSI-HDR:TimeStamp&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;/EDSI-HDR:EDSIHeader&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;PRO-HDR:RequestResponseHeader xmlns:PRO-HDR=&quot;<A HREF="http://namespace.worldnet.com/EDSI/Standards/Headers/ProtocolHeaders_1_0/">http://namespace.worldnet.com/EDSI/Standards/Headers/ProtocolHeaders_1_0/</A>&quot; SOAP-ENV:mustUnderstand=&quot;1&quot;&gt;</FONT></P>

<P><FONT SIZE=2 FACE="Arial">&lt;PRO-HDR:CorrelationID&gt;GMI&lt;/PRO-HDR:CorrelationID&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;/PRO-HDR:RequestResponseHeader&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;/SOAP-ENV:Header&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;SOAP-ENV:Body&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;getIndex:IndexServiceRequest xmlns:getIndex=&quot;<A HREF="http://namespace.worldnet.com/EDSI/Product/Services/GetIndexData_v1_0/">http://namespace.worldnet.com/EDSI/Product/Services/GetIndexData_v1_0/</A>&quot;&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;getIndex:VendorSpecificSymbol&gt;DG0005M&lt;/getIndex:VendorSpecificSymbol&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;getIndex:BeginDate&gt;2005-05-18&lt;/getIndex:BeginDate&gt;</FONT>

<BR><U><B><FONT SIZE=2 FACE="Arial">&lt;getIndex:EndDate&gt;2005-05-18&lt;/getIndex:EndDate&gt;</FONT></B></U>

<BR><FONT SIZE=2 FACE="Arial">&lt;getIndex:LevelOrMembers&gt;Level&lt;/getIndex:LevelOrMembers&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;getIndex:DataVendorName&gt;Bloomberg&lt;/getIndex:DataVendorName&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;/getIndex:IndexServiceRequest&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;/SOAP-ENV:Body&gt;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&lt;/SOAP-ENV:Envelope&gt;</FONT>
</P>
<BR>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">Why is element retruning NULL.</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">Thanks in advance.</FONT>
</P>
<BR>

<P><B><I><FONT SIZE=2 FACE="Arial">Rajesh Anand</FONT></I></B>

<BR><B><FONT SIZE=2 FACE="Arial">Tel: + (44) (0) 207 996 1152</FONT></B>

<BR><B><FONT SIZE=2 FACE="Arial">Mob: + (44) (0) 7947273151</FONT></B>

<BR><B><FONT SIZE=2 FACE="Arial">Email:Rajesh_anand@ml.com</FONT></B>
</P>

</DIV>
                                                <DIV>
                                                        <HR COLOR="gray">
                                                </DIV>
                                                <DIV>If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. <A HREF="http://www.ml.com/email_terms/">Click here </A>for important additional terms relating to this e-mail.&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="http://www.ml.com/email_terms/">http://www.ml.com/email_terms/</A></DIV>
                                                <DIV>
                                                        <HR COLOR="gray">
                                                </DIV></BODY></HTML>