diff options
| -rw-r--r-- | gentoobrowse/xslt/error.xslt | 9 | 
1 files changed, 5 insertions, 4 deletions
| diff --git a/gentoobrowse/xslt/error.xslt b/gentoobrowse/xslt/error.xslt index 3b3e79c..ac4a316 100644 --- a/gentoobrowse/xslt/error.xslt +++ b/gentoobrowse/xslt/error.xslt @@ -1,5 +1,6 @@  <?xml version="1.0" encoding="UTF-8" ?> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" +		xmlns:project2="http://project2.randomdan.homeip.net">  	<xsl:import href="base.xslt" />    <xsl:output  encoding="utf-8"  method="xml" media-type="text/html" indent="yes"      doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" @@ -12,12 +13,12 @@    <xsl:template name="content">    	<xsl:for-each select="/error">  			<h2>Error</h2> -			<h3><xsl:value-of select="/error/type" /></h3> -			<p><xsl:value-of select="/error/what" /></p> +			<h3><xsl:value-of select="/error/project2:error-type" /></h3> +			<p><xsl:value-of select="/error/project2:error-what" /></p>    	</xsl:for-each>    	<xsl:for-each select="/notfound">  			<h2>Not found</h2> -			<p>The resource at "<xsl:value-of select="/notfound/resource" />" could not be found.</p> +			<p>The resource at "<xsl:value-of select="/notfound/project2:missing-resource" />" could not be found.</p>    	</xsl:for-each>    </xsl:template>  </xsl:stylesheet> | 
