> pre-process the schema into a Perl data structure. I would have to think that either (a) pre-processing the schema, or (b) having the schema drive acceptance or rejection, would perform far better. Parsing the Schema once should be cheaper than querying it. Unless it's really baroque and ambiguous, in which case you'd need reduction matching to determine what pieces are (un)compliant.
For Xpath-ish things (which I don't think you want here) I usually opt for XML::Twig. http://www.perladvent.org/2009/6/ bill _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

