You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2006/02/22 12:14:52 UTC

svn commit: r379751 - /lenya/trunk/src/webapp/lenya/bin/util.xml

Author: michi
Date: Wed Feb 22 03:14:43 2006
New Revision: 379751

URL: http://svn.apache.org/viewcvs?rev=379751&view=rev
Log:
xslt target added to test

Modified:
    lenya/trunk/src/webapp/lenya/bin/util.xml

Modified: lenya/trunk/src/webapp/lenya/bin/util.xml
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/bin/util.xml?rev=379751&r1=379750&r2=379751&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/bin/util.xml (original)
+++ lenya/trunk/src/webapp/lenya/bin/util.xml Wed Feb 22 03:14:43 2006
@@ -74,13 +74,23 @@
         />
 </target>
 
-
-<target name="xslt" description="Transforms an XML into another by using an XSLT. Usage: -Din=in.xml -Dxslt=in2out.xsl -Dout=out.xml"> 
+<target name="xslt" description="Transforms an XML file into another one by using an XSLT. Usage: -Din=fileIn.xml -Dxslt=in2out.xsl -Dout=fileOut.xml"> 
     <echo>INFO: Transform ${in}</echo>
     <xslt
         in="${in}"
         out="${out}"
         style="${xslt}"
+        />
+</target>
+
+<target name="xslt-dir" description="Transforms all XML files within a specified directory into new files one by using an XSLT. Usage: -Din=dirIn -Dxslt=in2out.xsl -Dout=dirOut"> 
+    <echo>INFO: Transform ${in}</echo>
+    <xslt
+        basedir="${in}"
+        destdir="${out}"
+        style="${xslt}"
+        includes="**/*.xhtml"
+        extension=".html"
         />
 </target>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org