<?xml version='1.0' ?>
<rfc category='info' docName='draft-petithuguenin-xml2rfc-asciidoc-03' ipr='trust200902' sortRefs='true' submissionType='IETF' tocDepth='4' version='3'>
<front>
	<title>Mappings Between XML2RFC v3 and AsciiDoc</title>
	<author fullname="Marc Petit-Huguenin">
      <organization>Impedance Mismatch LLC</organization>
      <address>
		 <email>marc@petit-huguenin.org</email>
      </address>
   </author>
   <date day="27" year="2024" month="Jan" />
   <area>General</area>
   <abstract><t>
This document specifies a mapping between XML2RFC v3 and AsciiDoc.
The goal of this mapping and its associated tooling is to make writing an Internet-Draft as simple as possible, by converting any AsciiDoc formatted document into a valid Internet-Draft, ready to be submitted to the IETF.
This is still work in progress and for the time being this mapping only ensures that any valid XML2RFC element can be generated from AsciiDoc.
</t>









</abstract>
</front>

<middle>

<section anchor='intro'>
<name>Introduction</name>
<t>
This document specifies a mapping between XML2RFC v3, as defined in the <xref target='I-D.rswg-xml2rfcv3-implemented-02'>successor</xref> of <xref target='RFC7991' />, and <xref target='AsciiDoc' />.
</t>
<t>
The goal of this mapping and its associated tooling is to make writing an Internet-Draft as simple as possible, by converting any AsciiDoc formatted document into a valid Internet-Draft, ready to be submitted to the IETF.
This is still work in progress and for the time being this mapping only ensures that any valid XML2RFC element can be generated from AsciiDoc.
</t>
<t>
Installation and usage of the tool is described in <xref target='cli' />.
</t>
</section>
<section>
<name>Overview</name>
<t>
AsciiDoc is an extensible documentation format whose syntax can be split in two parts:
</t>
<ul>
<li>The standard syntax as defined in <eref target='https://docs.asciidoctor.org/asciidoc/latest/' /></li><li>Extensions that extend the standard syntax.
A popular example of extension is asciidoctor-diagrams, which permits the insertion of diagrams in a document.</li>
</ul>
<t>
The mapping described in this document splits these parts further.
The standard syntax is split in two subparts:
</t>
<ul>
<li>The primitive standard syntax contains all the AsciiDoc elements that have a direct translation back and forth with XML2RFC v3.</li><li>The compound standard syntax contains all the other standard elements.</li>
</ul>
<t>
Elements in the compound standard syntax are converted into XML2RFC v3 by using multiple elements.
That means that the conversion back to AsciiDoc will always be to elements in the primitive standard syntax, not the original elements.
</t>
<t>
For instance an AsciiDoc unordered list is a primitive element that is converted to an &lt;ol&gt; element in XML2RFC.
On the other hand the AsciiDoc checklist is a compound element that is converted into a combination of &lt;ol&gt; and &lt;t&gt; elements in XML2RFC, but the conversion back will not result in an AsciiDoc checklist.
</t>
<t>
Similarly some AsciiDoc extensions have been developed to support XML2RFC elements and attributes that do not have a standard AsciiDoc equivalent.
The XML2RFC elements and attributes will be converted back into these AsciiDoc extensions, but any other AsciiDoc extensions will be converted back into a combination of primitive AsciiDoc elements.
</t>
<t>
When choosing the mapping between an XML2RFC elements and an AsciiDoc element, reusing as much as possible of the standard AsciiDoc syntax was a priority.
An extension is added only if a standard element with the correct semantics cannot be found.
</t>
<t>
AsciiDoc is not really meant to support highly structured XML2RFC elements like &lt;front&gt;, &lt;reference&gt;, &lt;referencegroup&gt;, &lt;author&gt;, and &lt;contact&gt;.
Thus these element are used directly in AsciiDoc by inserting an XML2RFC fragment inside a passthrough block.
Passthrough blocks serve also as an escape hatch for new elements added to the XML2RFC syntax until a new revision of this document is published.
</t>
<section>
<name>Deprecated and Unsupported Elements</name>
<t>
In any case AsciiDoc, both standard and extensions, never generate deprecated XML2RFC elements or attributes.
</t>
<t>
This mapping is specifically designed to write Internet-Drafts so there is no support, in any direction, for XML2RFC elements and attributes that are specific to RFCs.
</t>
<t>
The list of xml2rc v3 elements that are specific to the generation of RFCs, and so cannot be generated from an AsciiDoc document are:
</t>
<ul>
<li>the &lt;boilerplate&gt; element</li><li>the &lt;link&gt; element</li><li>the "iprExtract", "number", "prepTime", and "seriesNo" attributes in the &lt;rfc&gt; element</li><li>the &lt;toc&gt; element</li><li>all the attributes added by the preptool.</li>
</ul>
</section>
<section>
<name>Docinfo Processing</name>
<t>
If a docinfo file is used, it completely replaces the generation of the &lt;front&gt; element.
To reduce redundancy, some of the attributes declared in the document header can be referenced in the docinfo file:
</t>
<dl>
<dt>subtitle: </dt><dd>This attribute contains the subtitle to be inserted in the "abbrev" attribute of the &lt;title&gt; element.
This is an extension to the standard AsciiDoc.</dd><dt>author: </dt><dd>This attribute contains the full name to be inserted in the "fullname" attribute of the &lt;author&gt; element.</dd><dt>email: </dt><dd>This attribute contains the email to be inserted in the &lt;email&gt; element.</dd><dt>revday: </dt><dd>This attribute contains the day to be inserted in the "day" attribute of the &lt;date&gt; element.
This is an extension to the standard AsciiDoc.</dd><dt>revmonth: </dt><dd>This attribute contains the month to be inserted in the "month" attribute of the &lt;date&gt; element.
This is an extension to the standard AsciiDoc.</dd><dt>revyear: </dt><dd>This attribute contains the year to be inserted in the "year" attribute of the &lt;date&gt; element.
This is an extension to the standard AsciiDoc.</dd><dt>abstract: </dt><dd>This attribute contains the abstract to be inserted in the &lt;abstract&gt; element.
This is an extension to the standard AsciiDoc.</dd><dt>revremark: </dt><dd>This attribute contains the note to be inserted in a &lt;note&gt; element.</dd>
</dl>
</section>
<section>
<name>Include Citation</name>
<t>
References can be automatically extracted from local Internet-Drafts written in AsciiDoc, and inserted into a reference section by including the document with the fragment identifier "#citation", as in the following example:
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[ - [[[I-D.petithuguenin-mapping-xml2rfc-asciidoc-00]]]
 ++++
 include::test.adoc#citation[]
 ++++]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>Mappings</name>

</section>
<section>
<name>Mapping between AsciiDoc and XML2RFC v3</name>
<t>
This section describes the mapping between the AsciiDoc direct syntax and IETF extensions to non-deprecated XML2RFC v3 elements and attributes.
</t>
<section>
<name>&lt;abstract&gt;</name>
<t>
The &lt;abstract&gt; element inside a &lt;front&gt; element is either generated from an abstract section or copied from a docinfo file.
</t>
<t>
The &lt;abstract&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;abstract&gt; "anchor" attribute can be copied from a docinfo file.
It cannot be generated from an abstract section.
</t>
</section>
</section>
<section>
<name>&lt;address&gt;</name>
<t>
The &lt;address&gt; element inside a &lt;front&gt; element is copied from a docinfo file.
</t>
<t>
The &lt;address&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
<t>
The &lt;address&gt; element can also be used inside an &lt;author&gt; element in a passthrough block in a section.
</t>
</section>
<section>
<name>&lt;annotation&gt;</name>
<t>
The &lt;annotation&gt; element can be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
</section>
<section>
<name>&lt;area&gt;</name>
<t>
The &lt;area&gt; element inside a &lt;front&gt; element is copied from a docinfo file.
</t>
<t>
The &lt;area&gt; element can be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
</section>
<section>
<name>&lt;artset&gt;</name>
<t>
The &lt;artset&gt; element is generated from an example block using the style "alt".
This block can only contain images or literal blocks.
</t>
<t>
The alt style on an example block is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[alt]
====
image::test.jpg[]

