cleaned up styling for adding attributes, elements; tweaked XBL to enable attributes