It took me forever to understand this question, I finally got it but I still have some troubles. As the topic says, I need to parse XML file into .txt file using C language.
For example:
<?xml version="1.0" encoding="UTF-8"?>
<breakfast_menu>
<food>
<name>Belgian Waffles</name>
<price>$5.95</price>
<description>
Two of our famous Belgian Waffles
with plenty of real maple syrup
</description>
<calories>650</calories>
</food>
It will look like this in the text file :
Item #1: Food
name: Belgian Waffles
price: $5.95
description: Two of our famous
Belgian Waffle with plenty of real
maple syrup
calories: 650
Can someone puts me in the right path to start. Also I'll be thankful if you provide me with links that explain how parser works using c language
Thank you!
No comments:
Post a Comment