XSL stylesheet 3<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> |
<xsl:template match="/"> |
<xsl:apply-templates select="id('intro body end')"/> |
<!-- Why only intro is selected? Can anybody help?--> |
<P><xsl:value-of select="id('intro body end')"/></P> |
<P><xsl:value-of select="id('body end intro')"/></P> |
<P><xsl:value-of select="id('in bod end')"/></P> |
</xsl:template> |
<xsl:template match="*"> |
<P style="color:red"><xsl:value-of select="."/></P> |
</xsl:template> |
</xsl:stylesheet> |