Page 1 of 1

Batch operation

Posted: Mon Mar 20, 2006 1:23 pm
by Alantin
I've run into several occasions where I needed to validate, transform and perform similar operations on large numbers of relatively small XML and XSLT documents. Opening each file with Oxygen and performing the necessary operations is rather time-consuming. On the other hand, working with batch files and separate installations of various processors, parsers, etc isn't my idea of working efficiently, either.

I'm pretty sure Oxygen doesn't yet provide batch operations (unless I've missed it completely), so I would like to know if this is being considered at all by the development team. I can understand the possible difficulties with assigning transformation scenarios to a multitude of files, but at least validation and well-formedness checking of a large amount of files shouldn't be a problem, right?

Posted: Mon Mar 20, 2006 1:46 pm
by george
Hi,

oXygen provides batch operations. They are avaiable from the context menu on the Project View and are applied on files in the current selection (if you are using the Eclipse plugin make sure you are in the oXygen XML perspective). The batch actions are

Check well form - checks that the documents are wellformed
Validate selection - validate each document with its own specified schema or applies its specific validation action in case that document is not XML.
Validate selection with... Performs the validation of each selected file with a specified schema.
Apply transformation scenario - applies the transformation scenario associated with each file on that file.
Transform with... - transforms the selected files with a scenario you choose.

Best Regards,
George

Posted: Mon Mar 20, 2006 4:52 pm
by Alantin
Wow... I must have been blind. I guess I never thought to check there. I have to admit that I hardly ever use a program's project functionality. I guess that's about to change now, thanks to you guys. Great work!