Sourcecode Types
This is a list of preferred values for the “type” attribute of the <sourcecode> element for use in XML files converted by xml2rfc. Note that this list is not comprehensive and can be expanded.
The “type” attribute of <sourcecode> specifies the type of the sourcecode as described in RFCXML vocabulary.
Send questions or comments to the mailing list xml2rfc@ietf.org.
abnf
asn.1
bash
c++
c
coap
cbor
cbor-diag
cbor-pretty
cddl
core-link-format
dns-rr
dtd
http-message
java
javascript
json
media types
Note: media types may be used as defined in the
IANA Media Types registry. The sourcecode type may include the media type alone (e.g., jsonpath) or the full path (e.g., application/jsonpath); one form should be used consistently within a document.
mib
perl
pkcs8
pkcs12
pseudocode
python
rbnf
rnc
rpsl
rust
sdp
shell
sieve
test-vectors
tls-presentation
x509
xdr
xml
xpath
yaml
yang
yang-instance-data+json
yangtree