---
title: "Reading particular node data from xml"  
description: "Reading particular node data from xml"  
author: "Somesh"  
published: 2010-10-26  
updated: 2010-11-08  
canonical: https://www.mindstick.com/forum/62/reading-particular-node-data-from-xml  
category: "xml"  
tags: ["xml"]  
reading_time: 1 minute  

---

# Reading particular node data from xml

we read [data](https://www.mindstick.com/articles/13050/salesforce-aiming-to-dominate-predictive-analytics-with-data-science) from [xml](https://www.mindstick.com/blog/203/working-with-xml-data-in-sql-server) by using [condition](https://www.mindstick.com/forum/12711/select-query-with-and-condition) \
how will do it?

## Replies

### Reply by Amit Singh

Reading particular node from xml\
by using dataset\
for example\
Dataset ds=new Dataset();\
ds.Readxml=Server.MapPath(@filename);\
DataRow[] dr=ds.Tables["table1"].select(@id='1001');\
\
\


---

Original Source: https://www.mindstick.com/forum/62/reading-particular-node-data-from-xml

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
