getAttribute('select'); if (!preg_match('#^@[-\\w]+(?:\\s*\\|\\s*@[-\\w]+)*$#', $expr) && $expr !== '@*') { throw new RuntimeException("Unsupported xsl:copy-of expression '" . $expr . "'"); } } }