v3.0.0

XML tag

Extract text inside XML tags.

App usage

Example


# INPUT TEXT
// from https://www.w3schools.com/xml/xml_examples.asp
<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>
<food>
<name>Strawberry Belgian Waffles</name>
<price>$7.95</price>
<description>Light Belgian waffles covered with strawberries and whipped cream</description>
<calories>900</calories>
</food>
<food>
<name>Berry-Berry Belgian Waffles</name>
<price>$8.95</price>
<description>Light Belgian waffles covered with an assortment of fresh berries and whipped cream</description>
<calories>900</calories>
</food>
<food>
<name>French Toast</name>
<price>$4.50</price>
<description>Thick slices made from our homemade sourdough bread</description>
<calories>600</calories>
</food>
<food>
<name>Homestyle Breakfast</name>
<price>$6.95</price>
<description>Two eggs, bacon or sausage, toast, and our ever-popular hash browns</description>
<calories>950</calories>
</food>
</breakfast_menu>


# RESULT
[
  "$4.50",
  "$5.95",
  "$6.95",
  "$7.95",
  "$8.95",
  "600",
  "650",
  "900",
  "950",
  "Belgian Waffles",
  "Berry-Berry Belgian Waffles",
  "French Toast",
  "Homestyle Breakfast",
  "Light Belgian waffles covered with an assortment of fresh berries and whipped cream",
  "Light Belgian waffles covered with strawberries and whipped cream",
  "Strawberry Belgian Waffles",
  "Thick slices made from our homemade sourdough bread",
  "Two eggs, bacon or sausage, toast, and our ever-popular hash browns",
  "Two of our famous Belgian Waffles with plenty of real maple syrup"
]

API usage

You can find all required parameters and multi-language examples on our RapidAPI page.