We were theoretically putting out XHTML Transitional before, now we are

actually outputting XHTML 1.1 Transitional.  Only minor changes,
but some older browsers might have difficulties?


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113327 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
bwalding
2003-04-12 07:47:00 +00:00
parent bcde6c31e2
commit 2a9bc0d8a6
2 changed files with 7 additions and 8 deletions

View File

@@ -304,7 +304,7 @@
<x:parse var="doc" xml="${file}"/>
<j:file name="${outFile}" encoding="${outputencoding}"
omitXmlDeclaration="true" outputMode="xml"
omitXmlDeclaration="false" outputMode="xml"
prettyPrint="no">
<j:include uri="${stylesheet.toString()}"/>
</j:file>

View File

@@ -23,9 +23,10 @@
location="${location}"/>
<x:doctype name="html"
publicId="-//W3C//DTD XHTML 1.0 Strict//EN"
systemId="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
publicId="-//W3C//DTD XHTML 1.0 Transitional//EN"
systemId="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<!-- JSL currently hoses this - xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" -->
<html>
<head>
<j:set var="docTitle">
@@ -62,8 +63,8 @@
-->
<link rel="stylesheet" type="text/css" href="${relativePath}/style/print.css" media="print"/>
<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>