have layout ignore non-element xml nodes (which includes things like whitespace)

By using childNodes instead of children, we were also getting text nodes for whitespace in our xml.  We would then throw when xmlChild.getAttribute was not defined.  Instead we should only look at element childNodes.