[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML on Gecko

Subject: Re: XML on Gecko
From: "Richard Lander" <rlander@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 31 Mar 1999 08:13:34 -0500
xml document gecko
 Comrad,

Yes, CSS can be used to style XML documents and is the only option in
Mozilla browsers. You must make sure to include 'display' to describe your
elements.

Your CSS code:

name {font: 14px arial;}
address {font-weight: 600;}

Modified:

name {display: inline; font: 14px arial;}
address {display:block;font-weight: 600;}

You can find a short tutorial in the CSS2 Tutorial on the W3C site -
http://www.w3.org/Style/CSS/

I hope that helps.

I find that the best way of styling XML documents is to use XT for
conversion to HTML, either through XT or IE5, then use CSS for formatting
the resultant HTML. XSL is eventually supposed to do all that on its own but
as always, we have to wait. The current system isn't that bad anyway.

Good luck,

Richard.
----- Original Message -----
From: Peter-Paul Koch <ppk@xxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Wednesday, March 31, 1999 5:18 AM
Subject: Re: XML on Gecko


> >Actually, Gecko's support of XML is quite good. Its support of XSL,
> >however, is for the moment non-existent. That's where your problem
probably
> >lies.
>
> I see.
>
> >Assuming your next question will be: How can I use XSL for both major
> >browsers *now*?, the answer which I (and many others) are pursuing is to
> >use XSL to transform the XML document into HTML, using a tool such as
James
> >Clark's xt.
>
> I see. I assume this happens server side. Could you give me a URL?
>
> >It's also worth keeping in mind the fact that differing implimentations
of
> XSL often differ from one another, and the fact that you have a piece of
> work running in one, doesn't mean it will work in another.
>
> I expected this, that's why I wanted to test in IE5 and Gecko.
>
> >Gecko and other Mozilla clones support XML+CSS.
>
> So I can use CSS to display XML? Wew, didn't know this. Thanks. Do I have
> to do anything special, or just, say
>
> name {font: 14px arial;}
> address {font-weight: 600;}
>
> etc.
>
> >Let us know if you need more information!
>
> Well, I just got the order to learn XML, so I need a lot of info. But I'll
> keep on reading this list, it'll help me to get some key concepts. Is
there
> a good glossary that explains all terms and stuff that regularly pass on
> this list? (XT, HFC or something, etc.)?
>
> Thanks for the reactions,
>
> ppk
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.