GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #11  
Old 17-Apr-2003, 09:08
pcxgamer's Avatar
pcxgamer pcxgamer is offline
Senior Member
 
Join Date: Sep 2002
Location: South Carolina, USA
Posts: 1,095
pcxgamer is a jewel in the roughpcxgamer is a jewel in the roughpcxgamer is a jewel in the rough
I'm not sure why its not working then I'll have to look. I'm at work right now and here I have 5.5 IE and it doesn't work here but I called home and had it looked at there on IE 6 and it worked fine. So I'm not sure I'll have to take a look at the code a little later and maybe upload the files again and see.
__________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.
  #12  
Old 21-Apr-2003, 07:34
pcxgamer's Avatar
pcxgamer pcxgamer is offline
Senior Member
 
Join Date: Sep 2002
Location: South Carolina, USA
Posts: 1,095
pcxgamer is a jewel in the roughpcxgamer is a jewel in the roughpcxgamer is a jewel in the rough
Cool

Ok I made a mistake the XML will now work for IE 5 and 5.5 but it will no longer work with 6. Ok so let me explain why when IE 5 and even 5.5 were released XSL wasn't a web standard but was still being drafted it was until IE 6 that it was a standard so in any XSL document there is a Style Sheet Declaration the declaration for IE 5 and 5.5 is different then in IE 6 so the correct declaration has to be there in my examples I was using the IE 6 declaration so it wouldn't show in IE 5 I have changed it to the IE 5 declaration. It shows up here at work for me but I don't have IE 6 but I'm think that it will not show up in IE 6 with the declaration that I have on it. So check it out and let me know.

New XML
__________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.
  #13  
Old 21-Apr-2003, 15:33
jrobbio's Avatar
jrobbio jrobbio is offline
Regular Member
 
Join Date: Jan 2003
Location: Loughborough, England
Posts: 840
jrobbio will become famous soon enough
This is what I see if I check it out in IE6

http://www.topfunwebsites.com/xsltest2.gif
  #14  
Old 22-Apr-2003, 06:15
pcxgamer's Avatar
pcxgamer pcxgamer is offline
Senior Member
 
Join Date: Sep 2002
Location: South Carolina, USA
Posts: 1,095
pcxgamer is a jewel in the roughpcxgamer is a jewel in the roughpcxgamer is a jewel in the rough
As far as I can tell IE 6 can use this declaration but using this declaration will not be allow if I use some of the advanced option Of XSL like sort. BUt on the other hand if I use the correct declaration then IE 5 using can't see XSL. But what you see there is how it should look.
__________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.
  #15  
Old 22-Apr-2003, 06:35
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
This bit here...

HTML Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <body> <h2>Game List</h2> <table border="1"> <tr bgcolor="#9acd32"> <th align="left">Title</th> <th align="left">Developer</th> </tr> <xsl:for-each select="gamelist/game"> <tr> <td><xsl:value-of select="title"/></td> <td><xsl:value-of select="developer"/></td> </tr> </xsl:for-each> </table> </body> </html> </xsl:template> </xsl:stylesheet>

wouldn't it have to be XHTML compliant?

Meaning, the DOCTYPE DECLARATION for example, shouldn't it be there; or doesn't it matter?
  #16  
Old 22-Apr-2003, 07:59
pcxgamer's Avatar
pcxgamer pcxgamer is offline
Senior Member
 
Join Date: Sep 2002
Location: South Carolina, USA
Posts: 1,095
pcxgamer is a jewel in the roughpcxgamer is a jewel in the roughpcxgamer is a jewel in the rough
As far as I can tell and I'm still researching this question in full and still myself trying to learn about XSL and XML the document isn't a true XHTML page. I'm look into the question but I may have to revise my article a little when I was learning about XSL and XML I was told that in this example that is an XHTML page but the w3.org say that in fact it isn't compliant with XHTML. But I'm thinking that maybe I was told wrong and that the document is truly a html/xml page. If this is what it turns out to be I will have to edit and correct the first part of the article.
__________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.
Last edited by pcxgamer : 22-Apr-2003 at 08:13.
 
 

Recent GIDBlogAccepted for Ph.D. program by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] XSL Basics Pt. III pcxgamer Web Design Forum 1 24-Apr-2003 09:04
[Tutorial] XSL Basics Pt. II pcxgamer Web Design Forum 0 21-Apr-2003 08:11
[Tutorial] MySQL Basics nniehoff MySQL / PHP Forum 15 23-Mar-2003 20:42

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 10:48.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.