<notes> <note id="note 1">This is the text for note 1</note> <note id="note 2">This is the text for note 2</note> </notes>
Then your JS object would give you access like this…
It also gives you access to the original xmlNode object from which it was derived…
I learned today what actually causes the majority of the CSS problems I run into with IE. It’s a property of each page element called hasLayout. Only the standard HTML tags (P, H1, BLOCKQUOTE, etc) have layout by default. There are a number of ways to force hasLayout to be enabled without affecting the layout of the element. The easiest and most fool proof that I’ve found is to add the following style to your object:
If you are familiar with the underscore hack you know that only IE will respect this rule.
For a much more detailed explaination you can visit this well written page: