I need value of '<BillTOParty>< PartyId>< Id> ' from the XML
<body>
<aaia:AddRequestForQuote environment="Test" lang="en" revision="1.2.1">
<oa:ApplicationArea>
<oa:Sender>
<oa:LogicalId>ACONNEX</oa:
LogicalId>
<oa:ReferenceId>084478h7-c
e03-9cd0-8
f81-f9cb38
8c654e</oa
:Reference
Id>
<oa:Confirmation>0</oa:Con
firmation>
</oa:Sender>
<oa:CreationDateTime>2008-
04-18T22:5
4:41Z</oa:
CreationDa
teTime>
<oa:BODId>084478h7-ce03-9c
d0-8f81-f9
cb388c654e
</oa:BODId
>
</oa:ApplicationArea>
<oa:DataArea>
<oa:Add confirm="Always" />
<oa:RequestForQuote>
<oa:Header>
<oa:DocumentIds>
<oa:CustomerDocumentId>
<oa:Id>052570010224040123<
/oa:Id>
</oa:CustomerDocumentId>
</oa:DocumentIds>
<oa:Parties>
<oa:BillToParty>
<oa:PartyId>
<oa:Id>444444</oa:Id>
</oa:PartyId>
<oa:Name lang="en">Advance Auto Parts</oa:Name>
<oa:Addresses>
<oa:Address>
<oa:AddressLine>P.O. Box 2710</oa:AddressLine>
<oa:City>Roanoke</oa:City>
<oa:StateOrProvince>VA</oa
:StateOrPr
ovince>
<oa:Country>US</oa:Country
>
<oa:PostalCode>24001</oa:P
ostalCode>
</oa:Address>
</oa:Addresses>
</oa:BillToParty>
<oa:ShipToParty>
<oa:PartyId>
<oa:Id>5257</oa:Id>
</oa:PartyId>
</oa:ShipToParty>
<oa:ShipFromParty>
<oa:PartyId>
<oa:Id>2</oa:Id>
</oa:PartyId>
</oa:ShipFromParty>
</oa:Parties>
</oa:Header>
<oa:Line>
<oa:LineNumber>1</oa:LineN
umber>
<oa:OrderItem>
<oa:ItemIds>
<oa:CustomerItemId>
<oa:Id>01 011</oa:Id>
</oa:CustomerItemId>
</oa:ItemIds>
</oa:OrderItem>
<oa:OrderQuantity uom="Each">1</oa:OrderQuan
tity>
</oa:Line>
</oa:RequestForQuote>
</oa:DataArea>
</aaia:AddRequestForQuote>
</body>
When I use this below XPath, it works fine.
/body/child::*[1]/child::*
[1]/DataAr
ea/child::
*[2]/Heade
r/Parties/
child::*[1
]/PartyId/
Id/child::
*[1]
If I use this below XPath Expression ,it is not working
body/child::*[1]/child::*[
1]/DataAre
a/child::*
[2]/Header
/Parties/B
illToParty
/PartyId/I
d/child::*
[1]
Please help me in this.Thanks for your time.