- From: Felix Lam <felixlam98@hotmail.com>
- Date: Wed, 11 Nov 1998 22:21:23 PST
- 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 UTC