Add head handling and copy attributes from xdoc body to html body

PR:MAVEN-387


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113322 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
bwalding
2003-04-12 01:56:01 +00:00
parent 5f2bfa3544
commit 1c70545373

View File

@@ -65,9 +65,20 @@
<meta name="author" value="${author.text}"/>
<meta name="email" value="${author.attribute('email').value}"/>
</x:forEach>
<jsl:applyTemplates select="$doc/document/head"/>
</head>
<body class="composite" marginwidth="0" marginheight="0">
<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>
</j:whitespace>
<div id="banner">
<table border="0" cellspacing="0" cellpadding="8" width="100%">
<tr>
@@ -354,7 +365,7 @@
</tr>
</table>
</div>
</body>
</x:element>
</html>
</jsl:template>
@@ -435,6 +446,10 @@
</div>
</jsl:template>
<jsl:template match="head" trim="false">
<x:copyOf select="."/>
</jsl:template>
<jsl:template match="footer" trim="false">
<tr>
<td>