Differences
This shows you the differences between two versions of the page.
Next revision
|
Previous revision
|
sourcecode-types [2024/02/27 10:12] sginoza created |
sourcecode-types [2024/03/06 16:50] (current) sginoza |
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>. |
* 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). | * 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 |