Subject: RE: [xsl] links don't work when IE transforms XSL document From: "Passin, Tom" <tpassin@xxxxxxxxxxxx> Date: Thu, 30 Sep 2004 17:47:42 -0400 |
> 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] links don't work when IE , Anton Triest | Thread | [xsl] Drop down menu populated by x, Aaron Johnson |
Re: [xsl] top level xsl:param confu, david_n_bertoni | Date | Re: [xsl] exsl:document help, Werner, Wolfgang |
Month |