Subject: Re: [xsl] links don't work when IE transforms XSL document From: Anton Triest <anton@xxxxxxxx> Date: Fri, 01 Oct 2004 13:17:03 +0200 |
Here are my results using your stylesheet -So far, the same results here.
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 linksYes, when I open the generated output file in the browser, the links work. It's only when I open the
were visible and worked as expected.
BUT note that you won't get that result just loading the output into IEUsing xml:output method="html" doesn't seem to make any difference (see below)
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.
I want to use the embedded stylesheet PI. Here's the original stylesheet: http://users.telenet.be/cking/webstuff/xdoc/xdoc.xsl
--- dummy.xml --- <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="anchors.xsl"?> <dummy/>
Thanks, Anton
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Xalan giving TransformerE, Brian J. Coan | Thread | Re: [xsl] links don't work when IE , Anton Triest |
RE: [xsl] XPatch: ancestor and coun, Michael Kay | Date | Re: [xsl] Xalan giving TransformerE, Anton Triest |
Month |