A handy little tool,
xml2rfc, will allow you to take your XML source (using the format defined in
RFC 7749, obsoleting
RFC 2629)
and see how the results look like in the original ASCII
look-and-feel or the new modern HTML rendition of that look-and-feel.
The RFC Editor team have put together an FAQ to help answer questions on xml2rfc and the v3 update, and Henrik has put together an introduction to the xml2rfc schema version 3.
There is a complete guide available to the currently-supported grammar and the xml2rfc command-line tool.
The v3 update to the xml2rfc language has been published. Continuing discussion on the v3 update are being held on the rfc-dev@ietf.org list. Additional tools relevant to the v3 work can be found on the experimental page. (General questions on RFC formats should be discussed on the rfc-interest@rfc-editor.org list.)
Documenation of what is implemented in the current version is now available, generated by the tool itself: xml2rfc-doc.html
The xml2rfc converter handles BOTH v2 and v3 input files.
Conversion |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Living on the edge? |
Here is the current development release. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
March 2013 release |
Major new xml2rfc features include:
Major new web features include:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Please note that the current version of xml2rfc produces boilerplate
text which is fully compliant with
the
latest IETF Trust Legal Provisions Document.
To generate the latest boilerplate, please use these settings in your .xml source file: in the <rfc /> element: use one of these attributes: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Citation Libraries |
The following citation libraries are generated periodically in a complete form, and may be downloaded in their entirety or individually.
rsync access is available at two independent servers (xml2rfc.ietf.org::xml2rfc.bibxml and xml2rfc.tools.ietf.org::xml2rfc.bibxml) — after you pick one, you shouldn't switch. For example, $ rsync -avuz xml2rfc.ietf.org::xml2rfc.bibxml/ ~/cit/
The following citation libraries are generated on demand when referenced, with a cache maintained for 24 hours.
Two entity files often used with RFCs and Internet-Drafts are rfc2629-xhtml.ent and rfc2629-other.ent. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Helpful Hints |
See the xml2rfc FAQ
for answers to common questions.
Normative ReferencesIf you need to have multiple references sections, try something like this: <back> That's right: the <references/> element may occur more than once in the back section, and has an optional 'title' attribute. Including filesUse the XML external entity mechanism, e.g., <?xml version='1.0'?> Note that this syntax is rather pedantic, i.e., you declare the entity toward the top of your file and then you invoke it exactly once (using an "&") in the <references/> element to include it. Take a look at this file, provided by Dan Kohn. In addition to showing a complete example, it also works with the XSL transformation written by Julian Reschke and the DTD. (Depending on the capabilities of your browser, instead of clicking on these links directly, you may want to download these three files using "Save Target As...") To try out this sample, you'll need to put all three files in the same directory. Also, note that some XSLT processors disable the use of external entities, you may need to check "Preferences" to see if there's an option to enable their use. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes for Authors |
Templates
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Advanced Conversions |
This version of the conversion form supports
all combinations and output formats that are currently available.
Note: NOT ALL COMBINATIONS WORK.
|
Questions? Try the mailing list.