# File src/TemplateParser.rb, line 149
                def startToken(tag, id, attributeString)
                        bindings = @bindings[id]
                        bindings = {} unless bindings
                        
                        klass = bindings["class"]
                        klass = tag unless klass
                        
                        attributes = {}
                        attributeString.scan(/([\w\-]+)\s*=\s*(["'])(.*?)(\2)/) do |key, quote, value|
                                attributes[key] = CGI::unescapeHTML(value) unless key == OID
                        end
                        # Kludge.  I want a regexp that can match both key=value attributes and
                        # key only attributes.
                        attributes['checked'] = nil if attributeString =~ /\bvalue\s*=\s*(["'])checked(\2)/i
                        
                        node = Element.newElement(klass, id, bindings, attributes)
                        @nodestack.last.addChild node
                        @nodestack.push node
                end