[rfc-i] Graphics and XML

Joe Hildebrand (jhildebr) jhildebr at cisco.com
Tue Jul 10 13:02:18 PDT 2012

On 7/10/12 10:59 AM, "Yoav Nir" <ynir at checkpoint.com> wrote:

>Or with inline graphics as Joe Hildebrand suggested (I've added the
>ellipsis. It's originally very long):
>          <figure id='nit-flow'>
>            <img 
>src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA...YII=' alt='A
>description of the diagram' width='236' height='176' />
>            <figcaption><a class='self-ref' href='#nit-flow'>Figure
>1.</a> Possible workflow for processing HTML RFCs</figcaption>
>          </figure>

It's no surprise, but I still think this approach works *very* well in
practice.  The one problem I had while producing that draft was I didn't
want to edit the doc that had the data: URI in it; that was cumbersome.
Therefore, I gave my tooling the --final option that allowed me to stream
an image into the document right before I submitted.  Until that point,
the doc just contains a URL (either relative or absolute).

Best of both worlds.

Joe Hildebrand

More information about the rfc-interest mailing list