W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1998

Using IE5.0 for XML and CSS

From: Felix Lam <felixlam98@hotmail.com>
Date: Wed, 11 Nov 1998 22:21:23 PST
Message-ID: <19981112062124.15166.qmail@hotmail.com>
To: www-dom@w3.org
How do I apply an exteranl CSS style sheet to a XML document?
Providing that my .DTD file all work.

I was testing the following XML code:
-------------------------------------

<?xml version="1.0" standalone="no"?>
<?XML:stylesheet type="text/css" href="mri.css"?>

  <!DOCTYPE External1 SYSTEM "External1.dtd">
<External1>
     <item>item</item>
     <External2><item2>item2</item2></External2>
</External1>


I was using the following CSS code:
-----------------------------------
External1 { font-style : italic;
font-size : 20;
color : #400040;
text-align : right }

item { font-style : italic;
font-size : -1 }

External2 { font-style : italic;
font-size : 20;
color : #400040;
text-align : left }

item2 { font-weight : bold;
font-size : 16;
text-decoration : underline;
height : 20 }

Thanks,
Felix Lam


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Received on Thursday, 12 November 1998 01:21:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT