make it work with dom4j 1.4-dev-8 (Maven 1.0) - this should be the correct behaviour.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@148967 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett 2005-01-29 01:07:48 +00:00
parent ab0e4a7220
commit f21193a668

View File

@ -3,7 +3,7 @@
<!-- <!--
* ======================================================================== * ========================================================================
* *
* Copyright 2004 The Apache Software Foundation. * Copyright 2005 The Apache Software Foundation.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -71,14 +71,14 @@
<link rel="stylesheet" type="text/css" href="${relativePath}/style/print.css" media="print"/> <link rel="stylesheet" type="text/css" href="${relativePath}/style/print.css" media="print"/>
<meta http-equiv="Content-Type" content="text/html; charset=${outputencoding}"/> <meta http-equiv="Content-Type" content="text/html; charset=${outputencoding}"/>
<x:forEach var="author" select="./properties/author"> <x:forEach var="author" select="$templateContext/properties/author">
<meta name="author" content="${author.text}"/> <meta name="author" content="${author.text}"/>
<meta name="email" content="${author.attribute('email').value}"/> <meta name="email" content="${author.attribute('email').value}"/>
</x:forEach> </x:forEach>
<jsl:applyTemplates select="head/*" /> <jsl:applyTemplates select="$templateContext/head/*" />
</head> </head>
<jsl:applyTemplates select="$templateContext" /> <jsl:applyTemplates select="$templateContext/*" />
</html> </html>
</jsl:template> </jsl:template>
@ -229,7 +229,7 @@
<!-- body start --> <!-- body start -->
<div id="bodyColumn"> <div id="bodyColumn">
<div class="contentBox"> <div class="contentBox">
<jsl:applyTemplates select="$templateContext" /> <jsl:applyTemplates select="$templateContext/*" />
</div> </div>
</div> </div>
<div class="clear"><hr /></div> <div class="clear"><hr /></div>