cd .. (alle tools)

XML-formatter

XML opmaken en controleren of het welgevormd is.

// Draait in je browser. Wat je hier typt wordt nergens heen gestuurd.

Welgevormde XML: 12 elementen, 8 attributen, 4 niveaus diep.

Dit controleert of het document welgevormd is. Het valideert het niet tegen een schema of DTD.

Opmaak

Resultaat

<?xml version="1.0" encoding="UTF-8"?>
<order id="1042" xmlns="urn:example:orders">
  <customer>
    <name>Ada Lovelace</name>
    <email>ada@example.com</email>
  </customer>
  <lines>
    <line sku="A-1" quantity="2">
      <description>Coffee &amp; tea</description>
      <price currency="EUR">4.50</price>
    </line>
    <line sku="B-7" quantity="1">
      <description>Mug</description>
      <price currency="EUR">9.95</price>
    </line>
  </lines>
  <note/>
</order>