if you're selling it with XP installed but not licensed it's illegal anyways, so why not just grab a copy, format a couple times (with zero-filling or something if you're worried about that) and reinstall. if you're selling it without an OS, just format and sell it.