Problem solved.
I needed basedir thx.
Tamer Demirel schrieb:
Thx, but i dont understand, why a directory XML-INPUT always building???
[email protected] schrieb:
Not tested ...
<xslt style="${XSLT}/myProject.xslt" destdir="${XML_OUTPUT}">
<fileset dir="${XML_INPUT}" includes="*_input.xml"/>
<mapper type="glob" from="*.input.xml" to="*.output.xml"/>
</xslt>
Jan
-----Ursprüngliche Nachricht-----
Von: Tamer Demirel [mailto:[email protected]] Gesendet: Dienstag,
22. Dezember 2009 12:23
An: Ant Users List
Betreff: XSLT Task File- or Patternset
Hello,
i like to use the file or patternset with the xslt task.
but i dont know how it works.
can somebody help me?
the filenames for the input are all:
*_input.xml (01_input.xml, 02_input.xml, test123_input.xml)
the filenames for the output should be:
*_output.xml (01_output.xml, 02_output.xml, test123_output.xml)
How i can achieve this with
<xslt in="${XML_INPUT}/*_input.xml"
out="${XML_OUTPUT}/*_output.xml" style="${XSLT}/myProject.xslt">
<outputproperty name="method" value="text"/>
<outputproperty name="indent" value="yes"/>
<factory
name="org.apache.xalan.processor.TransformerFactoryImpl">
<attribute
name="http://xml.apache.org/xalan/features/optimize" value="true"/>
</factory>
</xslt>
Thx,
Tamer
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]