Translations:Development/Tutorials/Common Programming Mistakes/115/en

From KDE TechBase

When parsing XML documents, one often needs to iterate over all the elements. You may be tempted to use the following code for that: