1.) Make one xml file with the whole content
    <echoxml file="tmp.xml"> 
        <root> 
    </echoxml>
    <concat destfile="tmp.xml" append="true">
        <fileset dir="xml" includes="*.xml"/>
    </concat>
    <echoxml file="tmp.xml"> 
        </root> 
    </echoxml>
2.) Process that single file.


Jan


>-----Ursprüngliche Nachricht-----
>Von: Dominique Devienne [mailto:[EMAIL PROTECTED] 
>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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For 
>additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to