ISO 639-2 specifies the form shown in the example below; xml:lang as specified in IETF RFC 3066 also takes cognizance of the capitalization rules in the ISO standards, but specifies a single hyphen and no space between the components of the code.