> Or just adding an xml data island to your document that has everything > you want it it and then parsing that using xpath. This is approach is > much cleaner, should validate, and we already have the tools to parse it.
The problem with that technique is that, in the end, you still have to do a 1-to-1 correlation from your XML elements to your HTML - and it's never as "simple" as giving everything an ID and just calling it a day. Additionally, an XML data island would only work if 1) You're actually using XHTML and 2) You've defined a namespace or DTD to hold all the data. And in the end, it would still render in browsers that don't have CSS support (or screenreaders, or text-based browsers, etc.). This plugin implements the only (for now) three methods that gracefully degrade in older browsers. --John _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
