Topic: First try at XSL and XML (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=10749" title="Pages that link to Topic: First try at XSL and XML (Page 1 of 1)" rel="nofollow" >Topic: First try at XSL and XML <span class="small">(Page 1 of 1)</span>\

 
Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 06-06-2002 06:25

Well, I'll be using XSL for a summer job that my dad got me, so I figured I had better learn how it works, hah =)

I threw this together and thought some of you might find it interesting (the functionality, not really the content):

http://www.slimeland.com/experiments/xsl/slimeland.xml

View the source to see the data that it comes from, and see http://www.slimeland.com/experiments/xsl/slimeland.xsl for the XSL that transforms it.

[edit: posted links to my hard drive, whoops =) ]

[edit2: Oh, I should let you know that only Internet Explorer will make use of the XSL when displaying the XML for you, so don't bother clicking the links otherwise.]

[This message has been edited by Slime (edited 06-06-2002).]

synax
Maniac (V) Inmate

From: Cell 666
Insane since: Mar 2002

posted posted 06-06-2002 07:06

Heh, nice. I remeber my first experiences with XSL/XML. Ahh the memories. It hasn't been updated in a little while, but the XML can be found here and the XSL stylesheet here

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 06-07-2002 01:31

I recently discovered that only IE 6 correctly supports XSL. =)

I'm surprised my page doesn't work in Mozilla though. I'd expect Moz to be able to handle it... perhaps I did something wrong...

DmS
Paranoid (IV) Inmate

From: Sthlm, Sweden
Insane since: Oct 2000

posted posted 06-07-2002 09:41

Slime, if I'm not mistaken, mozilla needs the addition of CSS to the XML to display it properly.
Can't find the link just now, but here's some info on the subject:

quote:
Mozilla's XML support lives up to the XML specification, but does have a few quirks developers should know about. Mozilla ignores external parsed entities and entities declared outside of the actual document. If you want to use entities in Mozilla, you'll need to declare them in the internal subset. Entity references don't appear on screen as part of the content -- they just disappear. This behavior is perfectly legal, though it may seem inconvenient. Mozilla does provide a bin/dtd folder where you can put additional entities. This is used to provide support for things like MathML, but isn't a readily available option for most developers.



A lot more info here: http://www.xml.com/pub/a/2000/03/29/tutorial/
Hope it helps
/Dan

{cell 260}
-{ a vibration is a movement that doesn't know which way to go }-



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu