0) ); foreach ( $terms as $term ) { $xml = new DOMDocument(); $xml->load(get_site_url() . '/avcp/' . $term->name. '.xml'); if (!$xml->schemaValidate(get_site_url() . '/wp-content/plugins/avcp/includes/datasetAppaltiL190.xsd')) { $errori .= $term->name . ' '; } } if ($errori) { update_option('avcp_invalid', '1'); echo '
AVCP | I seguenti file .xml presentano errori: ' . $errori . '