1<?xml version='1.0'?> 2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 3 xmlns:n="http://xmlsoft.org/" 4 exclude-result-prefixes="n" 5 version='1.0'> 6 7<xsl:variable name="var" select="/n:x" /> 8 9<xsl:template match="/"> 10 <root> 11 <xsl:value-of select="$var" /> 12 </root> 13</xsl:template> 14 15</xsl:stylesheet> 16 17