Hopefully I hacked something usefull together. Works for me very well, but before I add it to the CVS I really want to know if it works for others. You can download it from: http://www.romanofski.de/downloads/validateReferences.py I really want to know if the script works as well as for me. Installation: Just drop it in the root of the gimp-help-2 directory and run it by: python validateReferences.py This should spill out xml files which have broken references. You can call it with the '-i' option to check for orphaned image files. A help is also available by using the '-h' option. The script uses either the python default xml stuff or lxml. I prefer the latter one, because it has no awful side effects as the normal libxml bindings in python. Well, whatever you prefer ... Feel free to hack this script :) Greetings, -- Roman Joost www: http://www.romanofski.de email: romanofski@xxxxxxxx
Attachment:
pgphVVr35MbEe.pgp
Description: PGP signature
_______________________________________________ Gimp-docs mailing list Gimp-docs@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs