1429Chapter 57 .Application: Transforming XML Data Islands elements (Cpanel web hosting)
1429Chapter 57 .Application: Transforming XML Data Islands elements can let the user select any combination of subsets of the data in either bar chart or numeric table form to facilitate visual comparisons. You might be even more creative and devise ways of showing the data by way of overlapping positioned elements. The point is that despite the kinds of rendering opportunities afforded by the XSL Transform mechanism (even if you can get comfortable in the syntax and men tal model it presents to authors), JavaScript s detailed access to the DOM offers far more potential. Eventually plenty of content authors will mix the two technologies by embedding JavaScript into XSL style sheets to supplement XSL features. What About NN6? Microsoft s XML data islands are not (yet anyway) part of the W3C DOM. As NN6 was being readied for release, there was little imperative to implement this feature in the browser (very few convenience features of the IE4+ DOM were adopted in NN6). And, as mentioned elsewhere, without the XML data islands, combining XML and HTML in the same document is not strictly legal. Oddly enough, the example in this chapter works in NN6, but it is an accident. For one thing, the tag names in the XML data do not overlap with any HTML tag names. But don t take this to mean you can get away with these kinds of constructions. Even if you can force fit your XML into an HTML document to get it to work, you have no guarantee it will work in subsequent browser versions. To combine the powers of JavaScript and the W3C DOM to operate on XML data in NN6, we have to keep our eyes on availability of the browser s built-in capabili ties for standard XSL Transform facilities. Some of it works even in the earliest releases of the new browser, but what works in NN6 doesn t work (or work well) in IE5+, and vice versa. Veteran scripters, who bear scars from battles with DOM incompatibilities, may choose to delay deployments of such content until there is more unanimity among the latest browsers. Browser incompatibilities are responsi ble for a massive inflation of object model vocabulary (not to mention the thickness of this book). Perhaps the day will come when the code we write for even complex applications will run cleanly on a broad range of installed browsers on a broad range of devices. Don t give up on the dream. …
We would like to recommend you tested and proved virtual web hosting services, which you will surely find to be of great quality.