ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: <xslt> Many Input xml for one html output.
Date Fri, 08 Dec 2006 08:15:20 GMT
1.) Make one xml file with the whole content
    <echoxml file="tmp.xml"> 
    <concat destfile="tmp.xml" append="true">
        <fileset dir="xml" includes="*.xml"/>
    <echoxml file="tmp.xml"> 
2.) Process that single file.


>-----Urspr√ľngliche Nachricht-----
>Von: Dominique Devienne [] 
>Gesendet: Freitag, 8. Dezember 2006 00:13
>An: Ant Users List
>Betreff: Re: <xslt> Many Input xml for one html output.
>On 12/7/06, Chun Ji <> wrote:
>> I try to use the <xslt> to do a transformation. I have 
>several input XML files, and want to create only one output 
>HTML file. Does someone know how to do it? I am using ant 
>1.6.5 on linux.
>You cannot. You need to create a small XML document that lists 
>the file you want to process, and modify your XSL to process 
>each "file"
>entry of this small document, after loading the file with the
>document() XSL function.
>As far as Ant is concerned, there's always one input XML, one 
>XSL, and one output file. The XSL might load more XML files 
>using document(), and output more files using 
>result-document() in XSL 2.0 or a processor-specific extension 
>in XSL 1.0, but Ant doesn't know that.
>This is more of an XSL question than an Ant question ;-)  Good 
>luck, --DD
>To unsubscribe, e-mail: For 
>additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message