Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

XML parsing help

$
0
0

Hi,

I need to grab the "Quantity" value from the below xml code using C#:

<td>
<content styleCode="xContentWrapping">
<content ID="_42da39b0-83d2-4906-b8d9-531456d3220b">ALPRAZolam 0.25 MG Oral Tablet</content>
<content styleCode="xLabel">; </content>
<content styleCode="xSecondary" ID="_5eba331f-cc26-4e5b-a9fb-fb2614bc14a4">two times daily [2]</content>
<br />
<content styleCode="xLabel"> Quantity: </content>
         <content>180 </content>
<br />
<content styleCode="xLabel xSecondary">Refills: </content>
<content styleCode="xSecondary">3</content>
<br />
</content>
</td>

Is there a simple way to do this or do I need to interrogate each tag to get this?


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>