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

RE: links don't work when IE transforms XSL document

Subject: RE: links don't work when IE transforms XSL document
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Thu, 30 Sep 2004 17:47:42 -0400
links don t work
> From: Anton Triest [mailto:anton@xxxxxxxx]
> Hi Emmanouil,
>
> Thanks for that link, I didn't know such a tool existed. Now, if I run
> my stylesheet against a dummy.xml,
> or against itself, I get the same result html. Yet, in the second
case,
> the links don't work..  (and not only
> on my machine, because the problem was reported to me by a user of my
> xdoc stylesheet)

Here are my results using your stylesheet -

1) Running the transform with msxml3 produced identical results for the
source document consisting of "<root/>", and the source document
consisting of the stylesheet.  I compared them using examdiff, and they
were exactly the same, as one would expect.

2) In both IE6sp1 and Firefox 0.9.2 in Win2000 sp4, the internal links
were visible and worked as expected.

BUT note that you won't get that result just loading the output into IE
from the file system, at least not if it has a file extension of ".xml".
IE knows nothing about xhtml, and needs to see a .html extension, in
which case IE treats the file as an ordinary html file.  Otherwise it
displays it as xml, which would certainly cause someone to say that they
did not see any links.

I suspect your problem is either the file extension or the MIME type the
file is served with.  IE will try to figure out the file type based on
the MIME, extension, and also the file contents.  I don't know how you
are serving it, but perhaps the combination of the declared type plus
something else causes the difference.  Do you use on embedded stylesheet
PI to specify the stylesheet, or do you transform it separately before
serving it to the browser?  You should look into those factors, and also
explain clearly exactly what was observed instead of the expected
results.

Cheers,

Tom P

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.