cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r159369 [8/41] - in cocoon/site/site/2.1: ./ developing/ developing/portal/ developing/webapps/ faq/ howto/ installing/ plan/ skin/ skin/images/ snippet/ tracks/ tutorial/ userdocs/ userdocs/actions/ userdocs/concepts/ userdocs/flow/ userdocs/forms/ userdocs/generators/ userdocs/matchers/ userdocs/offline/ userdocs/readers/ userdocs/selectors/ userdocs/serializers/ userdocs/transformers/ userdocs/xsp/
Date Tue, 29 Mar 2005 13:48:45 GMT
Modified: cocoon/site/site/2.1/faq/faq-install.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/faq/faq-install.html?view=diff&r1=159368&r2=159369
==============================================================================
--- cocoon/site/site/2.1/faq/faq-install.html (original)
+++ cocoon/site/site/2.1/faq/faq-install.html Tue Mar 29 05:47:29 2005
@@ -2,14 +2,18 @@
 <html>
 <head>
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Installation FAQs</title>
+<meta content="Apache Forrest" name="Generator">
+<meta name="Forrest-version" content="0.6">
+<meta name="Forrest-skin-name" content="forrest-site">
+<title></title>
 <link type="text/css" href="../skin/page.css" rel="stylesheet">
+<link rel="shortcut icon" href="../">
 </head>
 <body text="#000000" bgcolor="#FFFFFF">
 <!--================= start Navigation Path ==================-->
 <table summary="navigation path" width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
-<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td>
+<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><a href="http://www.apache.org/">apache</a> &gt; <a href="http://cocoon.apache.org/">cocoon</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td>
 </tr>
 <tr>
 <td bgcolor="#4C6C8F" height="2"><img height="2" width="2" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
@@ -20,9 +24,9 @@
 <table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
 <!--================= start Group Logo ==================-->
-<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td>
+<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td>
 <!--================= end Group Logo ==================-->
-<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif"></a></td>
+<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif" title="Apache Cocoon"></a></td>
 <!--================= end Project Logo ==================-->
 <!--================= start Search ==================--><td valign="top" rowspan="2" bgcolor="#294563">
 <form target="_blank" action="http://www.google.com/search" method="get">
@@ -31,13 +35,13 @@
 <td colspan="3"><img height="10" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
-<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="sitesearch" type="hidden"><input size="15" name="q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit">
+<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="as_sitesearch" type="hidden"><input size="15" name="as_q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit">
 <br>
 <font face="Arial, Helvetica, Sans-serif" size="2" color="white">
-                      the Apache Cocoon site
-                      
-                      
-                    </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+                          the Apache Cocoon site
+                          
+                          
+                        </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
 <td><img alt="" border="0" height="10" width="9" src="../skin/images/search-left.gif"></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td><img alt="" border="0" height="10" width="9" src="../skin/images/search-right.gif"></td>
@@ -45,7 +49,7 @@
 </table>
 </form>
 </td>
-<!--================= start Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<!--================= end Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
 <td valign="bottom" bgcolor="#294563" colspan="2">
@@ -64,10 +68,10 @@
 </table>
 </div>
 <!--================= end Tabs ==================-->
-</td><td bgcolor="#294563"><img alt="" width="1" height="1" src="../skin/images/spacer.gif" class="spacer"></td>
+</td><td bgcolor="#294563"></td>
 </tr>
 <tr>
-<td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<td height="10" bgcolor="#4C6C8F" colspan="4"></td>
 </tr>
 </table>
 <!--================= end Banner ==================-->
@@ -98,80 +102,103 @@
 <li>
 <font color="#CFDCED">Navigation</font>
 <ul>
+    
 <li>
 <a href="../index.html">Main</a>
 </li>
+  
 </ul>
 </li>
 <li>
 <font color="#CFDCED">FAQs</font>
 <ul>
+    
 <li>
 <a href="index.html">Index</a>
 </li>
+  
 </ul>
 </li>
 <li>
 <font color="#CFDCED">Getting Started</font>
 <ul>
+    
 <li>
 <span class="sel"><font color="#ffcc00">Install</font></span>
 </li>
+    
 <li>
 <a href="faq-configure-environment.html">Configure</a>
 </li>
+    
 <li>
 <a href="faq-cvs.html">CVS</a>
 </li>
+  
 </ul>
 </li>
 <li>
 <font color="#CFDCED">Using</font>
 <ul>
+    
 <li>
 <a href="faq-configure-c2.html">Configure C2</a>
 </li>
+    
 <li>
 <a href="faq-databases.html">Databases</a>
 </li>
+    
 <li>
 <a href="faq-xsp.html">XSP</a>
 </li>
+    
 <li>
 <a href="faq-xslt.html">XSLT</a>
 </li>
+    
 <li>
 <a href="faq-debugging.html">Debugging</a>
 </li>
+  
 </ul>
 </li>
 <li>
 <font color="#CFDCED">Sitemap</font>
 <ul>
+    
 <li>
 <a href="faq-sitemap.html">Sitemap</a>
 </li>
+    
 <li>
 <a href="faq-generators.html">Generators</a>
 </li>
+    
 <li>
 <a href="faq-transformers.html">Transformers</a>
 </li>
+    
 <li>
 <a href="faq-serializers.html">Serializers</a>
 </li>
+    
 <li>
 <a href="faq-matchers.html">Matchers</a>
 </li>
+    
 <li>
 <a href="faq-selectors.html">Selectors</a>
 </li>
+    
 <li>
 <a href="faq-actions.html">Actions</a>
 </li>
+    
 <li>
 <a href="faq-aggregators.html">Aggregators</a>
 </li>
+  
 </ul>
 </li>
 </ul>
@@ -207,228 +234,7 @@
 <!--================= end middle NavBar ==================-->
 <!--================= start Content==================-->
 <tr>
