[xml2rfc] Error traceback

fenner at gmail.com (Bill Fenner) Tue, 14 March 2006 17:20 UTC

From: "fenner at gmail.com"
Date: Tue, 14 Mar 2006 17:20:43 +0000
Subject: [xml2rfc] Error traceback
In-Reply-To: <1142363318.17936.12.camel@cdhcp139.pingtel.com>
References: <4414774D.4030408@dial.pipex.com> <1142192781.2561.6.camel@cdhcp139.pingtel.com> <44148413.3050007@dial.pipex.com> <1142287701.4729.38.camel@cdhcp139.pingtel.com> <441607FE.3070204@dial.pipex.com> <1142363318.17936.12.camel@cdhcp139.pingtel.com>
Message-ID: <ed6d469d0603141720v741d973eq7aa21b3a193b8ba6@mail.gmail.com>
X-Date: Tue Mar 14 17:20:43 2006

On 3/14/06, Dale R. Worley <dworley@pingtel.com> wrote:
> On Tue, 2006-03-14 at 00:02 +0000, Elwyn Davies wrote:
> > BTW Two points about the source below:
> > - If you are hand crafting references, you can omit the <format> element
> > - it is never displayed and is optional
>
> I assume <format> is used to generate a link in the HTML version, and
> some sort of pointer to the URL in the text version.  Else, what is it
> for?

Depends on what you mean by "never".  Try <format type="TXT"
target="http://foo/bar.txt"/> <format type="PDF"
target="http://foo/bar.pdf"/>.

It's only used for URL generation for the HTML version, and its use is
different depending on whether the <reference> itself has a target=,
and whether there are multiple <format>s.

  Bill