Going by your requirement, you can : a) Generate a big XML file on the fly, using xmltask. - Take one xml file and copy it into the BIG.xml , and for all other xml files, copy all the data excluding their root inside the root element of BIG.xml.
This link can help you with xpath: http://www.zvon.org/xxl/XPathTutorial/General/examples.html b) Use that, to generate the html file. c) Discard that big XML file. hope it help. ~ramnish. -----Original Message----- From: Douglas Lochart [mailto:[EMAIL PROTECTED] Sent: 29 July 2005 16:09 To: Ant Users List Subject: Re: XSLT - Many Input One Output A non ANT solution to your problem may be to dynamically create a single XML file that simply includes the other xml files. Then you pass the single xml file to the processor. This requires using xi:include. example: <document-root xmlns:xi="http://www.w3.org/2003/XInclude"> <xi:include href="file1.xml"/> <xi:include href="file2.xml"/> etc... </document-rrot> good luck Doug KrustyDerClown wrote: > Hello, > > thx for the link. Before i decide which way i go ... is it easier to > merge many xml input files to one output files with a XSL stylesheet > or is it easier with this <xmltask> ? > > Can you estimate this ? > > Greets Oliver > > ----- Original Message ----- From: "Patrick Martin" <[EMAIL PROTECTED]> > To: "Ant Users List" <user@ant.apache.org>; "KrustyDerClown" > <[EMAIL PROTECTED]> > Sent: Friday, July 29, 2005 3:41 PM > Subject: Re: XSLT - Many Input One Output > > > Hello, > > You might want to have a look at xmltask [1]. > > Regards, > > Patrick > > [1] http://www.oopsconsultancy.com/software/xmltask/ > > On 7/29/05, KrustyDerClown <[EMAIL PROTECTED]> wrote: > >> Hello, >> >> i use the <xslt> task for a XSLT transformation. I have multiple >> sources (XML files) and want only one output file (one HTML file). >> The number of the XML input files for the transformation is various >> in any cycle, but this is not a problem with using the includes >> attribute from the <xslt> task. >> The XML input files have all the same structure and can be transform >> with the same XSL stylesheet. (the xml files are splitted >> automatically from the program which creates this xml files). >> >> Is that possible with the xslt task in ANT or must i create first one >> big XML file with another xsl stylesheet ? Or is there another >> workaround ? >> >> Greets Oliver >> >> >> > > --------------------------------------------------------------------- > 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] ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]