....
ASCII Art
....
====]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<artset>
<artwork src='test.jpg' />
<artwork><![CDATA[ASCII Art]]]]><![CDATA[></artwork>
</artset>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;artset&gt; "anchor" attribute is generated from the "alt" block ID, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[alt#id1]
====
image::test.jpg[]

....
ASCII Art
....
====]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<artset anchor='id1'>
<artwork src='test.jpg' />
<artwork><![CDATA[ASCII Art]]]]><![CDATA[></artwork>
</artset>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;artwork&gt;</name>
<t>
The &lt;artwork&gt; element is generated from a literal or image block.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[....
ASCII Art
....]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<artwork><![CDATA[ASCII Art]]]]><![CDATA[></artwork>]]></sourcecode></li>
</ul>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[image::test.jpg[]]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<artwork src='test.jpg' />]]></sourcecode></li>
</ul>
<section>
<name>"align" Attribute</name>
<t>
The &lt;artwork&gt; "align" attribute is generated from the align attribute, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[align=center]
....
ASCII Art
....]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<artwork align='center'><![CDATA[ASCII Art]]]]><![CDATA[></artwork>]]></sourcecode></li>
</ul>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[image::test.jpg[align=center]]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<artwork align='center' src='test.jpg' />]]></sourcecode></li>
</ul>
</section>
<section>
<name>"alt" Attribute</name>
<t>
The &lt;artwork&gt; "alt" attribute is generated from the alt attribute, if present.
</t>
<t>
The alt attribute on a literal block is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[alt="Alternative"]
....
Some text
....]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<artwork alt='Alternative' name=''><![CDATA[Some text]]]]><![CDATA[></artwork>]]></sourcecode></li>
</ul>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[image::test.jpg[Some text]]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<artwork alt='Some text' src='test.jpg' />]]></sourcecode></li>
</ul>
</section>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;artwork&gt; "anchor" attribute is generated from the image or literal block ID, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[[id2]]
....
ASCII Art
....]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<artwork anchor='id2'><![CDATA[ASCII Art]]]]><![CDATA[></artwork>]]></sourcecode></li>
</ul>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[[id3]]
image::test.jpg[]]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<artwork anchor='id3' src='test.jpg' />]]></sourcecode></li>
</ul>
</section>
<section>
<name>"name" Attribute</name>
<t>
The &lt;artwork&gt; "name" attribute is generated from the name attribute, if present.
</t>
<t>
The name attribute on a literal block is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[name="test.txt"]
....
ASCII Art
....]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<artwork><![CDATA[ASCII Art]]]]><![CDATA[></artwork>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"src" Attribute</name>
<t>
The &lt;artwork&gt; "src" attribute is generated from the target of an image block.
</t>
<t>
The src attribute on an image block is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[image::test.jpg[]]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<artwork src='test.jpg' />]]></sourcecode></li>
</ul>
</section>
<section>
<name>"type" Attribute</name>
<t>
The &lt;artwork&gt; "type" attribute is generated from the format attribute, if present.
</t>
<t>
The format attribute on an literal block is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[format="ascii-art"]
....
ASCII Art
....]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<artwork type='ascii-art'><![CDATA[ASCII Art]]]]><![CDATA[></artwork>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;aside&gt;</name>
<t>
The &lt;aside&gt; element is generated from a sidebar block.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[****
Some text
****]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<aside>
<t>
Some text
</t>
</aside>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;aside&gt; "anchor" attribute is generated from the aside block ID, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[[id4]]
****
Some text
****]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<aside anchor='id4'>
<t>
Some text
</t>
</aside>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;author&gt;</name>
<t>
The &lt;author&gt; element inside a &lt;front&gt; element is either generated from the author information in the document header or copied from a docinfo file.
</t>
<t>
The &lt;author&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
</section>
<section>
<name>&lt;back&gt;</name>
<t>
The &lt;back&gt; element is implicitly generated when a bibliography or a appendices are added to a document.
</t>
</section>
<section>
<name>&lt;bcp14&gt;</name>
<t>
The &lt;bcp14&gt; element is generated from the text span style bcp14.
</t>
<t>
The text span style bcp14 is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[Implementers [bcp14]#MUST# implement all MUST.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
Implementers <bcp14>MUST</bcp14> implement all MUST.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>&lt;blockquote&gt;</name>
<t>
The &lt;blockquote&gt; element is generated from a quote block.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[____
Some text
____]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<blockquote>
<t>
Some text
</t>
</blockquote>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;blockquote&gt; "anchor" attribute is generated from the quote block ID, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[[id5]]
____
Some text
____]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<blockquote anchor='id5'>
<t>
Some text
</t>
</blockquote>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"cite" Attribute</name>
<t>
The &lt;blockquote&gt; "cite" attribute is generated from the quote block cite attribute, if present.
</t>
<t>
The cite attribute on an literal block is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[quote,cite=https://link]
____
Some text
____]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<blockquote cite='http://link'>
<t>
Some text
</t>
</blockquote>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"quotedFrom" Attribute</name>
<t>
The &lt;blockquote&gt; "quotedFrom" attribute is generated from the quote block positional attribute, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[quote,attribution]
____
Some text
____]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<blockquote quotedFrom='attribution'>
<t>
Some text
</t>
</blockquote>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;boilerplate&gt;</name>
<t>
The &lt;boilerplate&gt; element is used only for RFCs and so is not generated.
</t>
</section>
<section>
<name>&lt;br&gt;</name>
<t>
The &lt;br&gt; element is generated from the " +" string at the end of a line in a paragraph.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[This is +
two lines]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
This is<br />
two lines
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>&lt;contact&gt;</name>
<t>
The &lt;contact&gt; element and its attributes are provided in a section as a passthrough block containing that element, or in a paragraph as an inline passthrough containing that element.
</t>
</section>
<section>
<name>&lt;country&gt;</name>
<t>
The &lt;country&gt; element and its attribute inside a &lt;front&gt; element is copied from a docinfo file.
</t>
<t>
The &lt;country&gt; element can be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
</section>
<section>
<name>&lt;cref&gt;</name>
<t>
The &lt;cref&gt; element is generated from the comment inline macro.
</t>
<t>
The comment inline macro and its attributes are extensions to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[The
comment:[Replace native]
native mode can be used.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
The
<cref>Replace native</cref>
native mode can be used.
</t>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;cref&gt; "anchor" attribute is generated from the comment inline macro ID, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[The
comment:[Replace native,id=id6]
native mode can be used.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
The
<cref anchor='id6'>Replace native</cref>
native mode can be used.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"display" Attribute</name>
<t>
The &lt;cref&gt; "display" attribute is generated from the comment inline macro display attribute, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[The
comment:[Replace native,display=true]
native mode can be used.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
The
<cref display='true'>Replace native</cref>
native mode can be used.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"source" Attribute</name>
<t>
The &lt;cref&gt; "source" attribute is generated from the comment inline macro source attribute, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[The
comment:[Replace native,source=MPH]
native mode can be used.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
The
<cref source='MPH'>Replace native</cref>
native mode can be used.
</t>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;date&gt;</name>
<t>
The &lt;date&gt; element and its attributes inside a &lt;front&gt; element are either generated from an revdate document header or copied from a docinfo file.
</t>
<t>
The &lt;date&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
</section>
<section>
<name>&lt;dd&gt;</name>
<t>
The &lt;dd&gt; element is generated from the definition part of a description list.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[text:: data]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<dl>
<dt>text</dt><dd>data</dd>
</dl>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;dd&gt; anchor attribute cannot be generated.
</t>
</section>
</section>
<section>
<name>&lt;displayreference&gt;</name>
<t>
The &lt;displayreference&gt; element is generated from a bibliography entry bibref that differs from the ID of the entry itself.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[bibliography]
== References

* [[[id8]]]
+
[[id9]]
++++
<reference anchor="id9">
</reference>
++++]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<back>

<displayreference target="id9" to="id8" />


<references>
<name>References</name>
<reference anchor="id9">
</reference>
</references>
</back>]]></sourcecode></li>
</ul>
<section>
<name>"target" Attribute</name>
<t>
The &lt;displayreference&gt; target attribute cannot be generated.
</t>
</section>
<section>
<name>"to" Attribute</name>
<t>
The displayreference "to" attribute cannot be generated.
</t>
</section>
</section>
<section>
<name>&lt;dl&gt;</name>
<t>
The &lt;dl&gt; element is generated from a description list.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[text:: data]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<dl>
<dt>text</dt><dd>data</dd>
</dl>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;dl&gt; "anchor" attribute is generated from the ID of a description list, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[[id10]]
text:: data]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<dl anchor='id10'>
<dt>text</dt><dd>data</dd>
</dl>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"indent" Attribute</name>
<t>
The &lt;dl&gt; "indent" attribute is generated from the indent attribute of a description list, if present.
</t>
<t>
The description list indent attribute is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[indent=3]
text:: data]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<dl indent='3'>
<dt>text</dt><dd>data</dd>
</dl>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"newline" Attribute</name>
<t>
The &lt;dl&gt; "newline" attribute is generated from the indent attribute of a description list, if present.
</t>
<t>
The description list newline attribute is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[newline=true]
text:: data]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<dl newline='true'>
<dt>text</dt><dd>data</dd>
</dl>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"spacing" Attribute</name>
<t>
The &lt;dl&gt; "spacing" attribute is generated from the spacing attribute of a description list, if present.
</t>
<t>
The description list spacing attribute is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[spacing=compact]
text:: data]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<dl spacing='contact'>
<dt>text</dt><dd>data</dd>
</dl>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;dt&gt;</name>
<t>
The &lt;dt&gt; element is generated from the term part of a definition list.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[text:: data]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<dl>
<dt>text</dt><dd>data</dd>
</dl>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;dt&gt; anchor attribute cannot be generated.
</t>
</section>
</section>
<section>
<name>&lt;em&gt;</name>
<t>
The &lt;em&gt; element is generated from an italic text formatting.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[Text with __emphasis__.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
Text with <em>emphasis</em>.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>&lt;email&gt;</name>
<t>
The &lt;email&gt; element inside a &lt;front&gt; element is either generated from the email document header or copied from a docinfo file.
</t>
<t>
The &lt;email&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
<t>
The &lt;email&gt; element can also be used inside an &lt;author&gt; element in a passthrough block in a section.
</t>
</section>
<section>
<name>&lt;eref&gt;</name>
<t>
The &lt;eref&gt; element is generated from a link macro.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[As cited in link:https://test[].]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
As cited in <eref target='https://test' />.
</t>]]></sourcecode></li>
</ul>
<section>
<name>"bracket" Attribute</name>
<t>
The &lt;eref&gt; "bracket" attribute is generated from the bracket attribute in the link macro, if present.
</t>
<t>
The link macro bracket attribute is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[As cited in link:https://test[brackets=true].]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
As cited in <eref brackets='true' target='https://test' />.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"target" Attribute</name>
<t>
The &lt;eref&gt; "target" attribute is generated from the target in the link macro.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[As cited in link:https://test[].]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
As cited in <eref target='https://test' />.
</t>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;figure&gt;</name>
<t>
The &lt;figure&gt; element is generated from an example block with the style "figure".
</t>
<t>
The figure style on an example block is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[figure]
====
image::test.jpg[]
====]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<figure>

<artwork src='test.jpg' />
</figure>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;figure&gt; "anchor" attribute is generated from the ID of a figure block, if present.
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[[id12]]
[figure]
====
image::test.jpg[]
====]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<figure anchor='id12'>

