XML Authoring Guide

Fully self-closing element syntax is intended for documents compatible with XML.

item[]//
<item/>

A prolog is most convenient with a postfix.

?xml[version="1.0" encoding="UTF-8"]?/
<?xml version="1.0" encoding="UTF-8"?>

The true literal (i.e. justified condensed common literal) is a consistent way to include content.

[Title]/item title
item: """
content
"""
<item title="Title">
  <item>content</item>
</item>

The block-wise mark (BWM) is intended for documents with XML namespaces.

ns:item| content
<ns:item>content</ns:item>

Sample document:

?xml[version="1.0" encoding="UTF-8"]?/
[Section 1]/item title
more:
  description: """
text
"""
<?xml version="1.0" encoding="UTF-8"?>
<item title="Section 1">
  <more>
    <description>text</description>
  </more>
</item>