Chriss Shiflett writes about a new page that lists a whole lot of examples/test cases of XSS issues. Using these, you could test your site/system for XSS vulnerabilities. A basic knowledge of XSS is expected already, but in his posting, Shiflett also links to some websites about the basics of XSS.