前一位:../div[@="class"]/preceding-sibling::div[1]后一位:../div[@="class"]/following-sibling::div[1]前N位:../div[@="class"]/preceding-sibling::div[N]后N位:../div[@="class"]/following-sibling::div[N]