<?xml version="1.0" encoding="UTF-8"?>
<bookstore>
  <book id="1" category="fiction">
    <title>The Sample Novel</title>
    <author>Jane Doe</author>
    <year>2023</year>
    <price currency="USD">19.99</price>
  </book>
  <book id="2" category="science">
    <title>Understanding XML</title>
    <author>John Smith</author>
    <year>2021</year>
    <price currency="USD">29.50</price>
  </book>
</bookstore>
