You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2004/07/20 14:28:41 UTC

svn commit: rev 23082 - forrest/trunk/src/documentation/content/xdocs/howto

Author: thorsten
Date: Tue Jul 20 05:28:40 2004
New Revision: 23082

Modified:
   forrest/trunk/src/documentation/content/xdocs/howto/howto-pdf-tab.xml
Log:
added wholesite="false" to exclude sites from the aggregation.


Modified: forrest/trunk/src/documentation/content/xdocs/howto/howto-pdf-tab.xml
==============================================================================
--- forrest/trunk/src/documentation/content/xdocs/howto/howto-pdf-tab.xml	(original)
+++ forrest/trunk/src/documentation/content/xdocs/howto/howto-pdf-tab.xml	Tue Jul 20 05:28:40 2004
@@ -121,6 +121,7 @@
   <map:generate src="cocoon://abs-linkmap"/>
   <map:transform type="xpath">
 	<map:parameter name="include" value="//*[@wholesite='true']"/>
+	<map:parameter name="exclude" value="//*[@wholesite='false']"/>
   </map:transform>
   <map:transform src="resources/stylesheets/site2book.xsl" />
   <map:transform src="resources/stylesheets/aggregates/book2cinclude.xsl">
@@ -194,6 +195,21 @@
       <code>wholesite="true"</code>
       (in our example <code><![CDATA[<samples>]]></code>
       and its "children") for the content of the pdf file to be generated.
+    </p>
+    <source><![CDATA[ 
+<samples label="Samples" href="samples/" tab="samples" wholesite="true">
+ <sample2 label="Static content" href="sample2.html"      
+   description="More Samples" wholesite='false'/>
+ <sample-wiki label="Wiki page" href="wiki-sample.html"      
+   description="wiki-sample" />
+ <sample-ihtml label="ihtml page" href="ihtml-sample.html"      
+   description="Test iHTML page" />
+</samples> ]]>    	
+    </source>
+    <p>
+      This example shows that you can as well exclude site(s) from the aggregation 
+      by using the <code>wholesite="false"</code> attribute. This attribute will be as well inherited 
+      by all children of the element.
     </p>
     <p>
       Line 8 defines the title of the pdf file by taking the content