Link to home
Start Free TrialLog in
Avatar of silentthread2k
silentthread2kFlag for United States of America

asked on

C#, iiterate through simple xml file

How would I read an xml file in C# with say the format below. I'm looking for a way to itterate through it.
<?xml version="1.0" encoding="utf-8"?>
<bookstore>
	<book>
		<id>654852</id>
		<details>
			<pages total="324" damaged="6"></pages>
		</details>
	</book>
	<book>
		<id>478156</id>
		<details>
			<pages total="286" damaged="11"></pages>
		</details>
	</book>
</bookstore>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of zwei
zwei
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Lol, I see zwei beat me to the:

www.letmegooglethatforyou.com