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/14 14:18:43 UTC

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

Author: michi
Date: Tue Feb 14 05:18:40 2006
New Revision: 377718

URL: http://svn.apache.org/viewcvs?rev=377718&view=rev
Log:
XSLT transformation added for testing stylesheets

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=377718&r1=377717&r2=377718&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/bin/util.xml (original)
+++ lenya/trunk/src/webapp/lenya/bin/util.xml Tue Feb 14 05:18:40 2006
@@ -63,7 +63,7 @@
 </target>
 
 <!-- e.g. tidying legacy "HTML" stylesheets -->
-<target name="u2l" description="Transforms upper to lower case"> 
+<target name="u2l" description="Transforms upper to lower case."> 
     <echo>INFO: Upper 2 lower case</echo>
     <xslt
         basedir="/home/username/upper_case"
@@ -74,5 +74,14 @@
         />
 </target>
 
+
+<target name="xslt" description="Transforms an XML into another by using an XSLT. Usage: -Din=in.xml -Dxslt=in2out.xsl -Dout=out.xml"> 
+    <echo>INFO: Transform ${in}</echo>
+    <xslt
+        in="${in}"
+        out="${out}"
+        style="${xslt}"
+        />
+</target>
 
 </project>



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