|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML + default CSS
hello Ravi and gang: Ravi Kumar wrote: > Folks, > > An XML page with NO style sheet attached to it, is cobbled together as > one long string in browsers with no XSLT support (such as Netscape6) > > Is it possible to present data any better with a default CSS? > Any examples of more intelligent default CSS? and Ian Graham wrote: > > However, each different document type will need its own style sheet, > tailored for the element types (names) specific to it. Thus there is no > way of building a 'generic' style sheet that works for all XML documents. > True this won't work with CSS. But "default" style sheets can be provided using XSL like the "default" XSL style sheet that IE5 uses for XML documents that aren't associated with their own style sheet. (This seems like the same kind of generic functionality that Ravi was asking about.) Since the "XSL" stylesheet in IE5 also uses some DHTML to provide its collapsible tree view effect, it couldn't be implemented as-is by another standards-compliant browser. But I don't see why it matters what is used within a particular application for its default rendering of arbitrary XML. However each browser/device decides to go about it, it sure is useful. Having some kind of default view seems like a minimum requirement for any kind of "XML Browser." I was sure surprised that Netscape 6 didn't provide its own browser-specific default view of an XML document. Seems like it would give that nifty Gecko rendering engine something useful to do :-) lisa
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








