<html>
<div id="output"></div>
<xml id="myxml">
<RootNode>
<MyNode>MyNodeValue</MyNode>
</RootNode>
</xml>
<xml id="myxsl">
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<p><xsl:value-of select="MyNode"/></p>
</xsl:template>
</xsl:stylesheet>
</xml>
<script language="javascript">
document.all("output").innerHTML = myxml.documentElement.transFormNode(myxsl.documentElement);
</script>
</html>