You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ba...@apache.org on 2001/07/16 21:25:53 UTC
cvs commit: xml-cocoon2/webapp.site sitemap.xmap
balld 01/07/16 12:25:53
Modified: . build.xml
webapp/stylesheets/documents root2html.xsl
webapp.site sitemap.xmap
Log:
some changes to sitewebapp - now you can drop it into tomcat-4.0b5 and it works!
Revision Changes Path
1.28 +1 -5 xml-cocoon2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.xml,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- build.xml 2001/07/16 18:09:44 1.27
+++ build.xml 2001/07/16 19:25:53 1.28
@@ -527,12 +527,8 @@
<target name="prepare-sitewebapp-libs" depends="package">
<copy todir="${build.site.war}/WEB-INF/lib">
<fileset dir="${lib.dir}">
- <include name="Tidy.jar"/>
<include name="avalon*.jar"/>
- <include name="batik*.jar"/>
- <include name="dom2.jar"/>
- <include name="jakarta*.jar"/>
- <include name="jstyle.jar"/>
+ <include name="jakarta-regexp*.jar"/>
<include name="logkit*.jar"/>
<include name="maybeupload*.jar"/>
<include name="xalan*.jar"/>
1.4 +14 -5 xml-cocoon2/webapp/stylesheets/documents/root2html.xsl
Index: root2html.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon2/webapp/stylesheets/documents/root2html.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- root2html.xsl 2001/07/13 11:32:01 1.3
+++ root2html.xsl 2001/07/16 19:25:53 1.4
@@ -5,6 +5,8 @@
version="1.0"
>
+<xsl:param name="path"/>
+
<xsl:template match="/root">
<html>
<head>
@@ -34,16 +36,23 @@
<xsl:template match="sidebar/link">
<tr>
<td>
- <a>
- <xsl:copy-of select="@href"/>
- <xsl:value-of select="@label"/>
- </a>
+ <xsl:choose>
+ <xsl:when test="@href=$path">
+ <xsl:value-of select="@label"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <a>
+ <xsl:copy-of select="@href"/>
+ <xsl:value-of select="@label"/>
+ </a>
+ </xsl:otherwise>
+ </xsl:choose>
</td>
</tr>
</xsl:template>
<xsl:template match="sidebar/separator">
- <hr/>
+ <br/>
</xsl:template>
<xsl:template match="/root/document/body">
1.2 +0 -9 xml-cocoon2/webapp.site/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-cocoon2/webapp.site/sitemap.xmap,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sitemap.xmap 2001/07/16 18:09:45 1.1
+++ sitemap.xmap 2001/07/16 19:25:53 1.2
@@ -74,19 +74,10 @@
<map:serializers default="html">
<map:serializer name="xml" mime-type="text/xml" src="org.apache.cocoon.serialization.XMLSerializer"/>
<map:serializer name="html" mime-type="text/html" src="org.apache.cocoon.serialization.HTMLSerializer"/>
- <map:serializer name="svgxml" mime-type="image/svg-xml" src="org.apache.cocoon.serialization.XMLSerializer">
- <doctype-public>-//W3C//DTD SVG 20000303 Stylable//EN</doctype-public>
- <doctype-system>http://www.w3.org/TR/2000/03/WD-SVG-20000303/</doctype-system>
- </map:serializer>
- <map:serializer name="svg2jpeg" mime-type="image/jpeg" src="org.apache.cocoon.serialization.SVGSerializer">
- </map:serializer>
- <map:serializer name="svg2png" mime-type="image/png" src="org.apache.cocoon.serialization.SVGSerializer">
- </map:serializer>
</map:serializers>
<map:matchers default="wildcard">
<map:matcher name="wildcard" src="org.apache.cocoon.matching.WildcardURIMatcherFactory"/>
- <map:matcher name="regexp" src="org.apache.cocoon.matching.RegexpURIMatcherFactory"/>
</map:matchers>
</map:components>
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org