<artwork src='test.jpg' />
</figure>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;front&gt;</name>
<t>
The &lt;front&gt; element is either generated from the author information in the document header or copied from a docinfo file.
</t>
<t>
The &lt;front&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
</section>
<section>
<name>&lt;iref&gt;</name>
<t>
The &lt;iref&gt; element is generated either from an indexterm inline macro or from an indexterm block macro extension.
</t>
<t>
The indexterm block macro is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[Text with an (((test))) index.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
Text with an <iref item='test' /> index.
</t>]]></sourcecode></li>
</ul>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[indexterm::[test]]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<iref item='test'/>]]></sourcecode></li>
</ul>
<section>
<name>"item" Attribute</name>
<t>
The &lt;iref&gt; "item" attribute is generated from the positional attribute of the index term.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[Text with an (((test))) index.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
Text with an <iref item='test' /> index.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"primary" Attribute</name>
<t>
The &lt;iref&gt; "primary" attribute is generated from the primary attribute of the index term.
</t>
<t>
The primary indexterm block macro attribute is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[Text with an (((test,,primary=true))) index.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
Text with an <iref item='test' subitem='' /> index.
</t>]]></sourcecode></li>
</ul>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[indexterm::[test,primary=true]]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<iref item='test' primary='true'/>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"subitem" Attribute</name>
<t>
The &lt;iref&gt; "subitem" attribute is generated from the secondary attribute of the index term.
</t>
<t>
The secondary indexterm block macro attribute is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[Text with an (((test,test2))) index.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
Text with an <iref item='test' subitem='test2' /> index.
</t>]]></sourcecode></li>
</ul>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[indexterm::[test,test2]]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<iref item='test' subitem='test2'/>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;keyword&gt;</name>
<t>
The &lt;keyword&gt; element inside a &lt;front&gt; element is copied from a docinfo file.
</t>
<t>
The &lt;keyword&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
</section>
<section>
<name>&lt;li&gt;</name>
<t>
The &lt;li&gt; element is generated from a line in either an unordered or an ordered list.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[. One line]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ol>
<li>One line</li>
</ol>]]></sourcecode></li>
</ul>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[* One line]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ul>
<li>One line</li>
</ul>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;li&gt; "anchor" attribute is generated from the ID of a list item, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[. [[id13]]test]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ol>
<li anchor='id13'>test</li>
</ol>]]></sourcecode></li>
</ul>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[* [[id14]]test]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ul>
<li anchor='id14'>test</li>
</ul>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;link&gt;</name>
<t>
The &lt;link&gt; element is provided in the docinfo file.
</t>
</section>
<section>
<name>&lt;middle&gt;</name>
<t>
The &lt;middle&gt; element is implicitly generated.
</t>
</section>
<section>
<name>&lt;name&gt;</name>
<t>
The &lt;name&gt; element is generated from the title in either a section, an example block with figure style, or a table block.
</t>
<t>
The possibility of using formatted text in an example block with figure style title or in a table title is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[== section]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<section numbered='false'>
<name>section</name>

