Location: PHPKode > projects > Html2ps > html2ps-2.0.43/xml.validation.inc.php
<?php
class HTML2PS_XMLUtils {
  function valid_attribute_name($name) {
    // Note that, technically, it is not correct, as XML standard treats as letters 
    // characters other than a-z too.. Nevertheless, this simple variant 
    // will do for XHTML/HTML

    return preg_match("/[a-z_:][a-z0-9._:.]*/i",$name);
  }
}
?>
Return current item: Html2ps