OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: XML + default CSS

[ Lists Home | Date Index | Thread Index ]
  • From: Lisa Rein <lisarein@finetuning.com>
  • To: Ian Graham <ian.graham@utoronto.ca>
  • Date: Thu, 02 Nov 2000 06:32:36 -0800

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?


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

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 :-)



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS