We're using one huge Perl Hash throughout the life of our application to store all details. We use data in this hash to write to the XML documents in the database. Is it possible to create some sort of XML schema from this hash to validate all the documents in the database against? Is there a Perl module that does something similar?
Thanks,
Kwalify and Rx are schema languages/validators for (Perl) data structures.
A related useful tool is dpath for accessing items in data structures with a syntax similar to XPath.