[xml2rfc] shorter refs to i-ds

randy@psg.com (Randy Bush) Sun, 10 November 2002 23:34 UTC

From: randy@psg.com
Date: Sun, 10 Nov 2002 15:34:40 -0800
Subject: [xml2rfc] shorter refs to i-ds
References: <E18Ay4w-000AhW-00@rip.psg.com> <20021110132659.1369578a.mrose+internet.xml2rfc@dbc.mtview.ca.us>
Message-ID: <E18B1bE-000GHA-00@rip.psg.com>

> well, this is tricky, because the goal here is to provide a global
> bibliographic database, which means that we don't want the anchor to be
> conflict with something else.

understand.  but one can differentiate between how the document is
referenced and how the reference is displayed.

> - leave the anchor alone have the amount of indentation be specific
>   to each reference.

not pretty

> - provide a way of mapping the anchor strings within the main
>   document, e.g.,
>     <?rfc anchormap='%I-D\.ietf-(*)%\1%'?>
>   which would give you
>     [ipngwg-addr-arch-v3]  Gupta, M. ...

sure.  better.  or, to be grotty

   this is some document text which has an embedded reference
   <xref target="I-D.ietf-ipngwg-addr-arch-v3"></xref> in it.
...
<references>
  <?rfc include="reference.I-D.ietf-ipngwg-addr-arch-v3" label="foo" ?>
  </references>

producing

   [foo]    Gupta, M. and S. Deering, "IP Version 6 Addressing
	    Architecture", draft- ietf-ipngwg-addr-arch-v3-11 
	    (work in progress), October 2002.

randy