[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Creating csv from multiple input files
Georg,
The usual way of concatenating results into a single file is to use a shell script or application. This is because such a mechanism isn't strictly within the confines of XSLT, having to do with processing architectures and not transformations. To standardize a mechanism would necessarily favor one sort of platform, environment or framework, so the best a spec can do is make it optional or leave it out entirely. Accordingly, you're not going to find what you want as a standard mechanism, and many (most) processors aren't going to give you a way of writing many results to one file at all; if they do it'll be via extension mechanisms. (Many processors won't want to do this in any case since it raises the question of how to define an order for the results of many transformations.) But if you are invoking Saxon from the command line, it should be straightforward to invoke it from a script that also concatenates all the result files into one when it's done. Cheers, Wendell At 09:24 AM 5/6/2008, you wrote: Hi, this question has been asked a few times in this list but i couldn't find an answer that works for me. I want to process multiple xml-files in one folder and write the output to one single file. ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|