forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r489797 - /forrest/trunk/whiteboard/forrest2/core/src/docs/createAPlugin.html
Date Fri, 22 Dec 2006 23:02:46 GMT
Author: rgardler
Date: Fri Dec 22 15:02:46 2006
New Revision: 489797

URL: http://svn.apache.org/viewvc?view=rev&rev=489797
Log:
A better example of an XSLTInputPlugin

Modified:
    forrest/trunk/whiteboard/forrest2/core/src/docs/createAPlugin.html

Modified: forrest/trunk/whiteboard/forrest2/core/src/docs/createAPlugin.html
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/src/docs/createAPlugin.html?view=diff&rev=489797&r1=489796&r2=489797
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/src/docs/createAPlugin.html (original)
+++ forrest/trunk/whiteboard/forrest2/core/src/docs/createAPlugin.html Fri Dec 22 15:02:46
2006
@@ -40,13 +40,15 @@
 This means that you need to add an entry to the forrestContext.xml
 file, such as:</p>
 
-<![CDATA[  <bean id="helloWorldXSLTInput"
-    class="org.apache.forrest.test.core.plugins.input.HelloWorldInputPlugin"/>]]>
-
-<p>The Forrest controller will read all the files that it finds in the classpath tat
-match this naming convention.</p>
-
+<![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>]]>
 
+<p>This input plugin will take an XML source document and process it with the indicated
+stylesheet. The result is expected to be an document using the internal Forrest2 format.</p>
 
 <h2>Creating an Java Plugin</h2>
 



Mime
View raw message