Randy Presuhn wrote:
From: "Julian Reschke" <julian(_dot_)reschke(_at_)gmx(_dot_)de>
To: "Randy Presuhn" <randy_presuhn(_at_)mindspring(_dot_)com>
Cc: "IETF Discussion Mailing List" <ietf(_at_)ietf(_dot_)org>
Sent: Wednesday, July 15, 2009 10:13 AM
Subject: Re: Automatically updated Table of Contents with Nroff
And of course you can do that with xml2rfc as well; just automate the
process of converting the source file to something that can be included
into the XML source using the standard XML include mechanisms.
I couldn't find such mechanisms described anywhere the first time I used
I just looked at the W3C website XML pages, and still am unable to find them.
How does one do a simple ".so" or a "#include" in XML?
<http://xml.resource.org>, see under "Helpful Hints / Including Files".
That page also links to <http://tools.ietf.org/tools/templates/> with
templates. Look, for instance, at
In the XML spec, look for "external entities"
There are other inclusion mechanisms; xml2rfc supports a processing
don't like this one as it is specific to the xml2rfc processor).
And then, because it's XML, preprocessing is easy; such as with XInclude
mentioned by Marc Petit-Huguenin.
Hope this helps, Julian
Ietf mailing list