Re: XSL and XML

Subject: Re: XSL and XML
From: "Richard Lander" <rlander@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Apr 1999 16:08:27 -0400
 Shane,

If you are including Gecko in your requirements, then you can't use XSL. You
must use CSS. The CSS-2 spec provides a quick but nice tutorial on how to
write CSS rules for XML - http://www.w3.org/TR/REC-CSS2/intro.html#q2 -. It
isn't really any different than writing for HTML except that the 'display'
property is neccessary.

I've noticed that IE5 doesn't like DOCTYPE declarations when using CSS. It
may not make sense but I've had trouble mixing the two.

For CSS specific information, you might try
comp.infosystems.www.authoring.stylesheets , a newsgroup. They love talking
about CSS.

Richard.

Richard Lander
relander@xxxxxxxxxxxx
http://pdbeam.uwaterloo.ca/~rlander/

Professional XML Authoring - Starts May 12th
http://www.on-line-learning.com/

----- Original Message -----
From: Trahan, Shane <srt@xxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Friday, April 23, 1999 3:07 PM
Subject: XSL and XML


> I am still rather new to all of this.. But I am hoping that someone can
lead
> me in the right direction..
>
> I have a DTD and an XML file that Contains my information (It is really
> simple.)
>
> My next step is actually format this information move it around the page
> etc.
>
> I have Netscape Gecko and MSIE 5 and I would like to try to make this work
> across browsers (Don't flame me ;))
>
> I have an example here of using javascript inside a CSS to modify these.
But
> I am not sure what to do from this point..
>
> What I am trying to do is simply be able to view my XML document according
> to my DTD and sort it alphabetically..
>
> Here is just an example of my code..
>
>
>
> MYFIRST.DTD
> <!ELEMENT FromQtr1 (DUID,STATCODE,FIID,QEXTYPE,ROC)>
> <!ELEMENT DUID (#PCDATA)*>
> <!ELEMENT STATCODE (#PCDATA)*>
> <!ELEMENT FIID (#PCDATA)*>
> <!ELEMENT QEXTYPE (#PCDATA)*>
> <!ELEMENT ROC (#PCDATA)*>
>
>
>
> XMLTEST.XML
> <?xml version ="1.0"?>
> <!DOCTYPE QTR1 SYSTEM "MyFirst.dtd">
> <FromQtr1>
> <DUID>NJ08020157</DUID>
> <StatCode>02</StatCode>
> <FIID>458000</FIID>
> <QEXTYPE>CAI</QEXTYPE>
> <ROC>1.0</ROC>
> </FromQtr1>
>
>
>
> Can someone give me some code to start with?
>
> Or some examples that I can mess with?
>
> Thanx in advance
>
>
>
>
>
>  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