The page at http://www.w3.org/XML/ is
(as you would expect) perfect XML. The style sheet shown preserves all the
important features of this page.
Insert the following template - this will ensure that the base element
appears in the head element. It should allow your browser to find the
images and stylesheets for this page. (untick "show as text")
<xsl:template match="htm:head">
<xsl:element name="{name()}">
<base href="http://www.w3.org/XML"/>
<xsl:apply-templates select="@*"/>
<xsl:apply-templates/>
</xsl:element>
</xsl:template>
|
|