forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r476391 - /forrest/trunk/whiteboard/forrest2/src/docs/examples/affiliateProductCatalogue.html
Date Sat, 18 Nov 2006 00:34:40 GMT
Author: rgardler
Date: Fri Nov 17 16:34:39 2006
New Revision: 476391

URL: http://svn.apache.org/viewvc?view=rev&rev=476391
Log:
<code> == <p class="code">

Modified:
    forrest/trunk/whiteboard/forrest2/src/docs/examples/affiliateProductCatalogue.html

Modified: forrest/trunk/whiteboard/forrest2/src/docs/examples/affiliateProductCatalogue.html
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/src/docs/examples/affiliateProductCatalogue.html?view=diff&rev=476391&r1=476390&r2=476391
==============================================================================
--- forrest/trunk/whiteboard/forrest2/src/docs/examples/affiliateProductCatalogue.html (original)
+++ forrest/trunk/whiteboard/forrest2/src/docs/examples/affiliateProductCatalogue.html Fri
Nov 17 16:34:39 2006
@@ -65,20 +65,20 @@
 with Forrest. Just add the following line to your forrestContext.xml
 file.</p>
 
-<code><![CDATA[
+<p class="code"><![CDATA[
 	<bean id="tradeDoubler"
 		class="org.apache.forrest.examples.affiliateProductCatalogue.reader.TradeDoubler" />
-]]></code>
+]]></p>
 
 <p>This bean definition registers our new reader with the psudo protocol
 <span class="source">tradeDoubler</span>. So, lets add a locationmap entry
 to read our example feed:</p>
 
-<code><![CDATA[
+<p class="code"><![CDATA[
   <location pattern="tradeDoubler.*">
     <source href="tradeDoubler:classpath:/xdocs/exampleFeed.xml"/>
   </location>
-]]></code>
+]]></p>
 
 <p>Notice how we use the <span class="source">tradeDoubler</span> psuedo
protocol
 to tell Forrest which reader to use.</p>
@@ -111,13 +111,13 @@
 to define our input plugin we just need to add the following to
 forresContext.xml</p>
 
-<code><![CDATA[
+<p class="code"><![CDATA[
 	<bean id="org.apache.forrest.example.affiliateProductCatalogue.TradeDoublerProductFeed"
 		class="org.apache.forrest.core.plugin.XSLTInputPlugin">
 		<property name="xsltURL"
 			value="/src/xslt/tradeDoublerFeed-to-internal.xsl" />
 	</bean>
-]]></code>
+]]></p>
 
 <p>Note how we use an ID that is the same as the document type
 created by our reader.</p>
@@ -141,14 +141,14 @@
 we need only configure a version of the XSLTOutputPlugin. To do
 this we need to add the following to our forrestContext.xml:</p>
 
-<code><![CDATA[
+<p class="code"><![CDATA[
 	<bean id="htmlOutputPlugin"
 		class="org.apache.forrest.core.plugin.XSLTOutputPlugin">
 		<property name="pattern" value=".*(html|htm)" />
 		<property name="xsltPath"
 			value="/xdocs/samples/xslt/internal-to-html.xsl" />
 	</bean>
-]]></code>
+]]></p>
 
 <p class="todo">The above location of the xsltPath will need
 to change to someting more permanent.</p>



Mime
View raw message