ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamer Demirel <demi...@in.tum.de>
Subject Re: AW: XSLT Task File- or Patternset
Date Thu, 24 Dec 2009 16:18:48 GMT
new problem:

i like to have something like that

input:  *_INPUT.xml output always: MYOUTPUT.xml

so the input can be changed. but the output is always the same?
any ideas?

thx
tamer

Jan.Materne@rzf.fin-nrw.de 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:demirel@in.tum.de] 
>> 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: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message