Re: [rfc-i] getting SVG of RFC diagrams

Paul Hoffman <> Thu, 23 November 2023 15:16 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id CA9E3C14CF15 for <>; Thu, 23 Nov 2023 07:16:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id ZNxkYknWNRXI for <>; Thu, 23 Nov 2023 07:16:46 -0800 (PST)
Received: from (Opus1.Proper.COM []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 70BEEC14F6EC for <>; Thu, 23 Nov 2023 07:16:46 -0800 (PST)
Received: from [] ( []) (authenticated bits=0) by (8.15.2/8.15.2) with ESMTPSA id 3ANFGiQR055214 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 23 Nov 2023 08:16:45 -0700 (MST) (envelope-from
X-Authentication-Warning: Host [] claimed to be []
From: Paul Hoffman <>
To: Michael Richardson <>
Date: Thu, 23 Nov 2023 07:16:43 -0800
X-Mailer: MailMate (1.14r5937)
Message-ID: <>
In-Reply-To: <310371.1700735021@dyas>
References: <310371.1700735021@dyas>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Archived-At: <>
Subject: Re: [rfc-i] getting SVG of RFC diagrams
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "A list for discussion of the RFC series and RFC Editor functions." <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 23 Nov 2023 15:16:50 -0000

On 23 Nov 2023, at 2:23, Michael Richardson wrote:

> The question is: how to make these SVG files more easily available from the
> HTML version of the RFC?

Pedantically, it is not an SVG file but instead is an SVG element of the HTML. The first figure in that RFC has the code:
         <div class="alignCenter art-svg artwork" id="section-3-2.1.1">
<svg xmlns="" version="1.1" height="416" width="560" viewBox="0 0 560 416" class="diagram" text-anchor="middle" font-family="monospace" font-size="13px">

A possible (and backwards-compatible!) solution would be to add an id to each SVG element, which would then be a hoverable link. I don't know if this in fact works; HTML experts here would. If it could work, please propose it for XMLRFCv3.1 over on the RSWG.

--Paul Hoffan