Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision |
| sourcecode-types [2024/02/27 18:12] – created sginoza | sourcecode-types [2026/02/12 05:44] (current) – external edit 127.0.0.1 |
|---|
| 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. | 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. Per [[https://www.rfc-editor.org/rfc/rfc7991.html#section-2.48.4|RFC 7991]], "The value of this attribute is free text with certain values designated as preferred." See the [[https://authors.ietf.org/rfcxml-vocabulary#sourcecode|Sourcecode entry]] in the RFCXML vocabulary for details. | The "type" attribute of <sourcecode> specifies the type of the sourcecode as described in [[https://authors.ietf.org/rfcxml-vocabulary#sourcecode|RFCXML vocabulary]]. |
| |
| Send questions or comments to the mailing list <xml2rfc@ietf.org>. | Send questions or comments to the mailing list <xml2rfc@ietf.org>. |
| * abnf | * abnf |
| * asn.1 | * asn.1 |
| | * base64 |
| * bash | * bash |
| * c++ | * c++ |
| * javascript | * javascript |
| * json | * json |
| * media types\\ Note: media types may be used as defined in the [[https://www.iana.org/assignments/media-types|IANA Media Types registry]]. They may include the the media type and/or the full path (e.g., application/jsonpath). | * makefile\\ Note: Ideally includes a comment in the makefile indicating which flavor of make it's intended for (e.g., Gnu, BSD). |
| | * media types\\ Note: media types may be used as defined in the [[https://www.iana.org/assignments/media-types|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 | * mib |
| * perl | * perl |
| * rnc | * rnc |
| * rpsl | * rpsl |
| | * rust |
| * sdp | * sdp |
| * shell | * shell |
| | * sieve |
| * test-vectors | * test-vectors |
| * tls-presentation | * tls-presentation |
| * yaml | * yaml |
| * yang | * yang |
| | * yang-instance-data+json |
| * yangtree | * yangtree |