In message <1143569818.027738.76770@g10g2000cwb.googlegroups.c om>,
CColvin <b_carmon_colvin@yahoo.com> writes
[color=blue]
>We plan on distirbuting the .xml files for our clients to view. So we
>uploaded the .xsl file to our webserver (ex:
>
www.mydomain.com/xml/style.xsl) Then in the .xml files we updated the
>style sheet reference from pointing to the local copy to the one on the
>webserver.
> was: <?xml-stylesheet type="text/xsl" href="style.xsl"?>
> now to: <?xml-stylesheet type="text/xsl"
>href="http://www.mydomain.com/xml/style.xsl"?>
>
>After this change was made the .xml appeared as it should on any
>machine that had a web connection when using IE. But it stopped
>working when viewing with Firefox. Firefox just displays the raw data
>as one string and when viewing the page source it appears just as the
>xml file does.[/color]
It may be a domain-crossing issue.
Try just using a local HREF from the XML to the stylesheet, rather than
an absolute one:
<?xml-stylesheet type="text/xsl" href="freddy.xsl"?>
This simple example certainly works for me in Firefox:
http://richardlight.org.uk/freddy.xml
Richard Light
--
Richard Light
SGML/XML and Museum Information Consultancy
Join Bytes!