Network Working Group M. Petit-Huguenin Internet-Draft Impedance Mismatch LLC Intended status: Informational 30 January 2023 Expires: 3 August 2023 Mappings Between XML2RFC v3 and AsciiDoc draft-petithuguenin-xml2rfc-asciidoc-01 Abstract 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. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on 3 August 2023. Copyright Notice Copyright (c) 2023 IETF Trust and the persons identified as the document authors. All rights reserved. Petit-Huguenin Expires 3 August 2023 [Page 1] Internet-Draft Mappings Between XML2RFC v3 and AsciiDoc January 2023 This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 5 2. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.1. Deprecated and Unsupported Elements . . . . . . . . . . . 7 2.2. Docinfo Processing . . . . . . . . . . . . . . . . . . . 7 2.3. Include Citation . . . . . . . . . . . . . . . . . . . . 8 3. Mappings . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4. Mapping between AsciiDoc and XML2RFC v3 . . . . . . . . . . . 8 4.1. . . . . . . . . . . . . . . . . . . . . . . . 8 4.1.1. "anchor" Attribute . . . . . . . . . . . . . . . . . 9 4.2.
. . . . . . . . . . . . . . . . . . . . . . . . 9 4.3. . . . . . . . . . . . . . . . . . . . . . . 9 4.4. . . . . . . . . . . . . . . . . . . . . . . . . . 9 4.5. . . . . . . . . . . . . . . . . . . . . . . . . 9 4.5.1. "anchor" Attribute . . . . . . . . . . . . . . . . . 10 4.6. . . . . . . . . . . . . . . . . . . . . . . . . 10 4.6.1. "align" Attribute . . . . . . . . . . . . . . . . . . 11 4.6.2. "alt" Attribute . . . . . . . . . . . . . . . . . . . 11 4.6.3. "anchor" Attribute . . . . . . . . . . . . . . . . . 12 4.6.4. "name" Attribute . . . . . . . . . . . . . . . . . . 12 4.6.5. "src" Attribute . . . . . . . . . . . . . . . . . . . 13 4.6.6. "type" Attribute . . . . . . . . . . . . . . . . . . 13 4.7.