Batch Processing Workflow
Posted: Sat Feb 21, 2004 2:42 am
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
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