xmlforall
Version:
Simple and fast Nodejs XML parser using SAX as the only dependency.
44 lines • 1.44 kB
text/xml
<!-- https://www.w3schools.com/xml/ -->
<breakfast_menu>
<food id="0">
<name>Belgian Waffles</name>
<price currency="USD">$5.95</price>
<description>
Two of our famous Belgian Waffles with plenty of real maple syrup
</description>
<calories>650</calories>
</food>
<food id="1">
<name>Strawberry Belgian Waffles</name>
<price currency="USD">$7.95</price>
<description>
Light Belgian waffles covered with strawberries and whipped cream
</description>
<calories>900</calories>
</food>
<food id="2">
<name>Berry-Berry Belgian Waffles</name>
<price currency="USD">$8.95</price>
<description>
Belgian waffles covered with assorted fresh berries and whipped cream
</description>
<calories>900</calories>
</food>
<food id="3">
<name>French Toast</name>
<price currency="USD">$4.50</price>
<description>
Thick slices made from our homemade sourdough bread
</description>
<calories>600</calories>
</food>
<food id="4">
<name>Homestyle Breakfast</name>
<price currency="USD">$6.95</price>
<description>
Two eggs, bacon or sausage, toast, and our ever-popular hash browns
</description>
<calories>950</calories>
</food>
</breakfast_menu>