<?xml version='1.0'?>

<xsl:stylesheet 	xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>


<xsl:template match='/'>
	<xsl:apply-templates/>
</xsl:template>

<xsl:template match='script'>
	<xsl:element name='script'>
		<xsl:attribute name='lang'>JavaScript</xsl:attribute>
		<xsl:value-of select='.'/>
	</xsl:element>
</xsl:template>

<xsl:template match='*'>
	<xsl:copy>
		<xsl:for-each select='@*'>
			<xsl:attribute name='{name()}'>
				<xsl:value-of select='.'/>
			</xsl:attribute>
		</xsl:for-each>
		<xsl:apply-templates/>
	</xsl:copy>
</xsl:template>

</xsl:stylesheet>
