Jump to content

actually getting xml transformed on the web


insanity381

Recommended Posts

Hi. I'm Simon.I'm using XML + XSL tranformations to make a website. Doing it this way so I get consistency across pages and I want perfectly valid XHTML. Right?It's at www.insanity381.co.nr or http://insanity381.googlepages.com.I think it works fine on IE on WinXP, but now I'm using firefox 1.5 on mac os 10.4.5. When I click on that big enter link for the index.xml, it keeps saying it's a binary file and wants to download it. To try and get round this I did target=blank or something in my link but it still didn't work.I just want it to open normally in the web browser! Help!the four files are at:http://insanity381.googlepages.com/index.xmlhttp://insanity381.googlepages.com/games.xmlhttp://insanity381.googlepages.com/mainstyle.xslhttp://insanity381.googlepages.com/popupstyle.xslI'm quite new to this. Am I doing something wrong?!?!?!?!!? :)

Link to comment
Share on other sites

Most probably, google hasn't configured the XSLT MIME types, and because of this, Firefox (which cares about MIME types unlike IE) tryes to get the file instead of reading it.Try remaing your XSLT files with XML extensions. If that doesn't work... try using html extensions or something.

Link to comment
Share on other sites

Cheers for replying boen_robot...

Try remaing your XSLT files with XML extensions.
I did this... works fine when offline still, but same result online.
google hasn't configured the XSLT MIME types
Are you saying it's google's fault? Would it perhaps work if I moved to a different host? I was just using google temporarily, really...
try using html extensions or something.
What do you mean? Should I change the XSL's to mainstyle.html or something? Or the XML data?Thanks a load for replying... I wasn't expecting anyone to :)
Link to comment
Share on other sites

Well, try theese things (a different host for starters) and then we shall see.As for the html extension. I meant the XML and/or XSLT. In other words: don't know. I haven't got such problems.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...