-<td align="left" width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td colspan="2" align="left" width="100%">
-<div class="content">
-<table class="title" summary="">
-<tr>
-<td valign="middle">
-<h1>Installation FAQs</h1>
-</td><script language="Javascript" type="text/javascript">
-function printit() {  
-if (window.print) {
-    window.print() ;  
-} else {
-    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
-document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
-    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML = "";  
-}
-}
-</script><script language="Javascript" type="text/javascript">
-var NS = (navigator.appName == "Netscape");
-var VERSION = parseInt(navigator.appVersion);
-if (VERSION > 3) {
-    document.write('<td nowrap="nowrap" width="40" align="center">');
-    document.write('  <a class="dida" href="javascript:printit()">');
-    document.write('    <img alt="Print this Page" src="../skin/images/printer.gif" class="skin"><br>');
-    document.write('  print</a>');
-    document.write('</td>');
-}
-</script><td nowrap="nowrap" width="40" align="center"><a class="dida" href="faq-install.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br>
-          PDF</a></td>
-</tr>
-</table>
-<a name="N10007"></a><a name="Questions"></a>
-<h3>Questions</h3>
-<div style="margin-left: 0 ; border: 2px">
-<ol>
-<li>
-<a name="faq-N10006-menu"></a><a href="#faq-N10006">
-    Why doesn't anything happen when I access 'http://localhost/cocoon/'?
-  </a>
-</li>
-<li>
-<a name="faq-N10021-menu"></a><a href="#faq-N10021">
-    Why does Cocoon take so long to start?
-  </a>
-</li>
-<li>
-<a name="faq-N1002F-menu"></a><a href="#faq-N1002F">
-    Why is cocoon.war so big?
-  </a>
-</li>
-<li>
-<a name="faq-N1003D-menu"></a><a href="#faq-N1003D">
-    I get a java.lang.VerifyError when accessing 'http://localhost/cocoon/'.
-    What's wrong?
-  </a>
-</li>
-<li>
-<a name="faq-N1004C-menu"></a><a href="#faq-N1004C">
-   Cocoon still won't start, this time I get 
-javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser
-   in the Cocoon log file.
- </a>
-</li>
-<li>
-<a name="faq-N10058-menu"></a><a href="#faq-N10058">
-   Cocoon won't start, and I get a "java.lang.NoSuchMethodError: org.apache.log.LogKit: method
-   createLogger(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/log/Logger;
-   not found" in my Servlet Container's log.
- </a>
-</li>
-<li>
-<a name="faq-N10067-menu"></a><a href="#faq-N10067">
-  Windows 95/98 tells me that I don't have enough environment-memory.
- </a>
-</li>
-<li>
-<a name="faq-N10073-menu"></a><a href="#faq-N10073">
-    I'm still stuck, what do I do?
-  </a>
-</li>
-</ol>
-</div>
-<a name="N10034"></a><a name="Answers"></a>
-<h3>Answers</h3>
-<div style="margin-left: 0 ; border: 2px">
-<a name="N10038"></a><a name="faq-N10006"></a>
-<h4>1. 
-    Why doesn't anything happen when I access 'http://localhost/cocoon/'?
-  </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-      You might want to check a few things.
-    </p>
-<ul>
-      
-<li>
-        Is your server listening to port 80? If not, you have to call the right
-        port, for example, 'http://localhost:8080/cocoon/'. Note that Apache Tomcat
-        binds by default to port 8080, NOT 80.
-      </li>
-      
-<li>
-        Did your servlet engine install the WAR file? You can check this by making
-        sure the WAR file was unpacked or connecting to the administration tools
-        of your servlet engine.
-      </li>
-      
-<li>
-        If you didn't restart the servlet engine, do it.
-      </li>
-      
-<li>
-In Tomcat 4, did you change CATALINA_BASE to a different value than the default CATALINA_HOME? If so, copy the war files to CATALINA_BASE/webapps or set CATALINA_BASE=CATALINA_HOME. Then, restart Tomcat.      
-      </li>
-    
-</ul>
-</div>
-<a name="N1004F"></a><a name="faq-N10021"></a>
-<h4>2. 
-    Why does Cocoon take so long to start?
-  </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-      Cocoon compiles sitemaps into java classes to increase runtime performance.
-      This occurs at startup only when the sitemap file is modified. For 
-      all other requests, the compiled sitemap is executed. 
-      
-      
-    </p>
-</div>
-<a name="N10057"></a><a name="faq-N1002F"></a>
-<h4>3. 
-    Why is cocoon.war so big?
-  </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-    	
-      Cocoon.war includes all the libraries it requires to run. This includes 
-      several megabytes of Java classes. It also includes the JDK javac compiler
-      which must be present in the war file to allow page compilation without 
-      classloading problems.
-    </p>
-</div>
-<a name="N1005F"></a><a name="faq-N1003D"></a>
-<h4>4. 
-    I get a java.lang.VerifyError when accessing 'http://localhost/cocoon/'.
-    What's wrong?
-  </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-      Cocoon requires a JAXP 1.1 compliant parser. Some servlet engines
-      (like Tomcat 3.2.1) use older XML parsers. Replace the XML
-      parser with a more recent one (e.g. the Xerces 1.3.0 or newer).
-    </p>
-<p>
-      For Tomcat 3.2.1, remove the jaxp.jar and the parser.jar from the
-      tomcat/lib directory. Copy the xerces.jar to this directory and rename
-      it to parser.jar. Before you restart Tomcat, make sure to delete the
-      tomcat/work directory.
-    </p>
-</div>
-<a name="N1006A"></a><a name="faq-N1004C"></a>
-<h4>5. 
-   Cocoon still won't start, this time I get 
-javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser
-   in the Cocoon log file.
- </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-     This is a classloader issue with Tomcat and some other servlet engines. Basically
-     it means that the Xerces library included with Cocoon is not being found. The solution
-     is to place the Xerces library first in the classpath.
-   </p>
-</div>
-<a name="N10072"></a><a name="faq-N10058"></a>
-<h4>6. 
-   Cocoon won't start, and I get a "java.lang.NoSuchMethodError: org.apache.log.LogKit: method
-   createLogger(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/log/Logger;
-   not found" in my Servlet Container's log.
- </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-     You have an old set of libraries installed. Copy the correct libraries from the
-     distribution.
-   </p>
-<p>
-     Even better, build Cocoon with "build webapp". This build creates a complete WAR file with all necessary libraries included.
-   </p>
-</div>
-<a name="N1007D"></a><a name="faq-N10067"></a>
-<h4>7. 
-  Windows 95/98 tells me that I don't have enough environment-memory.
- </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-   This is another neat feature from DOS- times.
-   To increase environment-space add the following line to your
-   config.sys (and restart):
-   shell=c:\command.com /E:4096 /P
-  </p>
-</div>
-<a name="N10085"></a><a name="faq-N10073"></a>
-<h4>8. 
-    I'm still stuck, what do I do?
-  </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-      Contact the Cocoon Users mail list (users@cocoon.apache.org).
-      Please do not contact developers directly for help. Cocoon users are
-      generally more responsive because they tend to have more experience than developers
-      troubleshooting installation problems.
-    </p>
-<p>
-      Cocoon has several log files which are stored in the context where you installed
-      Cocoon. These logs are located in '{cocoon}/WEB-INF/logs/' where
-      {cocoon} is the context where Cocoon is installed. The
-      information contained in that file will help others help you.
-    </p>
-</div>
-</div>
-<div class="attribution"></div>
-</div>
-</td><td width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<td align="left" width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td colspan="2" align="left" width="100%"></td><td width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <!--================= end Content==================-->
 </table>
@@ -439,11 +245,14 @@
 <!--================= start Footer ==================-->
 <table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr>
-<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a><a href="/favicon.ico"></a></td>
+<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a></td>
 </tr>
 <tr>
-<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif">Copyright &copy;
-          1999-2004&nbsp;The Apache Software Foundation. All rights reserved.<script type="text/javascript" language="JavaScript"><!--
+<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif"><a href="http://www.apache.org/licenses/">
+              Copyright &copy; 1999-2005&nbsp;
+              The Apache Software Foundation.</a>
+          All rights reserved.
+          <script type="text/javascript" language="JavaScript"><!--
               document.write(" - "+"Last Published: " + document.lastModified);
             //  --></script></font></td>
 </tr>

Modified: cocoon/site/site/2.1/faq/faq-matchers.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/faq/faq-matchers.html?view=diff&r1=159368&r2=159369
==============================================================================
--- cocoon/site/site/2.1/faq/faq-matchers.html (original)
+++ cocoon/site/site/2.1/faq/faq-matchers.html Tue Mar 29 05:47:29 2005
@@ -2,14 +2,18 @@
 <html>
 <head>
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Cocoon Sitemap Matcher FAQs</title>
+<meta content="Apache Forrest" name="Generator">
+<meta name="Forrest-version" content="0.6">
+<meta name="Forrest-skin-name" content="forrest-site">
+<title></title>
 <link type="text/css" href="../skin/page.css" rel="stylesheet">
+<link rel="shortcut icon" href="../">
 </head>
 <body text="#000000" bgcolor="#FFFFFF">
 <!--================= start Navigation Path ==================-->
 <table summary="navigation path" width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
-<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td>
+<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><a href="http://www.apache.org/">apache</a> &gt; <a href="http://cocoon.apache.org/">cocoon</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td>
 </tr>
 <tr>
 <td bgcolor="#4C6C8F" height="2"><img height="2" width="2" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
@@ -20,9 +24,9 @@
 <table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
 <!--================= start Group Logo ==================-->
-<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td>
+<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td>
 <!--================= end Group Logo ==================-->
-<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif"></a></td>
+<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif" title="Apache Cocoon"></a></td>
 <!--================= end Project Logo ==================-->
 <!--================= start Search ==================--><td valign="top" rowspan="2" bgcolor="#294563">
 <form target="_blank" action="http://www.google.com/search" method="get">
@@ -31,13 +35,13 @@
 <td colspan="3"><img height="10" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
-<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="sitesearch" type="hidden"><input size="15" name="q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit">
+<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="as_sitesearch" type="hidden"><input size="15" name="as_q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit">
 <br>
 <font face="Arial, Helvetica, Sans-serif" size="2" color="white">
-                      the Apache Cocoon site
-                      
-                      
-                    </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+                          the Apache Cocoon site
+                          
+                          
+                        </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
 <td><img alt="" border="0" height="10" width="9" src="../skin/images/search-left.gif"></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td><img alt="" border="0" height="10" width="9" src="../skin/images/search-right.gif"></td>
@@ -45,7 +49,7 @@
 </table>
 </form>
 </td>
-<!--================= start Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<!--================= end Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
 <td valign="bottom" bgcolor="#294563" colspan="2">
@@ -64,10 +68,10 @@
 </table>
 </div>
 <!--================= end Tabs ==================-->
-</td><td bgcolor="#294563"><img alt="" width="1" height="1" src="../skin/images/spacer.gif" class="spacer"></td>
+</td><td bgcolor="#294563"></td>
 </tr>
 <tr>
-<td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<td height="10" bgcolor="#4C6C8F" colspan="4"></td>
 </tr>
 </table>
 <!--================= end Banner ==================-->
@@ -230,86 +234,7 @@
 <!--================= end middle NavBar ==================-->
 <!--================= start Content==================-->
 <tr>
-<td align="left" width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td colspan="2" align="left" width="100%">
-<div class="content">
-<table class="title" summary="">
-<tr>
-<td valign="middle">
-<h1>Cocoon Sitemap Matcher FAQs</h1>
-</td><script language="Javascript" type="text/javascript">
-function printit() {  
-if (window.print) {
-    window.print() ;  
-} else {
-    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
-document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
-    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML = "";  
-}
-}
-</script><script language="Javascript" type="text/javascript">
-var NS = (navigator.appName == "Netscape");
-var VERSION = parseInt(navigator.appVersion);
-if (VERSION > 3) {
-    document.write('<td nowrap="nowrap" width="40" align="center">');
-    document.write('  <a class="dida" href="javascript:printit()">');
-    document.write('    <img alt="Print this Page" src="../skin/images/printer.gif" class="skin"><br>');
-    document.write('  print</a>');
-    document.write('</td>');
-}
-</script><td nowrap="nowrap" width="40" align="center"><a class="dida" href="faq-matchers.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br>
-          PDF</a></td>
-</tr>
-</table>
-<a name="N10007"></a><a name="Questions"></a>
-<h3>Questions</h3>
-<div style="margin-left: 0 ; border: 2px">
-<ol>
-<li>
-<a name="faq-N10006-menu"></a><a href="#faq-N10006">
-  What is a matcher?
- </a>
-</li>
-<li>
-<a name="faq-N10023-menu"></a><a href="#faq-N10023">
-  What is the difference between a selector and a matcher?
- </a>
-</li>
-</ol>
-</div>
-<a name="N10016"></a><a name="Answers"></a>
-<h3>Answers</h3>
-<div style="margin-left: 0 ; border: 2px">
-<a name="N1001A"></a><a name="faq-N10006"></a>
-<h4>1. 
-  What is a matcher?
- </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-A matcher is a core sitemap component of Cocoon. Matchers are used to determine the flow, order, and components involved in request processing. Matchers typically contain a generator and a serializer. They may redirect requests to other pipelines or call other sitemap resources. Matchers may also be nested with other matchers.
-  </p>
-<p>
-Matchers are executed during pipeline setup. They determine which pipeline will process a URI request. Most typically, the match is based on the requested URI string. However, a number of other matchers exist, for example, Session and Cookie matchers. 
-  </p>
-<p>
-In the sitemap file, each matcher has a unique name which is mapped to a java class. One matcher name must be declared as the default matcher. Each matcher may have additional configuration information specified in child elements.
-  </p>
-<p>
- For more conceptual information about matchers see <a href="../userdocs/concepts/matchers_selectors.html">Using and Implementing Matchers and Selectors</a>. For detailed descriptions about all of the available Cocoon matchers, see the user's guide document <a href="../userdocs/matchers/matchers.html">Matchers in Cocoon</a>. You may also wish to consult the Cocoon API documentation.
-  </p>
-</div>
-<a name="N10033"></a><a name="faq-N10023"></a>
-<h4>2. 
-  What is the difference between a selector and a matcher?
- </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-Both matchers and selectors can be used to determine the flow, order, and components involved in request processing. Their differences include the complexity of the decisions they can make about processing as well as the values they return to the sitemap. For a more detailed discussion of their similarities and differences, see <a href="../userdocs/concepts/matchers_selectors.html">Using and Implementing Matchers and Selectors</a>.
-  </p>
-</div>
-</div>
-<div class="attribution"></div>
-</div>
-</td><td width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<td align="left" width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td colspan="2" align="left" width="100%"></td><td width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <!--================= end Content==================-->
 </table>
@@ -320,11 +245,14 @@
 <!--================= start Footer ==================-->
 <table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr>
-<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a><a href="/favicon.ico"></a></td>
+<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a></td>
 </tr>
 <tr>
-<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif">Copyright &copy;
-          1999-2004&nbsp;The Apache Software Foundation. All rights reserved.<script type="text/javascript" language="JavaScript"><!--
+<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif"><a href="http://www.apache.org/licenses/">
+              Copyright &copy; 1999-2005&nbsp;
+              The Apache Software Foundation.</a>
+          All rights reserved.
+          <script type="text/javascript" language="JavaScript"><!--
               document.write(" - "+"Last Published: " + document.lastModified);
             //  --></script></font></td>
 </tr>

Modified: cocoon/site/site/2.1/faq/faq-selectors.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/faq/faq-selectors.html?view=diff&r1=159368&r2=159369
==============================================================================
--- cocoon/site/site/2.1/faq/faq-selectors.html (original)
+++ cocoon/site/site/2.1/faq/faq-selectors.html Tue Mar 29 05:47:29 2005
@@ -2,14 +2,18 @@
 <html>
 <head>
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Cocoon Sitemap Selector FAQs</title>
+<meta content="Apache Forrest" name="Generator">
+<meta name="Forrest-version" content="0.6">
+<meta name="Forrest-skin-name" content="forrest-site">
+<title></title>
 <link type="text/css" href="../skin/page.css" rel="stylesheet">
+<link rel="shortcut icon" href="../">
 </head>
 <body text="#000000" bgcolor="#FFFFFF">
 <!--================= start Navigation Path ==================-->
 <table summary="navigation path" width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
-<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td>
+<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><a href="http://www.apache.org/">apache</a> &gt; <a href="http://cocoon.apache.org/">cocoon</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td>
 </tr>
 <tr>
 <td bgcolor="#4C6C8F" height="2"><img height="2" width="2" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
@@ -20,9 +24,9 @@
 <table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
 <!--================= start Group Logo ==================-->
-<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td>
+<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td>
 <!--================= end Group Logo ==================-->
-<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif"></a></td>
+<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif" title="Apache Cocoon"></a></td>
 <!--================= end Project Logo ==================-->
 <!--================= start Search ==================--><td valign="top" rowspan="2" bgcolor="#294563">
 <form target="_blank" action="http://www.google.com/search" method="get">
@@ -31,13 +35,13 @@
 <td colspan="3"><img height="10" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
-<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="sitesearch" type="hidden"><input size="15" name="q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit">
+<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="as_sitesearch" type="hidden"><input size="15" name="as_q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit">
 <br>
 <font face="Arial, Helvetica, Sans-serif" size="2" color="white">
-                      the Apache Cocoon site
-                      
-                      
-                    </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+                          the Apache Cocoon site
+                          
+                          
+                        </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
 <td><img alt="" border="0" height="10" width="9" src="../skin/images/search-left.gif"></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td><img alt="" border="0" height="10" width="9" src="../skin/images/search-right.gif"></td>
@@ -45,7 +49,7 @@
 </table>
 </form>
 </td>
-<!--================= start Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<!--================= end Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
 <td valign="bottom" bgcolor="#294563" colspan="2">
@@ -64,10 +68,10 @@
 </table>
 </div>
 <!--================= end Tabs ==================-->
-</td><td bgcolor="#294563"><img alt="" width="1" height="1" src="../skin/images/spacer.gif" class="spacer"></td>
+</td><td bgcolor="#294563"></td>
 </tr>
 <tr>
-<td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<td height="10" bgcolor="#4C6C8F" colspan="4"></td>
 </tr>
 </table>
 <!--================= end Banner ==================-->
@@ -230,84 +234,7 @@
 <!--================= end middle NavBar ==================-->
 <!--================= start Content==================-->
 <tr>
-<td align="left" width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td colspan="2" align="left" width="100%">
-<div class="content">
-<table class="title" summary="">
-<tr>
-<td valign="middle">
-<h1>Cocoon Sitemap Selector FAQs</h1>
-</td><script language="Javascript" type="text/javascript">
-function printit() {  
-if (window.print) {
-    window.print() ;  
-} else {
-    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
-document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
-    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML = "";  
-}
-}
-</script><script language="Javascript" type="text/javascript">
-var NS = (navigator.appName == "Netscape");
-var VERSION = parseInt(navigator.appVersion);
-if (VERSION > 3) {
-    document.write('<td nowrap="nowrap" width="40" align="center">');
-    document.write('  <a class="dida" href="javascript:printit()">');
-    document.write('    <img alt="Print this Page" src="../skin/images/printer.gif" class="skin"><br>');
-    document.write('  print</a>');
-    document.write('</td>');
-}
-</script><td nowrap="nowrap" width="40" align="center"><a class="dida" href="faq-selectors.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br>
-          PDF</a></td>
-</tr>
-</table>
-<a name="N10007"></a><a name="Questions"></a>
-<h3>Questions</h3>
-<div style="margin-left: 0 ; border: 2px">
-<ol>
-<li>
-<a name="faq-N10006-menu"></a><a href="#faq-N10006">
-  What is a selector?
- </a>
-</li>
-<li>
-<a name="faq-N10020-menu"></a><a href="#faq-N10020">
-  What is the difference between a selector and a matcher?
- </a>
-</li>
-</ol>
-</div>
-<a name="N10016"></a><a name="Answers"></a>
-<h3>Answers</h3>
-<div style="margin-left: 0 ; border: 2px">
-<a name="N1001A"></a><a name="faq-N10006"></a>
-<h4>1. 
-  What is a selector?
- </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-A selector is a core sitemap component of Cocoon. Selectors are designed to evaluate a 
-generally simple boolean expression regarding some part of the environment (request URI, headers, or cookies, for example). The result of this evaluation determines which pipeline fragments should be combined within a given pipeline. Selectors are executed during pipeline setup.
-  </p>
-<p>
-In the sitemap file, each selector has a unique name which is mapped to a java class. One selector name must be declared as the default selector. Each selector may have additional configuration information specified in child elements.
-  </p>
-<p>
- For more conceptual information about selectors see <a href="../userdocs/concepts/matchers_selectors.html">Using and Implementing Matchers and Selectors</a>. For detailed descriptions about all of the available Cocoon selectors, see the user's guide document <a href="../userdocs/selectors/selectors.html">Matchers in Cocoon</a>. You may also wish to consult the Cocoon API documentation.
-  </p>
-</div>
-<a name="N10030"></a><a name="faq-N10020"></a>
-<h4>2. 
-  What is the difference between a selector and a matcher?
- </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-Both matchers and selectors can be used to determine the flow, order, and components involved in request processing. Their differences include the complexity of the decisions they can make about processing as well as the values they return to the sitemap. For a more detailed discussion of their similarities and differences, see <a href="../userdocs/concepts/matchers_selectors.html">Using and Implementing Matchers and Selectors</a>.
-  </p>
-</div>
-</div>
-<div class="attribution"></div>
-</div>
-</td><td width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<td align="left" width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td colspan="2" align="left" width="100%"></td><td width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <!--================= end Content==================-->
 </table>
@@ -318,11 +245,14 @@
 <!--================= start Footer ==================-->
 <table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr>
-<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a><a href="/favicon.ico"></a></td>
+<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a></td>
 </tr>
 <tr>
-<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif">Copyright &copy;
-          1999-2004&nbsp;The Apache Software Foundation. All rights reserved.<script type="text/javascript" language="JavaScript"><!--
+<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif"><a href="http://www.apache.org/licenses/">
+              Copyright &copy; 1999-2005&nbsp;
+              The Apache Software Foundation.</a>
+          All rights reserved.
+          <script type="text/javascript" language="JavaScript"><!--
               document.write(" - "+"Last Published: " + document.lastModified);
             //  --></script></font></td>
 </tr>

Modified: cocoon/site/site/2.1/faq/faq-serializers.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/faq/faq-serializers.html?view=diff&r1=159368&r2=159369
==============================================================================
--- cocoon/site/site/2.1/faq/faq-serializers.html (original)
+++ cocoon/site/site/2.1/faq/faq-serializers.html Tue Mar 29 05:47:29 2005
@@ -2,14 +2,18 @@
 <html>
 <head>
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Cocoon Sitemap Serializer FAQs</title>
+<meta content="Apache Forrest" name="Generator">
+<meta name="Forrest-version" content="0.6">
+<meta name="Forrest-skin-name" content="forrest-site">
+<title></title>
 <link type="text/css" href="../skin/page.css" rel="stylesheet">
+<link rel="shortcut icon" href="../">
 </head>
 <body text="#000000" bgcolor="#FFFFFF">
 <!--================= start Navigation Path ==================-->
 <table summary="navigation path" width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
-<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td>
+<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><a href="http://www.apache.org/">apache</a> &gt; <a href="http://cocoon.apache.org/">cocoon</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td>
 </tr>
 <tr>
 <td bgcolor="#4C6C8F" height="2"><img height="2" width="2" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
@@ -20,9 +24,9 @@
 <table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
 <!--================= start Group Logo ==================-->
-<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td>
+<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td>
 <!--================= end Group Logo ==================-->
-<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif"></a></td>
+<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif" title="Apache Cocoon"></a></td>
 <!--================= end Project Logo ==================-->
 <!--================= start Search ==================--><td valign="top" rowspan="2" bgcolor="#294563">
 <form target="_blank" action="http://www.google.com/search" method="get">
@@ -31,13 +35,13 @@
 <td colspan="3"><img height="10" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
-<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="sitesearch" type="hidden"><input size="15" name="q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit">
+<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="as_sitesearch" type="hidden"><input size="15" name="as_q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit">
 <br>
 <font face="Arial, Helvetica, Sans-serif" size="2" color="white">
-                      the Apache Cocoon site
-                      
-                      
-                    </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+                          the Apache Cocoon site
+                          
+                          
+                        </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
 <td><img alt="" border="0" height="10" width="9" src="../skin/images/search-left.gif"></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td><img alt="" border="0" height="10" width="9" src="../skin/images/search-right.gif"></td>
@@ -45,7 +49,7 @@
 </table>
 </form>
 </td>
-<!--================= start Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<!--================= end Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
 <td valign="bottom" bgcolor="#294563" colspan="2">
@@ -64,10 +68,10 @@
 </table>
 </div>
 <!--================= end Tabs ==================-->
-</td><td bgcolor="#294563"><img alt="" width="1" height="1" src="../skin/images/spacer.gif" class="spacer"></td>
+</td><td bgcolor="#294563"></td>
 </tr>
 <tr>
-<td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<td height="10" bgcolor="#4C6C8F" colspan="4"></td>
 </tr>
 </table>
 <!--================= end Banner ==================-->
@@ -230,166 +234,7 @@
 <!--================= end middle NavBar ==================-->
 <!--================= start Content==================-->
 <tr>
-<td align="left" width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td colspan="2" align="left" width="100%">
-<div class="content">
-<table class="title" summary="">
-<tr>
-<td valign="middle">
-<h1>Cocoon Sitemap Serializer FAQs</h1>
-</td><script language="Javascript" type="text/javascript">
-function printit() {  
-if (window.print) {
-    window.print() ;  
-} else {
-    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
-document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
-    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML = "";  
-}
-}
-</script><script language="Javascript" type="text/javascript">
-var NS = (navigator.appName == "Netscape");
-var VERSION = parseInt(navigator.appVersion);
-if (VERSION > 3) {
-    document.write('<td nowrap="nowrap" width="40" align="center">');
-    document.write('  <a class="dida" href="javascript:printit()">');
-    document.write('    <img alt="Print this Page" src="../skin/images/printer.gif" class="skin"><br>');
-    document.write('  print</a>');
-    document.write('</td>');
-}
-</script><td nowrap="nowrap" width="40" align="center"><a class="dida" href="faq-serializers.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br>
-          PDF</a></td>
-</tr>
-</table>
-<a name="N10007"></a><a name="Questions"></a>
-<h3>Questions</h3>
-<div style="margin-left: 0 ; border: 2px">
-<ol>
-<li>
-<a name="faq-N10006-menu"></a><a href="#faq-N10006">
-  What is a serializer?
- </a>
-</li>
-<li>
-<a name="faq-N10020-menu"></a><a href="#faq-N10020">
-  What is the easiest way to generate XHTML output?
- </a>
-</li>
-<li>
-<a name="faq-N1003A-menu"></a><a href="#faq-N1003A">
-How can I remove the DTD declaration at the top of my HTML
-pages created from pipelines with the default (HTML) serializer?
- </a>
-</li>
-<li>
-<a name="faq-N1004D-menu"></a><a href="#faq-N1004D">
-How can I remove namespaces from my xml files?
- </a>
-</li>
-</ol>
-</div>
-<a name="N10020"></a><a name="Answers"></a>
-<h3>Answers</h3>
-<div style="margin-left: 0 ; border: 2px">
-<a name="N10024"></a><a name="faq-N10006"></a>
-<h4>1. 
-  What is a serializer?
- </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-A serializer is the end point of an xml pipeline. It transforms SAX events into binary or char streams for final client consumption. Every pipeline match containing a generator must be terminated by a serializer. 
-  </p>
-<p>
-In the sitemap file, each serializer has a unique name which is mapped to a java class. One serializer name must be declared as the default serializer. Each serializer may have additional configuration information specified in child elements.
-  </p>
-<p>
- For more conceptual information about serializers see <a href="../userdocs/concepts/sitemap.html">the sitemap</a>. For detailed descriptions about all of the available Cocoon serializers, see the user's guide document <a href="../userdocs/serializers/serializers.html">Serializers in Cocoon</a>. You may also wish to consult the Cocoon API documentation.
-  </p>
-</div>
-<a name="N1003A"></a><a name="faq-N10020"></a>
-<h4>2. 
-  What is the easiest way to generate XHTML output?
- </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-I have an stylesheet which transforms XML to XHTML, but it seems that the 
-serializer converts it to HTML. For example, I have some &lt;br/&gt; elements which are converted to  &lt;br&gt; elements. What can I do?
-  </p>
-<p>
-Cocoon has serializer configured for XHTML. First, make sure to declare it in
-your sitemap's component section (within map:serializers).
-  </p>
-<pre class="code">
-&lt;map:serializer name="xhtml" mime-type="text/html"
-  logger="sitemap.serializer.xhtml"
-  src="org.apache.cocoon.serialization.XMLSerializer"
-  pool-max="64" pool-min="2" pool-grow="2"&gt;
-  &lt;doctype-public&gt;-//W3C//DTD XHTML 1.0 Strict//EN&lt;/doctype-public&gt;
-  &lt;doctype-system&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&lt;/doctype-system&gt;
- &lt;encoding&gt;UTF-8&lt;/encoding&gt;
-&lt;/map:serializer&gt;  
-</pre>
-<p>
-Then, in any pipeline, simply use the serializer as follows.
-  </p>
-<pre class="code">
-&lt;map:serialize type="xhtml" /&gt;
-</pre>
-</div>
-<a name="N10052"></a><a name="faq-N1003A"></a>
-<h4>3. 
-How can I remove the DTD declaration at the top of my HTML
-pages created from pipelines with the default (HTML) serializer?
- </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-Within the map:components section of sitemap.xmap, adjust the configuration of your HTML serializer component as follows.
-  </p>
-<pre class="code">
-&lt;map:serializers default="html"&gt;
-
-  &lt;map:serializer name="html" mime-type="text/html; charset=ISO-8859-1"
-     src="org.apache.cocoon.serialization.HTMLSerializer"&gt;
-    &lt;encoding&gt;ISO-8859-1&lt;/encoding&gt;
-    &lt;omit-xml-declaration&gt;true&lt;/omit-xml-declaration&gt;
-  &lt;/map:serializer&gt;
-   
-  &lt;!-- other serializers --&gt;
-   
-&lt;/map:serializers&gt;
-</pre>
-<div class="frame note">
-<div class="label">Note</div>
-<div class="content">
-Consider using the XMLSerializer in your pipeline. The XMLSerializer will not write a DocType Declaration.
-  </div>
-</div>
-</div>
-<a name="N10062"></a><a name="faq-N1004D"></a>
-<h4>4. 
-How can I remove namespaces from my xml files?
- </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-Sometimes adding xsl:exclude-result-prefixes attributes
-to the &lt;xsl:stylesheet&gt; or literal result element is not effective
-in removing all namespace declarations. For example, namespace nodes copied 
-from the source document within &lt;xsl:copy&gt; or &lt;xsl:copy-of&gt; instructions 
-(commonly found in catch-all stylesheet templates) will not be excluded.
-  </p>
-<p>
-There are two approaches to this problem. 
-  </p>
-<p>
-One approach is to extend your serializer component and override the startPrefixMapping and endPrefixMapping methods to do nothing. This will remove <strong>all</strong> namespaces from the serialized output. Since your serializer will no longer be processing namespaces, this theoretically will improve performance ever so slightly. You could generalize this approach by using the serializer's configuration method to declare namespaces to be excluded.
-  </p>
-<p>
-Another approach is to use an interim transformation step in your pipeline with a stylesheet described <a href="faq-xslt.html#faq-5">here</a>.
-  </p>
-</div>
-</div>
-<div class="attribution"></div>
-</div>
-</td><td width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<td align="left" width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td colspan="2" align="left" width="100%"></td><td width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <!--================= end Content==================-->
 </table>
@@ -400,11 +245,14 @@
 <!--================= start Footer ==================-->
 <table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr>
-<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a><a href="/favicon.ico"></a></td>
+<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a></td>
 </tr>
 <tr>
-<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif">Copyright &copy;
-          1999-2004&nbsp;The Apache Software Foundation. All rights reserved.<script type="text/javascript" language="JavaScript"><!--
+<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif"><a href="http://www.apache.org/licenses/">
+              Copyright &copy; 1999-2005&nbsp;
+              The Apache Software Foundation.</a>
+          All rights reserved.
+          <script type="text/javascript" language="JavaScript"><!--
               document.write(" - "+"Last Published: " + document.lastModified);
             //  --></script></font></td>
 </tr>

Modified: cocoon/site/site/2.1/faq/faq-sitemap.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/faq/faq-sitemap.html?view=diff&r1=159368&r2=159369
==============================================================================
--- cocoon/site/site/2.1/faq/faq-sitemap.html (original)
+++ cocoon/site/site/2.1/faq/faq-sitemap.html Tue Mar 29 05:47:29 2005
@@ -2,14 +2,18 @@
 <html>
 <head>
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Sitemap FAQs</title>
+<meta content="Apache Forrest" name="Generator">
+<meta name="Forrest-version" content="0.6">
+<meta name="Forrest-skin-name" content="forrest-site">
+<title></title>
 <link type="text/css" href="../skin/page.css" rel="stylesheet">
+<link rel="shortcut icon" href="../">
 </head>
 <body text="#000000" bgcolor="#FFFFFF">
 <!--================= start Navigation Path ==================-->
 <table summary="navigation path" width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
-<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td>
+<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><a href="http://www.apache.org/">apache</a> &gt; <a href="http://cocoon.apache.org/">cocoon</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td>
 </tr>
 <tr>
 <td bgcolor="#4C6C8F" height="2"><img height="2" width="2" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
@@ -20,9 +24,9 @@
 <table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
 <!--================= start Group Logo ==================-->
-<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td>
+<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td>
 <!--================= end Group Logo ==================-->
-<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif"></a></td>
+<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif" title="Apache Cocoon"></a></td>
 <!--================= end Project Logo ==================-->
 <!--================= start Search ==================--><td valign="top" rowspan="2" bgcolor="#294563">
 <form target="_blank" action="http://www.google.com/search" method="get">
@@ -31,13 +35,13 @@
 <td colspan="3"><img height="10" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
-<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="sitesearch" type="hidden"><input size="15" name="q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit">
+<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="as_sitesearch" type="hidden"><input size="15" name="as_q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit">
 <br>
 <font face="Arial, Helvetica, Sans-serif" size="2" color="white">
-                      the Apache Cocoon site
-                      
-                      
-                    </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+                          the Apache Cocoon site
+                          
+                          
+                        </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
 <td><img alt="" border="0" height="10" width="9" src="../skin/images/search-left.gif"></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td><img alt="" border="0" height="10" width="9" src="../skin/images/search-right.gif"></td>
@@ -45,7 +49,7 @@
 </table>
 </form>
 </td>
-<!--================= start Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<!--================= end Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <tr>
 <td valign="bottom" bgcolor="#294563" colspan="2">
@@ -64,10 +68,10 @@
 </table>
 </div>
 <!--================= end Tabs ==================-->
-</td><td bgcolor="#294563"><img alt="" width="1" height="1" src="../skin/images/spacer.gif" class="spacer"></td>
+</td><td bgcolor="#294563"></td>
 </tr>
 <tr>
-<td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<td height="10" bgcolor="#4C6C8F" colspan="4"></td>
 </tr>
 </table>
 <!--================= end Banner ==================-->
@@ -98,80 +102,103 @@
 <li>
 <font color="#CFDCED">Navigation</font>
 <ul>
+    
 <li>
 <a href="../index.html">Main</a>
 </li>
+  
 </ul>
 </li>
 <li>
 <font color="#CFDCED">FAQs</font>
 <ul>
+    
 <li>
 <a href="index.html">Index</a>
 </li>
+  
 </ul>
 </li>
 <li>
 <font color="#CFDCED">Getting Started</font>
 <ul>
+    
 <li>
 <a href="faq-install.html">Install</a>
 </li>
+    
 <li>
 <a href="faq-configure-environment.html">Configure</a>
 </li>
+    
 <li>
 <a href="faq-cvs.html">CVS</a>
 </li>
+  
 </ul>
 </li>
 <li>
 <font color="#CFDCED">Using</font>
 <ul>
+    
 <li>
 <a href="faq-configure-c2.html">Configure C2</a>
 </li>
+    
 <li>
 <a href="faq-databases.html">Databases</a>
 </li>
+    
 <li>
 <a href="faq-xsp.html">XSP</a>
 </li>
+    
 <li>
 <a href="faq-xslt.html">XSLT</a>
 </li>
+    
 <li>
 <a href="faq-debugging.html">Debugging</a>
 </li>
+  
 </ul>
 </li>
 <li>
 <font color="#CFDCED">Sitemap</font>
 <ul>
+    
 <li>
 <span class="sel"><font color="#ffcc00">Sitemap</font></span>
 </li>
+    
 <li>
 <a href="faq-generators.html">Generators</a>
 </li>
+    
 <li>
 <a href="faq-transformers.html">Transformers</a>
 </li>
+    
 <li>
 <a href="faq-serializers.html">Serializers</a>
 </li>
+    
 <li>
 <a href="faq-matchers.html">Matchers</a>
 </li>
+    
 <li>
 <a href="faq-selectors.html">Selectors</a>
 </li>
+    
 <li>
 <a href="faq-actions.html">Actions</a>
 </li>
+    
 <li>
 <a href="faq-aggregators.html">Aggregators</a>
 </li>
+  
 </ul>
 </li>
 </ul>
@@ -207,376 +234,7 @@
 <!--================= end middle NavBar ==================-->
 <!--================= start Content==================-->
 <tr>
-<td align="left" width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td colspan="2" align="left" width="100%">
-<div class="content">
-<table class="title" summary="">
-<tr>
-<td valign="middle">
-<h1>Sitemap FAQs</h1>
-</td><script language="Javascript" type="text/javascript">
-function printit() {  
-if (window.print) {
-    window.print() ;  
-} else {
-    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
-document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
-    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML = "";  
-}
-}
-</script><script language="Javascript" type="text/javascript">
-var NS = (navigator.appName == "Netscape");
-var VERSION = parseInt(navigator.appVersion);
-if (VERSION > 3) {
-    document.write('<td nowrap="nowrap" width="40" align="center">');
-    document.write('  <a class="dida" href="javascript:printit()">');
-    document.write('    <img alt="Print this Page" src="../skin/images/printer.gif" class="skin"><br>');
-    document.write('  print</a>');
-    document.write('</td>');
-}
-</script><td nowrap="nowrap" width="40" align="center"><a class="dida" href="faq-sitemap.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br>
-          PDF</a></td>
-</tr>
-</table>
-<a name="N10007"></a><a name="Questions"></a>
-<h3>Questions</h3>
-<div style="margin-left: 0 ; border: 2px">
-<ol>
-<li>
-<a name="faq-N10006-menu"></a><a href="#faq-N10006">
-    What are the steps to pre-compile the sitemap and XSP's?
-  </a>
-</li>
-<li>
-<a name="faq-N1001F-menu"></a><a href="#faq-N1001F">I don't want to hand edit the sitemap.  Are there any
-   tools?</a>
-</li>
-<li>
-<a name="faq-N1002F-menu"></a><a href="#faq-N1002F">How do I create some content which isn't directly visible to
-   everyone?</a>
-</li>
-<li>
-<a name="faq-N1003F-menu"></a><a href="#faq-N1003F">How can I concatenate two xml files?</a>
-</li>
-<li>
-<a name="faq-N1004F-menu"></a><a href="#faq-N1004F">I want to use the XXX matcher/serializer/selecter/etc but there's no
-   examples :(</a>
-</li>
-<li>
-<a name="faq-N10067-menu"></a><a href="#faq-N10067">
-    I changed the sitemap, but my changes don't show in the browser.
-    Do I need to restart the servlet container?
-  </a>
-</li>
-<li>
-<a name="faq-N100C1-menu"></a><a href="#faq-N100C1">When I add an action to a pipeline Cocoon returns an
-  error.</a>
-</li>
-<li>
-<a name="faq-N100E1-menu"></a><a href="#faq-N100E1">
-    What is the syntax for absolute filesystem pathnames.
-  </a>
-</li>
-<li>
-<a name="faq-N10101-menu"></a><a href="#faq-N10101">
-What's the difference between having two pipelines with one matcher 
-each, and one pipeline with two matchers?
-  </a>
-</li>
-<li>
-<a name="faq-N1011F-menu"></a><a href="#faq-N1011F">
-Where can I find more information about the sitemap?
-  </a>
-</li>
-</ol>
-</div>
-<a name="N1003E"></a><a name="Answers"></a>
-<h3>Answers</h3>
-<div style="margin-left: 0 ; border: 2px">
-<a name="N10042"></a><a name="faq-N10006"></a>
-<h4>1. 
-    What are the steps to pre-compile the sitemap and XSP's?
-  </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-    
-<ul>
-      
-<li>Set the auto-reload to false in your sitemap.xmap as follows:</li>
-    
-</ul>
-
-    
-<pre class="code">
-&lt;parameter name="auto-reload" value="false"/&gt;
-</pre>
-
-    
-<ul>
-      
-<li>Use "-Dbuild.precompile=true" in your build command line when you are
-        building your WAR file.
-      </li>
-    
-</ul>
-  
-</p>
-</div>
-<a name="N10059"></a><a name="faq-N1001F"></a>
-<h4>2. I don't want to hand edit the sitemap.  Are there any
-   tools?</h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>Try <a target="_blank" href="http://pollo.sourceforge.net/">this</a>
-     by Bruno Dumon.</p>
-</div>
-<a name="N10065"></a><a name="faq-N1002F"></a>
-<h4>3. How do I create some content which isn't directly visible to
-   everyone?</h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>Put the content in an internal pipeline...</p>
-<pre class="code">
-&lt;map:pipelines&gt;
- &lt;map:pipeline internal-only="true"&gt;
-   &lt;map:match pattern="int"&gt;
-     &lt;map:generate src="docs/description.xml"/&gt;
-     &lt;map:serialize type="xml"/&gt;
-   &lt;/map:match&gt;
- &lt;/map:pipeline&gt;
- &lt;map:pipeline&gt;
-   &lt;map:match pattern="desc.html"&gt;
-     &lt;map:generate src="cocoon:/int"/&gt;
-     &lt;map:transform src="stylesheets/description2html.xsl"/&gt;
-     &lt;map:serialize type="html"/&gt;
-   &lt;/map:match&gt;
- &lt;/map:pipeline&gt;
-&lt;/map:pipelines&gt;
-</pre>
-</div>
-<a name="N10072"></a><a name="faq-N1003F"></a>
-<h4>4. How can I concatenate two xml files?</h4>
-<div style="margin-left: 0 ; border: 2px">
-<pre class="code">
-&lt;map:pipelines&gt;
- &lt;map:pipeline internal-only="true"&gt;
-   &lt;map:match pattern="one"&gt;
-     &lt;map:generate src="docs/one.xml"/&gt;
-     &lt;map:serialize type="xml"/&gt;
-   &lt;/map:match&gt;
-   &lt;map:match pattern="two"&gt;
-     &lt;map:generate src="docs/two.xml"/&gt;
-     &lt;map:serialize type="xml"/&gt;
-   &lt;/map:match&gt;
- &lt;/map:pipeline&gt;
- &lt;map:pipeline&gt;
-   &lt;map:match pattern="desc.html"&gt;
-     &lt;map:aggregate element="newRootElement"&gt;
-       &lt;map:part src="cocoon:/one" element="firstXMLfile"/&gt;
-       &lt;map:part src="cocoon:/two" element="secondXMLfile"/&gt;
-     &lt;/map:aggregate&gt;
-     &lt;map:transform src="stylesheets/merge2html.xsl"/&gt;
-     &lt;map:serialize type="html"/&gt;
-   &lt;/map:match&gt;
- &lt;/map:pipeline&gt;
-&lt;/map:pipelines&gt;
-</pre>
-<p>Where the element attribute names are replaced with something more
-     meaningful!  Note that the map:part element attributes can be left off,
-     which results in the two parts being placed one immediately after the
-     other.</p>
-</div>
-<a name="N1007F"></a><a name="faq-N1004F"></a>
-<h4>5. I want to use the XXX matcher/serializer/selecter/etc but there's no
-   examples :(</h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>If you've checked the sample webapps which come with Cocoon, and you've
-     looked in the documentation, then check both the user and
-     dev archives.  If it hasn't been resolved before <strong>first</strong>
-     email the user group and, after a <strong>reasonable</strong> (ie 1 or 2
-     days) length of time (remember not everyone lives in your timezone) email
-     the dev group.</p>
-<p>Please don't cross-post to both the user and dev groups - very few people
-     like getting bombarded!</p>
-<p>Oh, and once you do get it working - how about documenting it and
-     contributing it back to the group?</p>
-</div>
-<a name="N10093"></a><a name="faq-N10067"></a>
-<h4>6. 
-    I changed the sitemap, but my changes don't show in the browser.
-    Do I need to restart the servlet container?
-  </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>Cocoon lets you decide whether it needs to poll for sitemap changes
-    (with its associated performance penalty) or not. It also lets you decide whether the re-compilation resulting from polling shoud happen in the
-    background or in the foreground.</p>
-<p>If you look at the cocoon.xconf file, you'll notice this element:</p>
-<pre class="code">
-&lt;sitemap file="sitemap.xmap"
-         reload-method="asynchron"
-         check-reload="yes"/&gt;</pre>
-<p>Which means:</p>
-<ul>
-        
-<li>The <span class="codefrag">check-reload</span> attribute determines if the sitemap
-        is reloaded on change. Set to "no", the sitemap is generated once
-        at startup. Set to "yes", the sitemap is regenerated if it changes.</li>
-        
-<li>The <span class="codefrag">reload-method</span> specifies the method for the
-          regeneration:
-          <ol>
-            
-<li>
-<span class="codefrag">asynchron</span>: If the sitemap changes, the sitemap is
-            regenerated at the next request in the background and the incoming
-            request is served with the old sitemap. All subsequent requests
-            are served with the old sitemap until the regeneration in the
-            background has finished.</li>
-            
-<li>
-<span class="codefrag">synchron</span>: If the sitemap changes, the sitemap
-            is regenerated at the next request. When the regeneration is
-            finished, the request (and all subsequent ones) is served with
-            the new sitemap.</li>
-          
-</ol>
-        
-</li>
-      
-</ul>
-<p>
-      For a development environment, set the reload-method to "synchron" and the
-      check-reload to "yes." For a production environment, 
-      set the reload-method to "asynchron." For more safety, set the check-reload
-      to "no."
-    </p>
-<p>In a nutshell: By default, reload is "asynchron" which means:</p>
-<ol>
-        
-<li>Change sitemap</li>
-        
-<li>Hit reload</li>
-        
-<li>Wait while CPU goes up to 100% and back down to 0%</li>
-        
-<li>Hit reload</li>
-        
-<li>Voila - new sitemap is used! :)</li>
-      
-</ol>
-<p>Hence: you don't need to restart the servlet container.</p>
-<p>For sub-sitemaps, this issue is defined in the mounting element:</p>
-<pre class="code">
-&lt;map:mount uri-prefix="foo" src="file:///c:/foo/"
-           check-reload="yes"
-           reload-method="synchron"/&gt;</pre>
-<p>With these settings Cocoon will react to any changes in the sub-sitemap,
-      without even hitting the reload button twice. :)</p>
-<p>
-      Moreover, it is a good idea to use sub-sitemaps because they reduce
-      overall compilation time. For example, changes to a single sub-sitemap won't 
-      require recompilation for the the main sitemap or other sub-sitemaps. This
-      practice leads to greater degree of modularity.
-    </p>
-</div>
-<a name="N100EB"></a><a name="faq-N100C1"></a>
-<h4>7. When I add an action to a pipeline Cocoon returns an
-  error.</h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>Before the action was added to the pipeline it worked fine. After
-  the change Cocoon seems not to find the file specified in the
-  variable that is returned by the matcher.</p>
-<pre class="code">
-&lt;map:match pattern="*"&gt;
-  &lt;map:act type="validate-session"&gt;
-    &lt;map:generate type="serverpages" src="{../1}.xsp"/&gt;
-  &lt;/map:act&gt;
-  &lt;map:serialize/&gt;
-&lt;/map:match&gt;
-</pre>
-<p>Please note in the above example the
-  "<strong><span class="codefrag">../1</span></strong>".</p>
-<p>Map objects returned from matchers, actions etc. are organised
-  <em>hierarchically</em>. Therefore they are not replaced by new ones
-  but older ones are still accessible through a path expression. Here
-  "<span class="codefrag">../1</span>" references key ("variable") "1" in the next to
-  last Map. </p>
-</div>
-<a name="N10108"></a><a name="faq-N100E1"></a>
-<h4>8. 
-    What is the syntax for absolute filesystem pathnames.
-  </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-    In your sitemaps you may need to refer to some resource that is outside
-    the webapp context (e.g. UNIX /foo/bar/this.xsl
-    e.g. Windows C:\foo\bar\this.xsl). You need to use the file: convention.
-   </p>
-<ul>
-    
-<li>UNIX ... <span class="codefrag">file:///foo/bar/this.xsl</span>
-</li>
-    
-<li>Windows ... <span class="codefrag">file:///C:/foo/bar/this.xsl</span>
-</li>
-   
-</ul>
-<p>
-    See further explanation of
-    <a href="../userdocs/concepts/sitemap.html#file-url">file: URLs</a>
-   
-</p>
-</div>
-<a name="N10124"></a><a name="faq-N10101"></a>
-<h4>9. 
-What's the difference between having two pipelines with one matcher 
-each, and one pipeline with two matchers?
-  </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-If there is no other difference in pipeline declarations, then none, really. Note that pipelines can differ by:
-  </p>
-<ul>
-	
-<li>
-visibility: internal-only="true" (not accessible for external requests) or not.
-   </li>
-   
-<li>
-error handling: using different &lt;handle-errors&gt;s.
-   </li>
-   
-<li>
-cachability (since 2.1): some requests can use cached responses
-from caching pipeline. Others, which should not be cached, can be
-handled by the non-caching pipeline implementation.
-  </li>
-  
-<li>
-logical grouping: logically-related components can be grouped into
-separate pipelines to improve readability and ease administrative concerns.
-  </li>
-  
-<li>
-ids: used to identify pipeline and other elements. See the "sitebuilder" sitemap editor
-in scratchpad samples for an example.
-  </li>
-
-</ul>
-</div>
-<a name="N1013E"></a><a name="faq-N1011F"></a>
-<h4>10. 
-Where can I find more information about the sitemap?
-  </h4>
-<div style="margin-left: 0 ; border: 2px">
-<p>
-Learn more about advanced Sitemap features by downloading the free chapter, <a href="http://www.newriders.com/books/product.asp?product_id={C3C05052-BE3B-4E06-A60A-13FB40AF58F6}">A User's Look at the Cocoon architecture,</a> from Langham and Ziegeler's <em>Cocoon: Building XML Applications</em> available at the New Riders web site.
-  </p>
-<p>
-Check out a draft XML Schema <a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/cocoon-2.1/src/documentation/xdocs/drafts/sitemap-2.1-draft.xsd?rev=HEAD&content-type=text/plain">grammar for the Cocoon sitemap</a>, and some <a href="http://outerthought.net/sitemap/">external documentation</a> generated from this Schema. A poster diagram of the sitemap structure is also available.
-   </p>
-</div>
-</div>
-<div class="attribution"></div>
-</div>
-</td><td width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
+<td align="left" width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td colspan="2" align="left" width="100%"></td><td width="10"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
 </tr>
 <!--================= end Content==================-->
 </table>
@@ -587,11 +245,14 @@
 <!--================= start Footer ==================-->
 <table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr>
-<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a><a href="/favicon.ico"></a></td>
+<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a></td>
 </tr>
 <tr>
-<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif">Copyright &copy;
-          1999-2004&nbsp;The Apache Software Foundation. All rights reserved.<script type="text/javascript" language="JavaScript"><!--
+<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif"><a href="http://www.apache.org/licenses/">
+              Copyright &copy; 1999-2005&nbsp;
+              The Apache Software Foundation.</a>
+          All rights reserved.
+          <script type="text/javascript" language="JavaScript"><!--
               document.write(" - "+"Last Published: " + document.lastModified);
             //  --></script></font></td>
 </tr>



Mime
View raw message