a comment for those who use a validating XML editor and might wonder why that schema file throws an error (it's all perfectly fine, just a chicken and egg issue an editor couldn't possibly resolve)
use xml schema list type instead of a complicated regex for the custom php_label_list type
factored out xml parsing, xincludes, xslt, xml schema
trailing blank lines