Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2012 19:14:16 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r40473 - in head: en_US.ISO8859-1/htdocs share/xml
Message-ID:  <201212241914.qBOJEGQE064358@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Mon Dec 24 19:14:15 2012
New Revision: 40473
URL: http://svnweb.freebsd.org/changeset/doc/40473

Log:
  Use <xhtml:base> to fix resolution of relative document URIs.

Modified:
  head/en_US.ISO8859-1/htdocs/4xx.xml
  head/share/xml/xhtml.xsl

Modified: head/en_US.ISO8859-1/htdocs/4xx.xml
==============================================================================
--- head/en_US.ISO8859-1/htdocs/4xx.xml	Mon Dec 24 17:40:30 2012	(r40472)
+++ head/en_US.ISO8859-1/htdocs/4xx.xml	Mon Dec 24 19:14:15 2012	(r40473)
@@ -9,6 +9,8 @@
     <title>&title;</title>
 
     <cvs:keyword xmlns:cvs="http://www.FreeBSD.org/XML/CVS">$FreeBSD$</cvs:keyword>;
+
+    <base href="/" />
   </head>
 
   <body class="navinclude.about">

Modified: head/share/xml/xhtml.xsl
==============================================================================
--- head/share/xml/xhtml.xsl	Mon Dec 24 17:40:30 2012	(r40472)
+++ head/share/xml/xhtml.xsl	Mon Dec 24 19:14:15 2012	(r40473)
@@ -37,6 +37,7 @@
     <html xmlns="http://www.w3.org/1999/xhtml">;
       <head>
 	<title><xsl:value-of select="$title" /></title>
+	<xsl:copy-of select="/xhtml:html/xhtml:head/xhtml:base" />
 	<meta http-equiv="Content-Type" content="text/html; charset=&xml.encoding;" />
 	<meta name="MSSmartTagsPreventParsing" content="TRUE" />
 	<xsl:copy-of select="/xhtml:html/xhtml:head/xhtml:meta"/>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212241914.qBOJEGQE064358>