
Batch transformations is something I've been trying to do for a while. I have one XSL and I was to run it against ~50 XML files. Currently I have to run something like this in a dos shell: java -jar saxon9.jar -s:. -xsl:transform.xsl Under "Configure transformation scenario..." it allows you to select one XSL and one XML. It would be nice if you could select a directory for the XML (so run against all XML in that directory), or specify *.xml Is there a way around this? J. -----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of George Cristian Bina Sent: 23 October 2009 19:01 To: Wendell Piez Cc: oxygen-user@oxygenxml.com Subject: Re: [oXygen-user] Batch transformations Hi Wendell, That functionality should be covered now with the support to associate transformation scenarios on the project selected files, including folders. So you can use the "Configure transformation scenario..." action on a folder (or on your selection) and select the scenario then close the dialog with the "Transform now" button if you want the scenario to be applied immediately after closing the dialog. Further you can trigger the transformation again with the "Apply transformation scenario" action. Thinking now about this I think it may be good to add also the "Transform with..." action back as that allows applying a scenario without associating it with the documents (or folders). Let me know also if your use case is not covered by this scenario association that we have in version 11. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Wendell Piez wrote:
Hi,
In the Projects View in v10.3, the context menu items for files and folders included one that allowed the application of a Transformation Scenario that hadn't yet been associated with the document(s) -- "Transform with..." or some such. (It was analogous to validating with an external schema. You picked the Transformation Scenario you wanted to run, and voila.)
This menu option is gone from 11.0 and I miss it. It was especially useful for transforming documents in batches. I suspect there is another way to achieve the same thing. Any tips?
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@mulberrytech.com 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 ======================================================================
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user