[rfc-i] Embedding stuff (code, etc.) in RFCs
peter.sylvester at edelweb.fr
Fri Jul 12 10:00:18 PDT 2013
WEB literate programming as used for TeX together
with tangle and weave comes to my mind.
I used to add some xml comments to xml2rfc
files to indicate zones of code (asn.1) in this case.
A little preprocessor not only extracted the asn.1 but
combined the stuff and inserted it in an appendix as a
BTW: some of the htmlization tools transform  context
tags into some reference.
More information about the rfc-interest