Short skirts are barely functional, so those women who do wear them almost undoubtedly wear them purely for attention.
However, I will add that while I do wear pantyhose, I do NOT wear short, skimpy skirts. First and foremost, I dress for MYSELF. If some men are turned on by some aspect of my appearance, it is a side effect. Although this probably isn't the answer you want to hear, most normal women do not dress with the sole intent of turning men on, sorry.