Page 1 of 1

Batch Processing Workflow

Posted: Sat Feb 21, 2004 2:42 am
by ahallam
Hi,

A question on batch processing workflow: I work with an Oracle database that has XML documents stored in CLOB fields. I need to:

1. Export all the documents (several hundred)
2. Assign an XML Schema to each document
3. Validate each document
4. Pretty print those that fail (to help me see the structure while editing)
5. Manually fix the problem(s) in each document
6. Remove the XML Schema reference
7. Put all the documents back in the database

I'm looking for ways to automate steps 2 and 7. In oXygen 3.1:

Q1: Is there any way to assign a schema/DTD to multiple documents (all documents in a project, all open documents, or all selected documents (other than use XSL)?

Q2: Is there a way to remove the schema reference from multiple documents (other than use XSL)?

Thanks
Andrew

Posted: Tue Feb 24, 2004 2:49 pm
by george
Hi,
Q1: Is there any way to assign a schema/DTD to multiple documents (all documents in a project, all open documents, or all selected documents (other than use XSL)?

Q2: Is there a way to remove the schema reference from multiple documents (other than use XSL)?
This is not possible with oXygen 3.1. However this is an interesting usecase and I will add it to our bugzilla. I see this implemented by allowing to validate a collection of files from project against a specified external schema. In this way you will not need to alter the documents in order to validate them against your schema.

Best Regards,
George