FM Field Manual smhansen.dev

FM 5-06 Chapter 5 · Data formats

XML formatter

Pretty-print, minify and check XML for well-formedness, with an XPath tester.

Local only Runs in your browser. Nothing you enter leaves this page.

Usable as a step in Chain
Output
Indent

Text inside elements is kept exactly as written. Blank text between elements is treated as insignificant and replaced by indentation, as most formatters do; mark elements with xml:space="preserve" to keep it. Elements that mix text and tags are left untouched.

Nothing is ever loaded: external DTDs and entities are shown, not fetched, and entity references stay as written. XPath uses the browser's XPath 1.0 engine. Prefixes declared in the document can be used; elements in a default namespace need the prefix d:, as in //d:item.

  • No entry in this manual matches “”.

↑ ↓ move · Enter open · Esc close