Learn the future of XML scripting techniques.
E4X is new, and it isn't available in Firefox 1.0. It is being implemented rapidly, though, and is likely to be present in the 1.1 release or thereabouts. It's fun to play with, and it's the future of XML scripting.
objects, such as
document.images. Strengths: simple.
Weaknesses: limited to HTML.
Use W3C DOM 1, 2, or 3 interfaces, usually starting with
). Strengths: generic to all XML. Weaknesses:
.innerHTML features to turn a string
containing XML into DOM content, or more rarely use the DOM 3 Load
& Save interfaces. Strengths: simple. Weaknesses:
Use XPath query ...