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: Ian Graham <igraham@ic-unix.ic.utoronto.ca>
  • To: Ravi Kumar <rkumar@inprise.com>
  • Date: Thu, 02 Nov 2000 08:46:12 -0500 (EST)


On Wed, 1 Nov 2000, 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?

Most XML-aware browsrs support CSS for styling XML -- the mechanism for
doing so (a PI) is described at http://www.w3.org/TR/xml-stylesheet/,
which includes examples illustrating references to CSS style sheets.

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.

Hope this helps --

Ian





 

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

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