protected function quotedAttributeValue($quote) {
        $stoplist = "\f" . $quote;
        $val = '';
        $tok = $this->scanner->current();
        while (strspn($tok, $stoplist) == 0 && $tok !== false) {
            if ($tok == '&') {
                $val .= $this->decodeCharacterReference(true);
                $tok = $this->scanner->current();
            } else {
                $val .= $tok;
                $tok = $this->scanner->next();
            }
        }
        $this->scanner->next();
        return $val;
    }
protected function quotedAttributeValue($quote) {
        $stoplist = "\f" . $quote;
        $val = '';
        $tok = $this->scanner->current();
        while (strspn($tok, $stoplist) == 0 && $tok !== false) {
            if ($tok == '&') {
                $val .= $this->decodeCharacterReference(true);
                $tok = $this->scanner->current();
            } else {
                $val .= $tok;
                $tok = $this->scanner->next();
            }
        }
        $this->scanner->next();
        return $val;
    }
protected function quotedAttributeValue ( $ quote ) { $ stoplist = "\f" . $ quote ; $ val = '' ; $ tok = $ this -> scanner -> current ( ) ; while ( strspn ( $ tok , $ stoplist ) == 0 && $ tok !== false ) { if ( $ tok == '&' ) { $ val .= $ this -> decodeCharacterReference ( true ) ; $ tok = $ this -> scanner -> current ( ) ; } else { $ val .= $ tok ; $ tok = $ this -> scanner -> next ( ) ; } } $ this -> scanner -> next ( ) ; return $ val ; }
Get an attribute value string.

@param string $quote
IMPORTANT: This is a series of chars! Any one of which will be considered
termination of an attribute's value. E.g. "\"'" will stop at either
' or ".
@return string The attribute value.
Get an attribute value string .