Output a valid XHTML Transitional that IE6 can understand.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113344 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
bwalding 2003-04-13 20:26:25 +00:00
parent 3d4bbfc870
commit d60915ced5

View File

@ -23,8 +23,8 @@
location="${location}"/>
<x:doctype name="html"
publicId="-//CollabNet//DTD XHTML 1.0 Transitional//EN"
systemId="http://www.collabnet.com/dtds/collabnet_transitional_10.dtd"/>
publicId="-//W3C//DTD XHTML 1.0 Transitional//EN"
systemId="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<html>
<head>
@ -61,9 +61,10 @@
</x:element>
-->
<link rel="stylesheet" type="text/css" href="${relativePath}/style/print.css" media="print"/>
<meta http-equiv="Content-Type" content="text/html; charset=${outputencoding}"></meta>
<x:forEach var="author" select="./properties/author">
<meta name="author" value="${author.text}"/>
<meta name="email" value="${author.attribute('email').value}"/>
<meta name="author" content="${author.text}"/>
<meta name="email" content="${author.attribute('email').value}"/>
</x:forEach>
<jsl:applyTemplates select="$doc/document/head"/>
@ -72,8 +73,6 @@
<x:element name="body"><j:whitespace trim="true">
<x:attribute name="class">composite</x:attribute>
<x:attribute name="marginwidth">0</x:attribute>
<x:attribute name="marginheight">0</x:attribute>
<x:forEach var="attr" select="$doc/document/body/@*">
<x:attribute name="${attr.name}">${attr.value}</x:attribute>
</x:forEach>
@ -309,7 +308,7 @@
<j:set var="poweredbyurl">${maven.xdoc.poweredby.url}</j:set>
<j:if test="${!empty(poweredbyimage)}">
<div style="margin-top: 20px; width: 100%; text-align: center;">
<a href="${poweredbyurl}" title="${poweredbytitle}"><img style="border: 1px solid black" src="${relativePath}/images/logos/${poweredbyimage}"/></a>
<a href="${poweredbyurl}" title="${poweredbytitle}"><img alt="${maven.xdoc.poweredby.title}" style="border: 1px solid black" src="${relativePath}/images/logos/${poweredbyimage}"/></a>
</div>
</j:if>