|
The stylesheet iterator is a child iterator which traverses the stylesheet items in a stylesheet. A stylesheet iterator is used much more than for traversing, however. These iterators are often used to insert declarations in a recently inserted stylesheet rule, as many examples illustrate.
Stylesheet iterators offer the common operations available to STL iterator classes, so if you're familiar with STL iterators, using stylesheet iterators will come naturally. Examples are given for all the operations listed below. Also, most examples for other stylesheet operations can be found using stylesheet iterators.
The following list displays the operations available in stylesheet iterator.