A stylesheet iterator is an iterator which traverses over stylesheet items within a stylesheet. A stylesheet item may be a stylesheet rule, import rule, or a comment. The syntax used to create a stylesheet iterator is stylesheet::iterator or stylesheet::const_iterator. Stylesheet iterators work just like the iterators in the STL.