Hi,
Using LINQ to XML how to read XML node names??
I have the Following XML
I want to get all the node names inside <OrderDocumentR ow>.
i.e.
1)number
2)Cost
3)Order
4)article etc..
How to get the node name list?
thank you,
Veena
Using LINQ to XML how to read XML node names??
I have the Following XML
Code:
<?xml version="1.0" encoding="utf-8"?>
<OrderDocument>
<rows>
<OrderDocumentRow>
<number>1</number>
<Cost>
<code>11</code>
<type>0</type>
<isDefault>false</isDefault>
<decimalTotal>0</decimalTotal>
</Cost>
<Order>
<code>88</code>
<type>0</type>
<isDefault>false</isDefault>
<decimalTotal>0</decimalTotal>
</Order>
<article>abc</article>
</OrderDocumentRow>
</rows>
</OrderDocument>
i.e.
1)number
2)Cost
3)Order
4)article etc..
How to get the node name list?
thank you,
Veena
Comment