Extracts an attribute of a literal result element and converts it into an
xsl:attribute
instruction.