parse and store attribute selectors