Traversing the DOM can be a painful beast at times, but we can remove a lot of that pain by writing a simple set of iterators that will allow us to pick it apart at will. When you ask for the childNodes of an element, most of the time youâre just wanting the element nodes only and youâd like to completely ignore the text nodes. Using Prototype, you could write something like the code below: elemen
{{#tags}}- {{label}}
{{/tags}}