Topic: xsl can't take effect Pages that link to <a href="https://ozoneasylum.com/backlink?for=22060" title="Pages that link to Topic: xsl can&amp;#039;t take effect" rel="nofollow" >Topic: xsl can&#039;t take effect\

 
Author Thread
howell2004
Neurotic (0) Inmate
Newly admitted

From:
Insane since: Jun 2004

IP logged posted posted 06-05-2004 16:41 Edit Quote

<?xml version="1.0" ?>
<?xml-stylesheet href="poem3.xsl" type="text/xsl"?>
I references xsl file in xml file, validate in xmlspy, but the style sheet can't take effect in both IE6 and XMLSPY.

What is wrong?

Thanks

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

IP logged posted posted 06-05-2004 21:55 Edit Quote

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

howell2004
Neurotic (0) Inmate
Newly admitted

From:
Insane since: Jun 2004

IP logged posted posted 06-06-2004 10:37 Edit Quote

THANK YOU FOR YOUR REPLY

MY XML AND XSL IS AS FOLLOWING:
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/xsl" href="hello.xsl"?>
<greeting>Hello, world!</greeting>


#########################################

HELLO.XSL

<?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>
<head>
<title>Today's greeting</title>
</head>
<body>
<p><xsl:value-of select="greeting"/></p>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

IN MY IE6 AND XMLSPY, I CAN VIEW BOTH FILE AS XML FILE, BUT I CAN'T SEE THE XSL TAKE EFFECT. IS THERE ANY SWITCH IN IE6?

THANKS

MajorFracas
Nervous Wreck (II) Inmate

From:
Insane since: Jul 2003

IP logged posted posted 06-07-2004 16:26 Edit Quote

I just tried your code above in IE6 and FireFox 0.8 on Windows XP and both worked for me...

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

IP logged posted posted 06-08-2004 17:10 Edit Quote

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

MajorFracas
Nervous Wreck (II) Inmate

From:
Insane since: Jul 2003

IP logged posted posted 06-08-2004 19:51 Edit Quote

Brilliant! I bet your right.

(I see that howell2004 has an inclination to use CAPS, so maybe you're on to something... )

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

IP logged posted posted 06-09-2004 01:51 Edit Quote

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

MajorFracas
Nervous Wreck (II) Inmate

From:
Insane since: Jul 2003

IP logged posted posted 06-09-2004 16:47 Edit Quote

Sorry. No slam intended.

howell2004
Neurotic (0) Inmate
Newly admitted

From:
Insane since: Jun 2004

IP logged posted posted 06-11-2004 07:59 Edit Quote

I try the xml and xsl with Mozilla, it works. It seems that some component shared by IE6 and XMLSPY corrupted as you guess.

But Mozilla seems can't parse xsl with chinese character.

Thanks.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

IP logged posted posted 06-11-2004 17:19 Edit Quote

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.



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


« BackwardsOnwards »

Show Forum Drop Down Menu