</section>]]></sourcecode></li>
</ul>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[.title
[figure]
====
....
ASCII Art.
....
====]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<figure>
<name>title</name>
<artwork><![CDATA[ASCII Art]]]]><![CDATA[></artwork>
</figure>]]></sourcecode></li>
</ul>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[.title
|===
| Test
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table>
<name>title</name>
<tbody><tr><td align='left'>Test</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
</section>
<section>
<name>&lt;note&gt;</name>
<t>
The &lt;note&gt; element inside a &lt;front&gt; element is either generated from the revremark document header or copied from a docinfo file.
</t>
<t>
The &lt;note&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
</section>
<section>
<name>&lt;ol&gt;</name>
<t>
The &lt;ol&gt; element is generated from an ordered list.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[. One line]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ol>
<li>One line</li>
</ol>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;ol&gt; "anchor" attribute is generated from the ID of a ordered list, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[[id15]]
. test]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ol anchor='id15'>
<li>test</li>
</ol>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"group" Attribute</name>
<t>
The &lt;ol&gt; "group" attribute is generated from the group attribute of a ordered list, if present.
</t>
<t>
The group attribute on an ordered list is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[group=2]
. test]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ol group='2'>
<li>test</li>
</ol>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"indent" Attribute</name>
<t>
The &lt;ol&gt; "indent" attribute is generated from the indent attribute of an ordered list, if present.
</t>
<t>
The indent attribute on an ordered list is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[indent=2]
. test]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ol indent='2'>
<li>test</li>
</ol>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"spacing" Attribute</name>
<t>
The &lt;ol&gt; "spacing" attribute is generated from the spacing attribute of an ordered list, if present.
</t>
<t>
The spacing attribute on an ordered list is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[spacing=true]
. test]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ol spacing='true'>
<li>test</li>
</ol>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"start" Attribute</name>
<t>
The &lt;ol&gt; "start" attribute is generated from the start attribute of an ordered list, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[start=0]
. test]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ol start='0'>
<li>test</li>
</ol>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"type" Attribute</name>
<t>
The &lt;ol&gt; "type" attribute is generated from the style of an ordered list, if present.
</t>
<t>
The prefix and suffix types are used to generate a "type" attribute that uses the "percent-letter" format.
The prefix and suffix attributes on an ordered list are extensions to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[lowerroman]
. test]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ol type='i'>
<li>test</li>
</ol>]]></sourcecode></li>
</ul>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[arabic,prefix="[REQ",suffix="]"]
. test]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ol type='[REQ%d]'>
<li>test</li>
</ol>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;organization&gt;</name>
<t>
The &lt;organization&gt; element inside a &lt;front&gt; element is copied from a docinfo file.
</t>
<t>
The &lt;organization&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
<t>
The &lt;organization&gt; element can also be used inside an &lt;author&gt; element in a passthrough block in a section.
</t>
</section>
<section>
<name>&lt;phone&gt;</name>
<t>
The &lt;phone&gt; element inside a &lt;front&gt; element is copied from a docinfo file.
</t>
<t>
The &lt;phone&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
<t>
The &lt;phone&gt; element can also be used inside an &lt;author&gt; element in a passthrough block in a section.
</t>
</section>
<section>
<name>&lt;postal&gt;</name>
<t>
The &lt;postal&gt; element inside a &lt;front&gt; element is copied from a docinfo file.
</t>
<t>
The &lt;postal&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
<t>
The &lt;postal&gt; element can also be used inside an &lt;author&gt; element in a passthrough block in a section.
</t>
</section>
<section>
<name>&lt;postalLine&gt;</name>
<t>
The &lt;postalLine&gt; element inside a &lt;front&gt; element is copied from a docinfo file.
</t>
<t>
The &lt;postalLine&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
<t>
The &lt;postalLine&gt; element can also be used inside an &lt;author&gt; element in a passthrough block in a section.
</t>
</section>
<section>
<name>&lt;refcontent&gt;</name>
<t>
The &lt;refcontent&gt; element can be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
</section>
<section>
<name>&lt;reference&gt;</name>
<t>
The &lt;reference&gt; element is provided in a passthrough block in the bibliography.
</t>
</section>
<section>
<name>&lt;referencegroup&gt;</name>
<t>
The &lt;referencegroup&gt; element is provided in a passthrough block in the bibliography.
</t>
</section>
<section>
<name>&lt;references&gt;</name>
<t>
The &lt;references&gt; element is generated from an unordered list in a bibliography section.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[bibliography]
== References

* [[[id16]]]
+
++++
<reference anchor="id16">
</reference>
++++]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<back>

<references>
<name>References</name>
<reference anchor="id16">
</reference>
</references>
</back>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;references&gt; "anchor" attribute is generated from the ID of an unordered list in a bibliographic section, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[[id17]]
[bibliography]
== References]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<back>

<references anchor='id17'>
</references>
</back>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;rfc&gt;</name>
<t>
The &lt;rfc&gt; element is generated by a top level section:
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[= Title]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<rfc category='info' docName='test' ipr='trust200902'
tocInclude='false' version='3'>]]></sourcecode></li>
</ul>
<section>
<name>"category" Attribute</name>
<t>
The &lt;rfc&gt; "category" attribute is generated from the category document header attribute.
</t>
<t>
The category attribute on a document header is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[= Title
:category: std]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<rfc category='std' docName='test' ipr='trust200902'
tocInclude='false' version='3'>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"consensus" Attribute</name>
<t>
The &lt;rfc&gt; "consensus" attribute is generated from the consensus document header attribute.
</t>
<t>
The consensus attribute on a document header is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[= Title
:consensus: true]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<rfc category='info' consensus='true' docName='test'
ipr='trust200902' tocInclude='false' version='3'>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"docName" Attribute</name>
<t>
The &lt;rfc&gt; "docName" attribute is generated from the doc-name document header attribute.
</t>
<t>
The doc-name attribute on a document header is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[= Title
:doc-name: draft-petithuguenin-ex-00]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<rfc category='info' docName='draft-petithuguenin-ex-00'
ipr='trust200902' tocInclude='false' version='3'>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"indexInclude" Attribute</name>
<t>
The &lt;rfc&gt; "indexInclude" attribute is generated from the "index-include" document header attribute if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[= Title
:index-include: false]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<rfc category='info' docName='test' indexInclude='false'
ipr='trust200902' tocInclude='false' version='3'>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"ipr" Attribute</name>
<t>
The &lt;rfc&gt; "ipr" attribute is generated from the "ipr" document header attribute if present, or with the "trust200902" content if not present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[= Title
:ipr: noModificationTrust200902]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<rfc category='info' docName='test'
ipr='noModificationTrust200902'
tocInclude='false' version='3'>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"iprExtract" Attribute</name>
<t>
Specific to RFC, so not implemented.
</t>
</section>
<section>
<name>"number" Attribute</name>
<t>
Specific to RFC, so not implemented.
</t>
</section>
<section>
<name>"obsoletes" Attribute</name>
<t>
The &lt;rfc&gt; "obsoletes" attribute is generated from the "obsoletes" document header attribute if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[= Title
:obsoletes: 3261,3262,3263,3264]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<rfc category='info' docName='test' ipr='trust200902'
obsoletes='3261,3262,3263,3264'
tocInclude='false' version='3'>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"prepTime" Attribute</name>
<t>
Specific to RFC, so not implemented.
</t>
</section>
<section>
<name>"seriesNo" Attribute</name>
<t>
Specific to RFC, so not implemented.
</t>
</section>
<section>
<name>"sortRefs" Attribute</name>
<t>
The &lt;rfc&gt; "sortRefs" attribute is generated from the "sort-refs" document header attribute if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[= Title
:sort-refs: true]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<rfc category='info' docName='test' ipr='trust200902'
sortRefs='true'
tocInclude='false' version='3'>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"submissionType" Attribute</name>
<t>
The &lt;rfc&gt; "submissionType" attribute is generated from the "submission-type" document header attribute if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[= Title
:submission-type: independent]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<rfc category='info' docName='test' ipr='trust200902'
submissionType='independent'
tocInclude='false' version='3'>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"symRefs" Attribute</name>
<t>
The &lt;rfc&gt; "symRefs" attribute is generated from the "sym-refs" document header attribute if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[= Title
:sym-refs: false]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<rfc category='info' docName='test' ipr='trust200902'
symRefs='false'
tocInclude='false' version='3'>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"tocDepth" Attribute</name>
<t>
The &lt;rfc&gt; "tocDepth" attribute is generated from the "toclevels" document header attribute if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[= Title
:toclevels: 4]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<rfc category='info' docName='test' ipr='trust200902'
tocDepth='4'
tocInclude='false' version='3'>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"tocInclude" Attribute</name>
<t>
The &lt;rfc&gt; "tocInclude" attribute with a value of "false" is generated from the "toc" document header attribute if not present, or a value of "true" if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[= Title
:toc:]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<rfc category='info' docName='test' ipr='trust200902'
tocInclude='true' version='3'>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"updates" Attribute</name>
<t>
The &lt;rfc&gt; "updates" attribute is generated from the "updates" document header attribute if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[= Title
:updates: 3261,3262,3263,3264]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<rfc category='info' docName='test' ipr='trust200902'
updates='3261,3262,3263,3264'
tocInclude='false' version='3'>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"version" Attribute</name>
<t>
The &lt;rfc&gt; "version" attribute is implicitly generated.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[= Title]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode type='xml'><![CDATA[<rfc category='info' docName='test' ipr='trust200902'
tocInclude='false' version='3'>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;section&gt;</name>
<t>
The &lt;section&gt; attribute is generated from a document section.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[== Section 1]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<section numbered='false'>
<name>Section 1</name>

</section>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;section&gt; "anchor" attribute is generated from section ID, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[[id18]]
== Section 1]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<section anchor='id18' numbered='false'>
<name>Section 1</name>

</section>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"numbered" Attribute</name>
<t>
The &lt;section&gt; "numbered" attribute is generated from the current value of the sectnums attribute.
Note that AsciiDoc standards sections are unnumbered by default, but xml2rfc sections are numbered by default, so a ":sectnums:" attribute should be added to the document header.
</t>
<t>
Each AsciiDoc special sections with style "appendix" that needs to be unnumbered needs to be preceded with the attribute ":sectnums!".
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[:sectnums!:

== Section 1]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<section numbered='false'>
<name>Section 1</name>

</section>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"removeInRfc" Attribute</name>
<t>
The &lt;section&gt; "removeInRfc" attribute is generated from the remove-in-rfc section attribute.
</t>
<t>
The remove-in-rfc attribute on a section is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[remove-in-rfc=true]
== Section 1]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<section numbered='false' removeInRFC='true'>
<name>Section 1</name>

