Home Forums General XMetaL Discussion How to write a macro to batch validate multiple documents Reply To: How to write a macro to batch validate multiple documents

amy.kidd

Reply to: How to write a macro to batch validate multiple documents

Hi Derek,

Thank you so very much for sharing this script!

On Xmetal 7.0, it appears to only work for files with the .xml extension. It did let me know one file in my test directory did not validate (that was correct).

However, I mostly use files with the .dita extension. Can the script be fixed easily with a simple change into recognize .dita files as the same as .xml files?

Also, I did try it in a Xmetal 8 trial version and it seems to process all the files with dita or xml extension, but it says they are all correct but I have one file I know has an error in it.

That might simply be a result of my not setting something up correctly with my custom DTDs.

Nevertheless, I only need it for Xmetal 7 at this point.

Thanks Again!

Reply

Products
Downloads
Support