<TD><xsl:apply-templates select="RADIUS"/></TD>
<TD><xsl:apply-templates select="DAY"/></ТD>
</TR>
</xsl:template>
<xsl:template match="text()[starts-with(., 'E')]">
<xsl:text>(the World)</xsl:text>
</xsl:template>
<xsl:template match="NAME">
<xsl:value-of select="."/>
<xsl:text> </xsl:text>
<xsl:value-of select="@UNITS"/>
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="DAY">
<xsl:value-of select="."/>
<xsl:text> </xsl:text>
<xsl:value-of select="@UNITS"/>
</xsl:template>
</xsl:stylesheet>
А вот результат — заметьте, что заголовок для Земли стал "Earth (the World)":
<HTML>
<HEAD>
<TITLE>
The Planets Table
</TITLE>
</HEAD>
<BODY>