diff --git a/manual/Types/filterchain.html b/manual/Types/filterchain.html index 02f300e5c..3f62286d0 100644 --- a/manual/Types/filterchain.html +++ b/manual/Types/filterchain.html @@ -585,9 +585,14 @@ user defined values.

Example:

This replaces occurrences of the string @DATE@ in the data -with today's date and stores it in the property ${src.file.replaced} +with today's date and stores it in the property ${src.file.replaced}.
 <tstamp/>
+<!-- just for explaining the use of the properties -->
+<property name="src.file" value="orders.csv"/>
+<property name="src.file.replaced" value="orders.replaced"/>
+
+<!-- do the loading and filtering -->
 <loadfile srcfile="${src.file}" property="${src.file.replaced}">
   <filterchain>
     <filterreader classname="org.apache.tools.ant.filters.ReplaceTokens">
@@ -595,6 +600,9 @@ with today's date and stores it in the property ${src.file.replaced}
     </filterreader>
   </filterchain>
 </loadfile>
+
+<!-- just for explaining the use of the properties -->
+<echo message="${orders.replaced}"/>
 
Convenience method: