Sitemap: switch off pretty-printing to fix some whitespace problems

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@328722 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl 2005-10-26 20:26:48 +00:00
parent 5c2593bcf8
commit 95ab5a8ba5
2 changed files with 6 additions and 5 deletions

View File

@ -784,7 +784,7 @@
stylesheet="${plugin.resources}/sitemap.jsl"
encoding="${maven.docs.outputencoding}"
outputMode="xml"
prettyPrint="true" />
prettyPrint="false" />
</util:available>
</goal>

View File

@ -81,10 +81,11 @@
<util:available file="${maven.docs.src}/${xml_link}">
<util:file var="xmlfile" name="${maven.docs.src}/${xml_link}"/>
<x:parse var="inputdoc" xml="${xmlfile}"/>
<x:set
var="description"
select="$inputdoc//meta[@name = 'description']/@content"
asString="true"/>
<x:if select="$inputdoc//meta[@name = 'description']/@content">
<j:set var="description">
[<x:expr select="string($inputdoc//meta[@name = 'description']/@content)"/>]
</j:set>
</x:if>
</util:available>
<j:set var="collapse"><x:expr select="@collapse"/></j:set>
<j:choose>