EDN Admin
Well-known member
<ns0:BookStore xmlns:ns0=URI
- <ns1:BookDetails xmlns:ns1= URI1
<ns1:Name>ns0:Name_0</ns1:Name> <br/>
<ns1
urchaseDate>1999-05-31T13:20:00.000-05:00</ns1
urchaseDate>
<br/>
<ns1:SlNo>10</ns1:SlNo> <br/>
<ns1:Id>8563452</ns1:Id> <br/>
<ns1:Code>2631</ns1:Code> <br/>
<ns1
rice>800.25</ns1
rice> <br/>
</ns1:BookDetails>
- <ns2:BookDetails xmlns:ns2= URI1
<ns2:Name>ns0:Name_0</ns2:Name> <br/>
<ns2
urchaseDate>1999-05-31T13:20:00.000-05:00</ns2
urchaseDate>
<br/>
<ns2:SlNo>20</ns2:SlNo> <br/>
<ns2:Id>8962596</ns2:Id> <br/>
<ns2:Code>2563</ns2:Code> <br/>
<ns2
rice>589.26</ns2
rice> <br/>
</ns2:BookDetails>
- <ns3:BookDetails xmlns:ns3= URI1
<ns3:Name>ns0:Name_0</ns3:Name> <br/>
<ns3
urchaseDate>1999-05-31T13:20:00.000-05:00</ns3
urchaseDate>
<br/>
<ns3:SlNo>30</ns3:SlNo> <br/>
<ns3:Id>1589652</ns3:Id> <br/>
<ns3:Code>1589</ns3:Code> <br/>
<ns3
rice>125.00</ns3
rice> <br/>
</ns3:BookDetails><br/>
</ns0:BookStore>
I want to extarct the below 3 results from above XML.
Could you please help me, how to Extarct the below values using C# Window Application?
1: Combination of <ns1
urchaseDate> + <ns1:SlNo> + <ns1:Id>
2: Combination of <ns2
urchaseDate> + <ns2:SlNo> + <ns2:Id>
3: Combination of <ns3
urchaseDate> + <ns3:SlNo> + <ns3:Id>
View the full article
- <ns1:BookDetails xmlns:ns1= URI1
<ns1:Name>ns0:Name_0</ns1:Name> <br/>
<ns1


<br/>
<ns1:SlNo>10</ns1:SlNo> <br/>
<ns1:Id>8563452</ns1:Id> <br/>
<ns1:Code>2631</ns1:Code> <br/>
<ns1


</ns1:BookDetails>
- <ns2:BookDetails xmlns:ns2= URI1
<ns2:Name>ns0:Name_0</ns2:Name> <br/>
<ns2


<br/>
<ns2:SlNo>20</ns2:SlNo> <br/>
<ns2:Id>8962596</ns2:Id> <br/>
<ns2:Code>2563</ns2:Code> <br/>
<ns2


</ns2:BookDetails>
- <ns3:BookDetails xmlns:ns3= URI1
<ns3:Name>ns0:Name_0</ns3:Name> <br/>
<ns3


<br/>
<ns3:SlNo>30</ns3:SlNo> <br/>
<ns3:Id>1589652</ns3:Id> <br/>
<ns3:Code>1589</ns3:Code> <br/>
<ns3


</ns3:BookDetails><br/>
</ns0:BookStore>
I want to extarct the below 3 results from above XML.
Could you please help me, how to Extarct the below values using C# Window Application?
1: Combination of <ns1

2: Combination of <ns2

3: Combination of <ns3

View the full article