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

This commit is contained in:
Hiroki Sato 2012-12-24 19:14:15 +00:00
parent c38d19d921
commit 23c714aa51
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40473
2 changed files with 3 additions and 0 deletions

View file

@ -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">

View file

@ -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"/>