       patt = @startTagOpenDeriv(node)
       if patt instanceof NotAllowed
         return patt
+      unless skipAttributes
       for attr in h.getNodeAttributes(node)
         patt = patt.attDeriv(attr)
         if patt instanceof NotAllowed

        h.getNodeAttr(node, "type"), h.getNodeAttr(node, "ns"), children[0])
      when 'list' then new List children[0]
      when 'attribute'
        attr = new Attribute children[0], children[1]
        new Empty("#{attr}")
        attr
      when 'ref' then new Ref h.getNodeAttr(node, "name"), defines
      when 'oneOrMore' then new OneOrMore children[0]

  h = require('../helper')

  DEBUG = false
  skipAttributes = false

  uniqueIndex = 0
  indexCount = {}