</section>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"toc" Attribute</name>
<t>
The &lt;section&gt; "toc" attribute is generated from the section attribute "toc".
</t>
<t>
The toc attribute on a section is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[toc=exclude]
== Section 1]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<section numbered='false' toc='exclude'>
<name>Section 1</name>

</section>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;seriesInfo&gt;</name>
<t>
The &lt;seriesInfo&gt; element inside a &lt;front&gt; element is copied from a docinfo file.
</t>
<t>
The &lt;seriesInfo&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
</section>
<section>
<name>&lt;sourcecode&gt;</name>
<t>
The &lt;sourcecode&gt; element is generated from a listing block with the source style.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[source]
----
class Test {}
----]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<sourcecode><![CDATA[class Test {}]]]]><![CDATA[></sourcecode>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;sourcecode&gt; "anchor" attribute is generated from the ID of a listing block with source style, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[[id19]]
[source]
----
class Test {}
----]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<sourcecode anchor='id19'><![CDATA[class Test {}]]]]><![CDATA[></sourcecode>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"markers" Attribute</name>
<t>
The &lt;sourcecode&gt; "markers" attribute is generated from the markers attribute of a listing block with source style, if present.
</t>
<t>
The markers attribute on a listing block with source style is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[source,markers=true]
----
class Test {}
----]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<sourcecode markers='true'><![CDATA[class Test {}]]]]><![CDATA[></sourcecode>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"name" Attribute</name>
<t>
The &lt;sourcecode&gt; "name" attribute is generated from the name attribute of a listing block with source style, if present.
</t>
<t>
The name attribute on a listing block with source style is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[source,name=Test.java]
----

class Test {}

----]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<sourcecode name='Test.java'><![CDATA[
class Test {}
]]]]><![CDATA[></sourcecode>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"src" Attribute</name>
<t>
The &lt;sourcecode&gt; "src" attribute is generated from the src attribute of a listing block with source style, if present.
</t>
<t>
The src attribute on a listing block with source style is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[source,src=Test.java]
----
----]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<sourcecode src='Test.java' />]]></sourcecode></li>
</ul>
</section>
<section>
<name>"type" Attribute</name>
<t>
The &lt;sourcecode&gt; "type" attribute is generated from the positional attribute of a listing block with source style, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[source,java]
----
class Test {}
----]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<sourcecode type='java'><![CDATA[class Test {}]]]]><![CDATA[></sourcecode>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;stream&gt;</name>
<t>
The &lt;stream&gt; element inside a &lt;front&gt; element is copied from a docinfo file.
</t>
<t>
The &lt;stream&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
</section>
<section>
<name>&lt;strong&gt;</name>
<t>
The &lt;strong&gt; element is generated from a bold text formatting.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[**Strong** text.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
<strong>Strong</strong> text.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>&lt;sub&gt;</name>
<t>
The &lt;sub&gt; element is generated from a subscript text formatting.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[Base~16~.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
Base<sub>16</sub>.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>&lt;sup&gt;</name>
<t>
The &lt;sup&gt; element is generated from a superscript text formatting.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[E = mc^2^]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
E = mc<sup>2</sup>
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>&lt;t&gt;</name>
<t>
The &lt;t&gt; element is generated from a paragraph.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[Some text.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
Some text.
</t>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;t&gt; "anchor" attribute is generated from the ID of a paragraph, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[[id20]]
Some text.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t anchor='id20'>
Some text.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"indent" Attribute</name>
<t>
The &lt;t&gt; "indent" attribute is generated from the indent attribute of a paragraph, if present.
</t>
<t>
The indent attribute on a paragraph is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[ident=3]
Some text.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t indent='3'>
Some text.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"keepWithNext" Attribute</name>
<t>
The &lt;t&gt; "keepWithNext" attribute is generated from the keep-with-next attribute of a paragraph, if present.
</t>
<t>
The keep-with-next attribute on a paragraph is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[keep-with-next=true]
Some text.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t keepWithNext='true'>
Some text.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"keepWithPrevious" Attribute</name>
<t>
The &lt;t&gt; "keepWithPrevious" attribute is generated from the keep-with-previous attribute of a paragraph, if present.
</t>
<t>
The keep-with-previous attribute on a paragraph is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[keep-with-previous=true]
Some text.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t keepWithPrevious='true'>
Some text.
</t>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;table&gt;</name>
<t>
The &lt;table&gt; element is generated from a table.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[|===
| Cell
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table>
<tbody><tr><td align='left'>Cell</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
<section>
<name>"align" Attribute</name>
<t>
The &lt;table&gt; "align" attribute is generated from the ID of a table, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[align=left]
|===
| Cell
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table align='left'>
<tbody><tr><td align='left'>Cell</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;table&gt; "anchor" attribute is generated from the ID of a table, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[[id21]]
|===
| Cell
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table anchor='id21'>
<tbody><tr><td align='left'>Cell</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;tbody&gt;</name>
<t>
The &lt;tbody&gt; element is generated from a table with rows.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[|===
| Cell
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table>
<tbody><tr><td align='left'>Cell</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;tbody&gt; anchor attribute cannot be generated.
</t>
</section>
</section>
<section>
<name>&lt;td&gt;</name>
<t>
The &lt;td&gt; element is generated from a table with at least one cell.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[|===
| Cell
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table>
<tbody><tr><td align='left'>Cell</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
<section>
<name>"align" Attribute</name>
<t>
The &lt;td&gt; "align" attribute is generated from the horizontal alignment operator of a cell in a table, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[|===
|> Cell
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table>
<tbody><tr><td align='left'>&gt; Cell</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;td&gt; anchor attribute cannot be generated.
</t>
</section>
<section>
<name>"colspan" Attribute</name>
<t>
The &lt;td&gt; "colspan" attribute is generated from the horizontal alignment operator of a cell in a table, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[|===
| Cell
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table>
<tbody><tr><td align='left'>Cell</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"rowspan" Attribute</name>
<t>
The &lt;td&gt; "rowspan" attribute is generated from the horizontal alignment operator of a cell in a table, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[|===
| Cell
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table>
<tbody><tr><td align='left'>Cell</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;tfoot&gt;</name>
<t>
The &lt;tfoot&gt; element is generated from a table with footer.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[%footer]
|===

| Cell

| Footer
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table>
<tbody><tr><td align='left'>Cell</td></tr></tbody>
<tfoot><tr><td align='left'>Footer</td></tr></tfoot>
</table>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;tfoot&gt; anchor attribute cannot be generated.
</t>
</section>
</section>
<section>
<name>&lt;th&gt;</name>
<t>
The &lt;th&gt; element is generated from a table with at least one cell.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[|===
| Cell
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table>
<tbody><tr><td align='left'>Cell</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
<section>
<name>"align" Attribute</name>
<t>
The &lt;th&gt; "align" attribute is generated from the horizontal alignment operator of a cell in a table, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[|===
|> Cell
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table>
<tbody><tr><td align='left'>&gt; Cell</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;th&gt; anchor attribute cannot be generated.
</t>
</section>
<section>
<name>"colspan" Attribute</name>
<t>
The &lt;th&gt; "colspan" attribute is generated from the horizontal alignment operator of a cell in a table, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[|===
| Cell
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table>
<tbody><tr><td align='left'>Cell</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"rowspan" Attribute</name>
<t>
The &lt;th&gt; "rowspan" attribute is generated from the horizontal alignment operator of a cell in a table, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[|===
| Cell
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table>
<tbody><tr><td align='left'>Cell</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;thead&gt;</name>
<t>
The &lt;thead&gt; element is generated from a table with header.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[%header]
|===
| Header

| Cell
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table>
<thead><tr><td align='left'>Header</td></tr></thead>
<tbody><tr><td align='left'>Cell</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;tfoot&gt; anchor attribute cannot be generated.
</t>
</section>
</section>
<section>
<name>&lt;title&gt;</name>
<t>
The &lt;title&gt; element and its attributes are provided in the docinfo file or in a passthrough block containing a top &lt;reference&gt; element.
</t>
</section>
<section>
<name>&lt;toc&gt;</name>
<t>
The &lt;toc&gt; element is provided in the docinfo file.
</t>
</section>
<section>
<name>&lt;tr&gt;</name>
<t>
The &lt;tr&gt; element is generated from a table with rows.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[|===
| Cell
|===]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<table>
<tbody><tr><td align='left'>Cell</td></tr></tbody>
</table>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;tr&gt; anchor attribute cannot be generated.
</t>
</section>
</section>
<section>
<name>&lt;tt&gt;</name>
<t>
The &lt;tt&gt; element is generated from a monospace text formatting.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[The function ``main()``]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
The function <tt>main()</tt>
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>&lt;u&gt;</name>
<t>
The &lt;u&gt; element is generated from an u inline macro.
</t>
<t>
The inline macro is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[This is u:[test]]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
This is <u>test</u>
</t>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;u&gt; "anchor" attribute is generated from the ID of a u inline macro, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[This is u:[test,id=id26]]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
This is <u anchor='id26'>test</u>
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"ascii" Attribute</name>
<t>
The &lt;u&gt; "ascii" attribute is generated from the ascii attribute of a u inline macro, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[This is u:[test,ascii=test]]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
This is <u ascii='test'>test</u>
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"format" Attribute</name>
<t>
The &lt;u&gt; "format" attribute is generated from the format attribute of a u inline macro, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[This is u:[test,format=lit-num-name]]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
This is <u format='lit-num-name'>test</u>
</t>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;ul&gt;</name>
<t>
The &lt;ul&gt; element is generated from an unordered list.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[* One line]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ul>
<li>One line</li>
</ul>]]></sourcecode></li>
</ul>
<section>
<name>"anchor" Attribute</name>
<t>
The &lt;ul&gt; "anchor" attribute is generated from the ID of an unordered list, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[[id27]]
* test]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ul anchor='id27'>
<li>test</li>
</ul>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"bare" Attribute</name>
<t>
The &lt;ul&gt; "bare" attribute is generated from the unstyled style on an unordered list, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[unstyled]
* test]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ul bare='true' empty='true'>
<li>test</li>
</ul>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"empty" Attribute</name>
<t>
The &lt;ul&gt; "empty" attribute is generated from the no-bullet style on an unordered list, if present.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[no-bullet]
* test]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ul empty='true'>
<li>test</li>
</ul>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"indent" Attribute</name>
<t>
The &lt;ul&gt; "indent" attribute is generated from the indent attribute on an unordered list, if present.
</t>
<t>
The indent attribute on am unordered is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[indent=3]
* test]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ul indent='3'>
<li>test</li>
</ul>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"spacing" Attribute</name>
<t>
The &lt;ul&gt; "spacing" attribute is generated from the spacing attribute on an unordered list, if present.
</t>
<t>
The spacing attribute on an unordered list is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[[spacing=compact]
* test]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<ul spacing='compact'>
<li>test</li>
</ul>]]></sourcecode></li>
</ul>
</section>
</section>
<section>
<name>&lt;uri&gt;</name>
<t>
The &lt;uri&gt; element inside a &lt;front&gt; element is copied from a docinfo file.
</t>
<t>
The &lt;uri&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
<t>
The &lt;uri&gt; element can also be used inside an &lt;author&gt; element in a passthrough block in a section.
</t>
</section>
<section>
<name>&lt;workgroup&gt;</name>
<t>
The &lt;workgroup&gt; element inside a &lt;front&gt; element is copied from a docinfo file.
</t>
<t>
The &lt;workgroup&gt; element can also be used inside a &lt;reference&gt; element in a passthrough block in the bibliography.
</t>
<t>
The &lt;workgroup&gt; element can also be used inside an &lt;author&gt; element in a passthrough block in a section.
</t>
</section>
<section>
<name>&lt;xref&gt;</name>
<t>
The &lt;xref&gt; element is generated from a cross-reference.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[As described in <<RFC7991>>.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
As described in <xref target='RFC7991' />.
</t>]]></sourcecode></li>
</ul>
<section>
<name>"format" Attribute</name>
<t>
The &lt;xref&gt; "format" attribute is generated from the format attribute in a cross reference, if present.
</t>
<t>
The format attribute on a cross reference is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[As described in <<RFC7991,format=counter>>.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
As described in <xref target='RFC7991' format='counter'></xref>.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"relative" Attribute</name>
<t>
The &lt;xref&gt; "relative" attribute is generated from the relative attribute in a cross reference, if present.
</t>
<t>
The relative attribute on a cross reference is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[As described in <<RFC7991,relative=#rel>>.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
As described in <xref target='RFC7991' relative='#rel'></xref>.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"section" Attribute</name>
<t>
The &lt;xref&gt; "section" attribute is generated from the section attribute in a cross reference, if present.
</t>
<t>
The section attribute on a cross reference is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[As described in <<RFC7991,section=id28>>.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
As described in <xref target='RFC7991' section='id28'></xref>.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"sectionFormat" Attribute</name>
<t>
The &lt;xref&gt; "sectionFormat" attribute is generated from the section-format attribute in a cross reference, if present.
</t>
<t>
The section-format attribute on a cross reference is an extension to standard AsciiDoc.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[As described in
<<RFC7991,section-format=comma>>.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
As described in
<xref target='RFC7991' sectionFormat='comma'></xref>.
</t>]]></sourcecode></li>
</ul>
</section>
<section>
<name>"target" Attribute</name>
<t>
The &lt;xref&gt; "target" attribute is generated from the target in a cross reference.
</t>
<t>
The following example
</t>
<ul empty='true'>
<li><sourcecode type='asciidoc'><![CDATA[As described in <<RFC7991>>.]]></sourcecode></li>
</ul>
<t>
is converted to
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[<t>
As described in <xref target='RFC7991' />.
</t>]]></sourcecode></li>
</ul>
</section>
</section>
</section>






</middle>
<back>
















<references>
<name>Informative References</name>
<reference anchor="draft-petithuguenin-rfc-ontology" target="https://datatracker.ietf.org/doc/draft-petithuguenin-rfc-ontology/04">
  <front>
<title>An Ontology for RFCs</title>
<author fullname="Marc Petit-Huguenin"><address><email>marc@petit-huguenin.org</email></address></author>
<date day="22" month="Jan" year="2024"/>
</front>
  <seriesInfo name="Internet-Draft" value="draft-petithuguenin-rfc-ontology-04"/>
</reference>
<reference anchor='AsciiDoc' target='https://en.wikipedia.org/wiki/AsciiDoc/'>
  <front>
    <title>AsciiDoc</title>
    <author surname='Unknown' />
    <date year='2021' month='March' day='8' />
    <abstract>
      <t>
AsciiDoc is a human-readable document format, semantically equivalent to DocBook XML, but using plain-text mark-up conventions. AsciiDoc documents can be created using any text editor and read “as-is”, or rendered to HTML or any other format supported by a DocBook tool-chain, i.e. PDF, TeX, Unix manpages, e-books, slide presentations, etc. Common file extensions for AsciiDoc files are txt(as encouraged by AsciiDoc&apos;s creator) and adoc.
      </t>
    </abstract>
  </front>
  <refcontent>Accessed 23 April 2021</refcontent>
</reference>
<reference anchor='RFC7991' target='https://datatracker.ietf.org/doc/rfc7991'>
  <front>
    <title>The &quot;xml2rfc&quot; Version 3 Vocabulary</title>
    <author initials='P. E.' surname='Hoffman' fullname='Paul E. Hoffman' />
    <date year='2016' month='December' />
    <abstract>
      <t>
This document defines the &quot;xml2rfc&quot; version 3 vocabulary: an XML-based language used for writing RFCs and Internet-Drafts. It is heavily derived from the version 2 vocabulary that is also under discussion. This document obsoletes the v2 grammar described in RFC 7749.
      </t>
    </abstract>
  </front>
  <seriesInfo name='RFC' value='7991'/>
  <seriesInfo name='DOI' value='10.17487/RFC7991' />
  <refcontent>Accessed 1 January 2023</refcontent>
</reference>
<reference anchor='Zotero' target='https://www.zotero.org/'>
  <front>
    <title>Zotero | Your personal research assistant</title>
    <author><organization>Corporation for Digital Scholarship</organization></author>
  </front>
  <refcontent>Accessed 20 January 2023</refcontent>
</reference>
<reference anchor='WebPortionStyle' target='https://www.rfc-editor.org/styleguide/part2/'>
  <front>
    <title>Web Portion of the Style Guide » RFC Editor</title>
    <author surname='Unknown' />
  </front>
  <refcontent>Accessed 29 January 2023</refcontent>
</reference>
<reference anchor='RFC7322' target='https://www.rfc-editor.org/info/rfc7322'>
  <front>
    <title>RFC Style Guide</title>
    <author initials='H.' surname='Flanagan' fullname='H. Flanagan' />
    <author initials='S.' surname='Ginoza' fullname='S. Ginoza' />
    <date year='2014' month='September' />
    <abstract>
      <t>
This document describes the fundamental and unique style conventions and editorial policies currently in use for the RFC Series.  It captures the RFC Editor&apos;s basic requirements and offers guidance regarding the style and structure of an RFC.  Additional guidance is captured on a website that reflects the experimental nature of that guidance and prepares it for future inclusion in the RFC Style Guide.  This document obsoletes RFC 2223, &quot;Instructions to RFC Authors&quot;.
      </t>
    </abstract>
  </front>
  <seriesInfo name='RFC' value='7322'/>
  <seriesInfo name='DOI' value='10.17487/RFC7322' />
</reference>
<reference anchor='BetterBibTeX' target='https://retorque.re/zotero-better-bibtex/'>
  <front>
    <title>Better BibTeX for Zotero :: Better BibTeX for Zotero</title>
    <author surname='Unknown' />
  </front>
  <refcontent>Accessed 29 January 2023</refcontent>
</reference>
<reference anchor='I-D.rswg-xml2rfcv3-implemented-02' target='https://datatracker.ietf.org/doc/draft-rswg-xml2rfcv3-implemented'>
  <front>
    <title>The &quot;xml2rfc&quot; version 3 Vocabulary as Implemented</title>
    <author initials='J. R.' surname='Levine' fullname='John R. Levine' />
    <author initials='P. E.' surname='Hoffman' fullname='Paul E. Hoffman' />
    <date year='2023' month='September' day='7' />
    <abstract>
      <t>
This document describes the &quot;xml2rfc&quot; version 3 vocabulary as implemented in xml2rfc tools at the time of publication. Editorial Note This note is to be removed before publishing as an RFC. Discussion of this draft takes place on the rswg@rfc-editor.org mailing list, which has its home pags at \textlesshttps://www.ietf.org/mailman/listinfo/rswg\textgreater. Source code and issues list for this draft can be found at \textlesshttps://github.com/jrlevine/draft-rswg-xml2rfcv3-implemented\textgreater.
      </t>
    </abstract>
  </front>
  <seriesInfo name='Internet-Draft' value='draft-rswg-xml2rfcv3-implemented'/>
</reference>

</references>
<references anchor='examples'>
<name>Example References</name>
<reference anchor='RFC3080' target='https://www.rfc-editor.org/info/rfc3080'>
  <front>
    <title>The Blocks Extensible Exchange Protocol Core</title>
    <author initials='M.' surname='Rose' fullname='M. Rose' />
    <date year='2001' month='March' />
    <abstract>
      <t>
This memo describes a generic application protocol kernel for connection-oriented, asynchronous interactions called the BEEP (Blocks Extensible Exchange Protocol) core. [STANDARDS-TRACK]
      </t>
    </abstract>
  </front>
  <seriesInfo name='RFC' value='3080'/>
  <seriesInfo name='DOI' value='10.17487/RFC3080' />
</reference>
<reference anchor='RFC6323' target='https://www.rfc-editor.org/info/rfc6323'>
  <front>
    <title>Sender RTT Estimate Option for the Datagram Congestion Control Protocol (DCCP)</title>
    <author initials='G.' surname='Renker' fullname='G. Renker' />
    <author initials='G.' surname='Fairhurst' fullname='G. Fairhurst' />
    <date year='2011' month='July' />
    <abstract>
      <t>
This document specifies an update to the round-trip time (RTT) estimation algorithm used for TFRC (TCP-Friendly Rate Control) congestion control by the Datagram Congestion Control Protocol (DCCP). It updates specifications for the CCID-3 and CCID-4 Congestion Control IDs of DCCP. The update addresses parameter-estimation problems occurring with TFRC-based DCCP congestion control. It uses a recommendation made in the original TFRC specification to avoid the inherent problems of receiver-based RTT sampling, by utilising higher-accuracy RTT samples already available at the sender. It is integrated into the feature set of DCCP as an end-to-end negotiable extension. [STANDARDS-TRACK]
      </t>
    </abstract>
  </front>
  <seriesInfo name='RFC' value='6323'/>
  <seriesInfo name='DOI' value='10.17487/RFC6323' />
</reference>
<reference anchor='RFC6429' target='https://www.rfc-editor.org/info/rfc6429'>
  <front>
    <title>TCP Sender Clarification for Persist Condition</title>
    <author initials='M.' surname='Bashyam' fullname='M. Bashyam' />
    <author initials='M.' surname='Jethanandani' fullname='M. Jethanandani' />
    <author initials='A.' surname='Ramaiah' fullname='A. Ramaiah' />
    <date year='2011' month='December' />
    <abstract>
      <t>
This document clarifies the Zero Window Probes (ZWPs) described in RFC 1122 (&quot;Requirements for Internet Hosts -- Communication Layers&quot;).  In particular, it clarifies the actions that can be taken on connections that are experiencing the ZWP condition.  Rather than making a change to the standard, this document clarifies what has been until now a misinterpretation of the standard as specified in RFC 1122.  This document is not an Internet Standards Track specification; it is published for informational purposes.
      </t>
    </abstract>
  </front>
  <seriesInfo name='RFC' value='6429'/>
  <seriesInfo name='DOI' value='10.17487/RFC6429' />
</reference>
<reference anchor='RFC7322bis' target='https://datatracker.ietf.org/doc/draft-flanagan-7322bis-07'>
  <front>
    <title>RFC Style Guide</title>
    <author role='editor' initials='J.' surname='Levine' fullname='John Levine' />
    <author initials='S.' surname='Ginoza' fullname='S. Ginoza' />
    <date year='2021' month='April' day='7' />
    <abstract>
      <t>
This document describes the fundamental and unique style conventions and editorial policies currently in use for the RFC Series. It captures the RFC Editor&apos;s basic requirements and offers guidance regarding the style and structure of an RFC. Additional guidance is captured on a website that reflects the experimental nature of that guidance and prepares it for future inclusion in the RFC Style Guide. This document obsoletes RFC 7322, &quot;RFC Style Guide&quot;.
      </t>
    </abstract>
  </front>
  <seriesInfo name='Internet-Draft' value='draft-flanagan-7322bis-07'/>
</reference>
<referencegroup anchor='STD13'>
<reference anchor='RFC1034' target='https://www.rfc-editor.org/info/rfc1034'>
  <front>
    <title>Domain names - concepts and facilities</title>
    <author initials='P.' surname='Mockapetris' fullname='P. Mockapetris' />
    <date year='1987' month='November' />
    <abstract>
      <t>
This RFC is the revised basic definition of The Domain Name System.  It obsoletes RFC-882.  This memo describes the domain style names and their used for host address look up and electronic mail forwarding.  It discusses the clients and servers in the domain name system and the protocol used between them.
      </t>
    </abstract>
  </front>
  <seriesInfo name='RFC' value='1034'/>
  <seriesInfo name='DOI' value='10.17487/RFC1034' />
</reference>
<reference anchor='RFC1035' target='https://www.rfc-editor.org/info/rfc1035'>
  <front>
    <title>Domain names - implementation and specification</title>
    <author initials='P.' surname='Mockapetris' fullname='P. Mockapetris' />
    <date year='1987' month='November' />
    <abstract>
      <t>
This RFC is the revised specification of the protocol and format used in the implementation of the Domain Name System.  It obsoletes RFC-883.  This memo documents the details of the domain name client - server communication.
      </t>
    </abstract>
  </front>
  <seriesInfo name='RFC' value='1035'/>
  <seriesInfo name='DOI' value='10.17487/RFC1035' />
</reference>
</referencegroup>
<referencegroup anchor='STD72'>
<reference anchor='RFC6409' target='https://www.rfc-editor.org/info/rfc6409'>
  <front>
    <title>Message Submission for Mail</title>
    <author initials='R.' surname='Gellens' fullname='R. Gellens' />
    <author initials='J.' surname='Klensin' fullname='J. Klensin' />
    <date year='2011' month='November' />
    <abstract>
      <t>
This memo splits message submission from message relay, allowing each service to operate according to its own rules (for security, policy, etc.), and specifies what actions are to be taken by a submission server. Message relay is unaffected, and continues to use SMTP over port 25. When conforming to this document, message submission uses the protocol specified here, normally over port 587. This separation of function offers a number of benefits, including the ability to apply specific security or policy requirements. [STANDARDS-TRACK]
      </t>
    </abstract>
  </front>
  <seriesInfo name='RFC' value='6409'/>
  <seriesInfo name='STD' value='72' />
  <seriesInfo name='DOI' value='10.17487/RFC6409' />
</reference>
</referencegroup>

</references>
<section anchor='cli'>
<name>Command Line Tool</name>
<t>
The "asciidoctor-xml" Ruby gem is distributed as a git repository that can be installed as follow:
</t>
<ul empty='true'>
<li><sourcecode type='bash'><![CDATA[git clone git://shalmaneser.org/sniElnixoip1 asciidoctor-xml2rfc
cd asciidoctor-xml2rfc
gem build asciidoctor-xml2rfc.gemspec
sudo gem install asciidoctor-xml2rfc-0.3.gem]]></sourcecode></li>
</ul>
<t>
Then an AsciiDoc file can be converted into an XML2RFC v3 file like this:
</t>
<sourcecode type='bash'><![CDATA[asciidoctor-xml2rfc mapping-xml2rfc-asciidoc.adoc]]></sourcecode>
<t>
Note that, if present, the value of the "doc-name" document header attribute will be used as the name of the output file.
This permits to keep the same file name but generate different versions by just changing the doc-name header.
</t>
<t>
The command will write the name of the generated file on the standard output, so it can be used to generate the final document:
</t>
<sourcecode type='bash'><![CDATA[xml2rfc -P --html --text \
  $(asciidoctor-xml2rfc mapping-xml2rfc-asciidoc.adoc)]]></sourcecode>
<t>
The "-P" option generates the text file without pagination, which permits to do a local diff between different versions of a draft (e.g., with the ":vert diffs &lt;previous-file&gt;" command in VIM).
</t>
</section>
<section>
<name>Build a Bibliography with Zotero</name>
<t>
The simplest way to build a bibliography is to use <xref target='Zotero' /> and the AsciiBib exporter provided in the git repository.
The <xref target='BetterBibTeX'>Better BibTex for Zotero</xref> add-on is needed to manage the citation keys for the bibliographic items exported.
</t>
<t>
First the "AsciiBib.js" file must be copied, or better symbolically linked, in the "data/translators" directory under the Zotero configuration directory (most likely "~/.zotero").
</t>
<t>
To build a bibliography for an Internet-Draft, first create a new collection in Zotero and add bibliographic items in it.
E.g., a collection named "mapping-xml2rfc-asciidoc" contains a sub-collection named "informative", which itself contains all the references for this document.
</t>
<t>
Bibliographic items can be created from scratch, scrapped from the Internet using web translators, or imported from an existing bibliography.
The git repository distributed with <xref target='draft-petithuguenin-rfc-ontology' /> contains a Zotero importer that can create the full collection of RFCs items in Zotero from the "rfc-index.xml" file.
</t>
<t>
A Zotero collection can then be converted into a AsciiBib file by right-clicking on it, choosing "Export Collection...", select the "AsciiBib" format, then finally the target directory.
This will create an AsciiDoc file that can be imported in a bibliography section:
</t>
<ul empty='true'>
<li><sourcecode><![CDATA[ include::examples.adoc[]]]></sourcecode></li>
</ul>
<t>
The Zotero exporter tries to export bibliographic items in a form that is as close as possible to the RFC Style guides <xref target='RFC7322' /> <xref target='WebPortionStyle' />.
The <xref target='examples' /> bibliography in this document shows examples of bibliographic items converted from Zotero:
</t>
<dl>
<dt>RFC with one author or editor: </dt><dd><xref target='RFC3080' /></dd><dt>RFC with two authors or editors: </dt><dd><xref target='RFC6323' /></dd><dt>RFC with three or more authors or editors: </dt><dd><xref target='RFC6429' /></dd><dt>STD or BCP that contains one RFC: </dt><dd><xref target='STD72' /></dd><dt>STD or BCP that contains two or more RFCs: </dt><dd><xref target='STD13' /></dd>
</dl>
<dl>
<dt>Internet-Draft: </dt><dd><xref target='RFC7322bis' /></dd>
</dl>
</section>
<section numbered='false'>
<name>Acknowledgments</name>
<t>
No technology that cannot explain its own results (LLM, AI/ML) have been involved in the creation of this document or its associated tooling.
</t>
</section>
<section numbered='false' removeInRFC='true'>
<name>Changelog</name>
<dl>
<dt>draft-petithuguenin-xml2rfc-asciidoc-03: </dt><dd><ul spacing='compact'>
<li><t>Document:</t><ul spacing='compact'>
<li>Upadte?</li>
</ul></li><li><t>Tooling:</t><ul spacing='compact'>
<li>?update</li>
</ul></li>
</ul></dd>
</dl>
<dl>
<dt>draft-petithuguenin-xml2rfc-asciidoc-02: </dt><dd><ul spacing='compact'>
<li><t>Document:</t><ul spacing='compact'>
<li>Update RFC 7991 successor reference.</li>
</ul></li><li><t>Tooling:</t><ul spacing='compact'>
<li>Process text in definition list items with attached blocks.</li>
</ul></li>
</ul></dd>
</dl>
<dl>
<dt>draft-petithuguenin-xml2rfc-asciidoc-01: </dt><dd><ul spacing='compact'>
<li><t>Document:</t><ul spacing='compact'>
<li>Add explanations for citation inclusion.</li><li>Add new appendix that explains how to use Zotero to generate a bibliography.</li>
</ul></li><li><t>Tooling:</t><ul spacing='compact'>
<li>Implemented citation extraction.</li><li>The name of the generated file is written on the standard output.</li><li>AsciiBib Zotero exporter.</li>
</ul></li>
</ul></dd>
</dl>
</section>
</back>
</rfc>