XML · 35.6 KB

XML with namespaces and nested elements

50 orders using a default namespace, attributes, nested elements, CDATA sections and a comment.

CC0 · free for any use · Verified by an independent tool · Report a problem

sample-orders-nested.xml — first linesXML
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by samplefiles.com -->
<orders xmlns="https://samplefiles.com/ns/orders">
  <order id="ORD-100001" status="refunded" created="2024-01-27T09:30:00Z">
    <customer id="44647">
      <name>Marie Marshall</name>
      <email>[email protected]</email>
      <address>
        <street>6017 Erica Road Suite 147</street>
        <city>Parkerstad</city>
        <country>United Kingdom</country>
      </address>
    </customer>
    <items>
      <item sku="SKU-32162" quantity="1" unit_price="36.69"><![CDATA[Self-enabling scalable portal]]></item>
    </items>
    <total currency="USD">36.69</total>
  </order>
  <order id="ORD-100002" status="paid" created="2024-06-21T07:33:00Z">
    <customer id="1564">
      <name>Jeffrey Miles</name>
      <email>[email protected]</email>
      <address>
        <street>00455 Neal Pass Suite 859</street>
        <city>Ballardland</city>

File details

Size
35.6 KB (36,497 bytes)
MIME type
application/xml
Rows
50
SHA-256
3c07c2f91606821cb35135d8f0e2d8bb582c2cc8e59dac032bdaa31fe87f6f0a
MD5
5840ac4a57d264625d1745903b931028

Download from the command line

curl -L -o sample-orders-nested.xml https://files.samplefiles.com/data/xml/sample-orders-nested.xml

Or check the download in your browser with the checksum calculator.

Featured in

Same sample in other formats

JSON · 86 KB

Similar XML files

FileSizeDetailsDownload
XML, 100 recordssample-100-records.xml42 KB100 rowsDownload
100 KB XML filesample-100kb.xml99.9 KB265 rowsDownload
XML, 1,000 recordssample-1k-records.xml422 KB1,000 rowsDownload
1 MB XML filesample-1mb.xml1023 KB2,750 rowsDownload
XML, 10,000 recordssample-10k-records.xml4.1 MB10,000 rowsDownload
5 MB XML filesample-5mb.xml4.9 MB13,455 rowsDownload
10 MB XML filesample-10mb.xml9.9 MB27,365 rowsDownload
50 MB XML filesample-50mb.xml49.9 MB133,946 rowsDownload