>> > 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> >> or use the <header> and <footer> elements of <concat> >> : >> <concat file="tmp.xml"> >> <header><root></header> >> <fileset dir="." includes="*.xml"/> >> <footer></root></footer> >> </concat> > >Eh guys, what about the <?xml> declarations??? AFAIK, you >can't have those in the middle of the file, can you? OK, I'm >just grumpy because I didn't think of it myself! ;-)
Mmmh - as long as you dont parse that the declaration and PIs dont matter ;-) So could use regexp-filterchains for extracting/deleting them? >But seriously, I think Ant would be more useful if we allowed >custom SAX sources in <xslt>, to allow merging XML files like >in this use case, or allow processing HTML files in XML by >first normalizing it to XML using tag-soup, or allow >processing any file for which there's a parser that can output >SAX events. --DD mmmh .... SAX events as <resource>? Jan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]