By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,122 Members | 1,615 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,122 IT Pros & Developers. It's quick & easy.

Read partial xml into dataset

P: n/a
Sue
Hello

I need some help to read only partial nodes of a xml and store it as a
dataset. In my example below, I need only the values within the nodes
<WorkFlowStepHistoryin a dataset. I'm sure it is pretty simple, but
since I'm new to xml not sure how it is done.

Say my xml string has nodes like

<RequestSpecificData>
<OtherNodes>
-------
</OtherNodes>

<WorkFlowStepHistory>
<WorkFlowStatus>FormSubmitted</WorkFlowStatus>
<WorkFlowStatusDateTime>12/17/2007</
WorkFlowStatusDateTime>
<WorkFlowStepHistory>
<WorkFlowStepHistory>
<WorkFlowStatus>FormApproved</WorkFlowStatus>
<WorkFlowStatusDateTime>12/18/2007</
WorkFlowStatusDateTime>
<WorkFlowStepHistory>
<WorkFlowStepHistory>
<WorkFlowStatus>FormRejected</WorkFlowStatus>
<WorkFlowStatusDateTime>12/18/2007</
WorkFlowStatusDateTime>
<WorkFlowStepHistory>

<OtherNodesXYZ>
-------
</OtherNodesXYZ>
</RequestSpecificData>
Dec 17 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.