XML (.xml)

XML models structured text with elements, attributes and namespaces. A well-formed document has one root element with properly nested tags.

Using XML (.xml) in Docbench

Validate and format the sample, then inspect the XML preview.

Open example in the editor

Example

<inventory>
  <item quantity="3">label</item>
</inventory>

XML (.xml) reference