You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2004/11/13 23:55:23 UTC
svn commit: rev 65523 - cocoon/branches/BRANCH_2_1_X/src/blocks/databases/samples/tutorial
Author: vgritsenko
Date: Sat Nov 13 14:55:23 2004
New Revision: 65523
Added:
cocoon/branches/BRANCH_2_1_X/src/blocks/databases/samples/tutorial/menu.xml (contents, props changed)
Modified:
cocoon/branches/BRANCH_2_1_X/src/blocks/databases/samples/tutorial/apache.xsl
Log:
add menu to the database sample
Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/databases/samples/tutorial/apache.xsl
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/databases/samples/tutorial/apache.xsl (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/databases/samples/tutorial/apache.xsl Sat Nov 13 14:55:23 2004
@@ -85,7 +85,7 @@
<div width="120" style="background-color: #a0a0a0;">
<font face="arial,helvetica,sanserif" color="#ffffff" size="-1">
<img width="120" height="14" src="images/join.gif" hspace="0" vspace="0" border="0"/><br/>
- <xsl:apply-templates select="document('../menu.xml')"/>
+ <xsl:apply-templates select="document('menu.xml')"/>
<img width="120" height="14" src="images/close.gif" hspace="0" vspace="0" border="0"/><br/>
</font>
</div>
Added: cocoon/branches/BRANCH_2_1_X/src/blocks/databases/samples/tutorial/menu.xml
==============================================================================
--- (empty file)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/databases/samples/tutorial/menu.xml Sat Nov 13 14:55:23 2004
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+
+<menu>
+ <item title="Find Department" link="search-dept.html"/>
+ <item title="New Department" link="create-dept.html"/>
+ <item title="Find Employee" link="search-empl.html"/>
+ <item title="New Employees" link="create-empl.html"/>
+</menu>
\ No newline at end of file