|
The markup iterator is a child iterator which traverses the immediate markup children of the called element. A markup iterator is used much more than for traversing, however. Many of the operations in document and element objects return a markup iterator, and many more accept markup iterators as arguments. Of all iterators available in Xport, markup iterator will by far be the most likely used of all the others.
markup iterator offers the common operations available to STL iterator classes, so if you're familiar with STL iterators, using markup iterators will come naturally. There are examples for all the operations listed below. Also, most examples for other Xport operations can be found using markup iterators.
The following list displays the operations available in markup iterator.